combo_stop - Stop a combo
combo_stop(<COMBO_IDENTIFIER>);
Stop the execution of the combo declared as <COMBO_IDENTIFIER> and sets the combo state to its initial state.
main { // While BUTTON_2 is held-down ... if(get_val(BUTTON_2)) { // ... keep the combo "Example" running in an endless loop. combo_run(Example); } else if(Example) { // Else if combo "Example" is running ... // ... stop it immediately. combo_stop(Example); } } combo Example { set_val(BUTTON_4, 100.0); wait(50); set_val(BUTTON_8, 100.0); wait(50); set_val(BUTTON_16, 100.0); wait(50); }