Functionality Articleshouse_modes module subscribe(script_name[, events_filter]) unsubscribe() switch(mode_id) cancel_switch() get_current() get_modes() get_mode(mode_id) find_mode_by_name(mode_name)