Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Miscellaneous
  #CR
  #EXECUTE
  #FTP
  #HELP
  #NOOP
  #SCRIPT
  #SEND
  #SENDPROMPT
  #SS
  #VERSION
  #WAIT
  #WIZLIST
Command Reference
  #
  #ABORT
  #ACTION
  #ADD
  #ADDITEM
  #ADDKEY
  #AFK
  #ALARM
  #ALIAS
  #ALL
  #BACKUP
  #BEEP
  #BREAK
  #BUTTON
  #C-
  #C+
  #CALL
  #CAPTURE
  #CASE
  #CHARACTER
  #CLASS
  #CLOSE
  #CLR
  #COLOR
  #COM
  #CONDITION
  #CONFIGURE
  #CONNECT
  #CR
  #CW
  #DBCLOSE
  #DBDELETE
  #DBFIRST
  #DBGET
  #DBLOAD
  #DBNEXT
  #DBOFFLINE
  #DBONLINE
  #DBPREV
  #DBPUT
  #DBRESET
  #DBSAVE
  #DDE
  #DEFAULT
  #DELCLASS
  #DELITEM
  #DELKEY
  #DELNITEM
  #DESCRIBE
  #DIRECTION
  #DISCONNECT
  #DOOR
  #ECHO
  #ECHOPROMPT
  #EDITOR
  #ERASE
  #EVALUATE
  #EXECUTE
  #FILE
  #FIND
  #FORALL
  #FREEZE
  #FTP
  #FUNCTION
  #GAG
  #GAGBLOCK
  #GAGOFF
  #GAGON
  #GALIAS
  #GAUGE
  #GVARIABLE
  #H-
  #H+
  #HELP
  #HIGHLIGHT
  #HISTORY
  #HOST
  #IF
  #IGNORE
  #IMAGE
  #INPUT
  #KEY
  #KILLALL
  #LAUNCH
  #LMAP
  #LOAD
  #LOG
  #LOOK
  #LOOP
  #LOOPDB
  #LOOPVIEW
  #MAKEROOM
  #MAKEWINDOW
  #MAP
  #MAPQUERY
  #MARK
  #MATH
  #MEDIA
  #MENU
  #MERGE
  #MESSAGE
  #MOVE
  #MSS
  #MXP
  #MXPTRIG
  #NAME
  #NEW
  #NODEF
  #NODIR
  #NOMAP
  #NOOP
  #OK
  #ONINPUT
  #PATH
  #PATHHIGH
  #PAUSE
  #PCOL
  #PICK
  #PLAY
  #PLUGIN
  #PORTAL
  #PRIORITY
  #PROMPT
  #PSUB
  #PW
  #QUERY
  #QUEUE
  #READ
  #RECALL
  #RECORD
  #REGEX
  #RENAME
  #REPEAT
  #RESET
  #RESUME
  #RETRACE
  #SAVE
  #SAY
  #SAYPROMPT
  #SCRIPT
  #SCROLL
  #SEND
  #SENDPROMPT
  #SESSION
  #SET
  #SETPROMPT
  #SHOW
  #SHOWARR
  #SHOWDB
  #SHOWPROMPT
  #SLOW
  #SS
  #STATE
  #STATUS
  #STEP
  #STOP
  #STWIN
  #SUBSTITUTE
  #SUSPEND
  #T-
  #T?
  #T+
  #TAB
  #TAG
  #TELEPORT
  #TEMP
  #TIMER
  #TRIGGER
  #TSET
  #TYPE
  #TZERO
  #UNALIAS
  #UNBUTTON
  #UNCLASS
  #UNDIR
  #UNGAG
  #UNKEY
  #UNMENU
  #UNPORTAL
  #UNTAB
  #UNTIL
  #UNTRIGGER
  #UNVAR
  #UNWATCH
  #URL
  #VARIABLE
  #VERBATIM
  #VERSION
  #VIEW
  #WAIT
  #WALK
  #WATCH
  #WHILE
  #WINDOW
  #WIZLIST
  #WRAP
  #WRITE
  #YESNO
#MSS [[#MSS]] 
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:"
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net