README.txt
groovy/scripts/README.txt · 814 B
From the archive groovymud-0.3.4-alpha-bin.tar.gz
Download the archive « Back to the archive contents
Scripts ======= This directory contains command scripts. The following variables are bound to the scripts via the GroovyScriptEngine: "mudSpace" - a string containing the directory of the mud "scriptSpace" - a string containing the directory location of this scripts directory "source" - the object that is performing the command (a MudObject or an Alive object) "args" - a list containing the arguments passed in to this command as an array of strings "argstr" - a var containing all the arguments as one long string "registry" - the Registry singleton object "attendant" - the MudObjectAttendant singleton object "interpreter" - the command interpreter singleton object Access to these directories is determined by MudPrincipal objects associated with the user that is logged in. See