MSS
Syntax: #MSS script language
Execute script using the Microsoft Script control (VBScript, Javascript). Any other scripting language that can be loaded into the scripting control can be used. If language is not specified it defaults to VBScript. Any zMud variables in script are expanded before execution.
If script is omitted the script control object is reset, which removes all variables, functions, etc.
This command waits for the script to finish executing. Triggers will still process, but the zScript block that called #MSS with be held.
Examples:
#VAR X 2
#MSS {x=@X:msgbox x}
Pops up a message box displaying 2
#SHOW x:%mss(x)
#MSS
#SHOW x:%mss(x)
Displays "x:2" then "x:" |