- Scripting capability has been added by using the VBscript or JScript languages
supplied by Microsoft. You can also use PerlScript. You can optionally use
any of those languages as the script language, per world. See script configuration
example below ...
- Scripts can do more complex things than are normally possible, such as reacting
in an intelligent way to events.
- To support scripts which remember things from one session to another, MUSHclient
has program "variables" which are stored in the game configuration
file. The scripting language can set or retrieve these variables, so that you
could (for example) build up a database of the types of monsters you encounter.
- Script subroutines can be invoked from: world open, world close, world connection,
world disconnection, trigger match, timer event, and alias match.
- Script commands can also be typed from the command window, if prefixed by a
user-specified character. eg. /world.close
- The script language has access to world details, so that from within a script
you can: send to the world, find world status (open or closed), find the world
name, set and retrieve variable contents, add triggers, timers and so on.
- There is a list of all inbuilt script functions
Comments to Gammon Software support
Page updated on Tuesday, 6 December 2005