scmJS docs

Set Switch

Sets, clears, toggles or randomizes the switch. Randomize sets or clears it at random.

Action 13 · Set Switch(Switch, Action);

Argument Takes Stored in the action
Switch one of the 256 switches bytes 20–23
Action set, clear, toggle or randomize byte 27
Set Switch("Switch 1", set);