Multible toggle in E2 with interval

any one know how to make a toggle switch with 3 - 4 outputs on a E2 with interval on it. i cant afford to take the interval out and i dont really want 2 E2s on this.


if (!clk()) {
#Do Stuff
}

Edit:
clk() returns 1 if the current execution was caused by interval(N)
tickClk() returns 1 if the current execution was caused by runOnTick(1)
clk(S) returns 1 if the current execution was caused by a timer with the name S

Edit 2:
OR


if (Button & ~Button) {

~ returns 1 if the current execution was caused by an input (the button in this case)