btn.onRelease = function() { myThing(); yourThing(); hisThing(); }
When you press the button, those three functions will get executed. If you want to change what functions get executed at runtime, just repeat that sentence above. So if you have something like :
btn.onRelease = function() { myThing(); yourThing(); hisThing(); }
setTimeout(changeFunctions,5000);
function changeFunctions(){
btn.onRelease = function() { myThing(); yourThing(); }
}
When you press the button, three functions get executed. After five seconds, if you press the button again only two of those functions get executed. I think you got my point.
I really like what you did in that script, but i always choose the “easiest” way 
Posted 2 months ago