Skip to content

Feature request: Dynamic script handling (xStartScript, xStopScript, xScriptRunning) #9

@Nakashio

Description

@Nakashio

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions