I’ve noticed that a lot of zscripts operate without showing the actions to the user, even if show actions is enabled in the zscript palette.
How do I do this for my own scripts? I’m working on one where showing actions would just slow things down dramatically, and I don’t want to require the user to uncheck show actions each time before running the script. I thought I could just do [ISet, ZScript:Show Actions, 0] at the beginning of the script then just set it back if it was set in the first place. That works, but then I have an unnecessary show action at the beginning for disabling show actions, and the script could also fail to restore the state if the user stops it mid-way.