On this page: https://github.com/ThePix/QuestJS/wiki/Template:-BUTTON-and-SWITCHABLE
the cases for doSwitchoff() are incorrect
The docs say: doswitchOff() but this is what worked for me: doSwitchoff()
thanks, Steve
Corrected, thanks.