New MWSE functions:
-
The ability to launch a script with xStartScript scriptid [string] would be quite powerful, after a fashion. Optionally, this could potentially have a return value: 1 if successful and 0 if scriptid is missing (or, perhaps, xScriptIDExists could be added instead).
-
xScriptRunning scriptid [string] (or xIsScriptRunning) as a complementary function. Returns 1 or 0.
-
xStopScript scriptid [string] as a complementary function. Could return 1 or 0 to indicate success as per xStartScript.
Possible suggestion: xStopScript -1 will target the current (calling) script. This one is mostly a shorthand and avoiding needing to replace such calls after script names are changed.