Next Previous Contents

6. New built-in variables

6.1 The excmdstr

Field: excmdstr Type: string

This variable is a string which contains the "first string" which was entered by a player. The result of adding:

excmdstr + " " + argument

is the entire string as entered by the player. The 'excmdstr' is not EXPANDED by the interpreter, but it is converted to lower case. So assume a player types 'S' then the string is returned as 's'. The 'excmdstr' is however changed to all lower case if you don't want it to be changed to lower case see 'excmdstr_case'.

6.2 The excmdstr_case< label id="sect-excmdstr_case">

Field: excmdstr_case Type: string

This variable is a string which contains the "first string" which was entered by a player. The result of adding:

excmdstr_case + " " + argument

is the exact string as entered by the player. The 'excmdstr' is not changed in anyway from how a player types it. If a player types 'S' then the 'excmdstr_case' will have 'S' in it.


Next Previous Contents