Open main menu

UESPWiki β


ScriptRunning

                ScriptRunning, ScriptName

       Where:   ScriptName = Name of the script to check

        Type:   Script

     Returns:   short

     Example:   if ( ScriptRunning, CharGen == 1 )

     Scripts:   Main

Returns 1 if the given script is running as a global script, or 0 otherwise.

See Also: StartScript, StopScript