Script Command Wishlist

StormFront Scripting Commands: http://www.play.net/playdotnet/play/stormfront_scripting.asp GenieFE Scripting Commands: http://genieclient.com/scripting.htm or http://www.genieclient.com/wiki/index.php?title=ScriptingManual

ActionDoc

GETEXP
Command: getexp 

Example: getexp "heavy edged" HEEXP

Value: - Return requested exp to variable as string

HEEXP in above example would equal "Heavy Edged:476 34.37%:clear:(0/34)" Delimite string in some manner, colon, semi-colon? Force and or allow for multi word experience values as in "Heavy Edged"

--

SETPREF
Command: setpref Example: setpref putwait on

Settings: - putwait - Waits before putting the second of consequtive puts. - storematch - Stores matches for matchre or match in %1, %2, %3, etc Value: - on	- off

--

INCLUDE {script}
Command: include Example: include exp.cmd Source: Genie FE

The command INCLUDE will include another script and continue when that script has been finished. When label's conflict, the label within the same script as is being goto/call'd will be used. Otherwise the closest parent script label will be used.

Example:

exp.cmd: put exp %exp

main.cmd setvariable 1 mech include exp.cmd

SCRIPTPAUSE/SCRIPTUNPAUSE {script}
Command: scriptpause Command: scriptunpause Command: scriptpause others Command: scriptpause all

This command would allow the pausing of a currently running script, to allow for interrupt-style scripts without having to reinit long or cumbersome scripts. This also allows for calling a pause function in a script instead of an exit in event of a temporary error.

The special cases 'others' and 'all' allow for an interrupt-style script to pause all other running scripts, or all scripts.

SCRIPTLIST
Command: scriptlist

This command simply outputs a list of the currently running scripts on that account, for use in programmatic manipulation.