Adept Posted March 28, 2017 Posted March 28, 2017 (edited) I am attempting to stop the current script and start another one. ScriptExecutor in the API seems to provide the right methods, however I can't tell how to make proper use of them. What does "suspending" a script do? Should I "prepare" a script before starting it? Why does the "setRunningScript" method accept a boolean as a parameter? And most importantly, what's the proper way of stopping one script and starting another one? Edited March 28, 2017 by Adept
Team Cape Posted March 29, 2017 Posted March 29, 2017 similar question asked recently - please look through recent questions before asking one. i've found more useful information through google searching old questions than by asking because 95% of the time the same questions have already been asked.
Juggles Posted March 29, 2017 Posted March 29, 2017 Tbh it's just easier to put it all in one script and not worry about this
Alek Posted March 29, 2017 Posted March 29, 2017 Most of what you are asking for is either deprecated or says "Do not use this". As others have suggested, try taking a look at CLI.