A simple snippet that allows the user to use a simple plugin command or script call to set all self switches of a given key.
Alternately you could use a script call.
The plugin command is not case sensitive.
For example
SetAllSelfSwitches a true <-- This will set the self switch 'A' of every possible event to true (Plugin command)
$gameSelfSwitches.deactivateAllKeys('B') <--- This will set all self switch 'B's to false (Script call)
$gameSelfSwitches.activateAllKeys('B') <--- This will set all self switch 'B's to true (Script call)
I don't recommend setting all switches on, as it can cause lag or save file bloating. However, turning them all off should be reasonably efficient, so do so instead whenever possible.