GVARIABLE

Syntax: #GVAR variable value [defaultval] [classname]

Assigns the specified value to a global variable. You do not need to specify the @ variable character. This allows you to define variables independent of the user's variable character setting.

If a defaultval is specified, the variable is initialized to that value when the settings are loaded or the RESET command is used. To specify no default, leave this parameter out or use the _nodef value.

When a @variable reference is used, zMUD first checks the local character settings for a variable with the correct name. If none is found, then zMUD looks for a global variable with the correct name.



Contents GAUGE H-