Difference between revisions of "Manual:DIL Manual/cmdstr"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="cmdstr"></span>
 +
'cmdstr'
 +
    This variable is a string which contains the "command" which was entered
 +
    by a player. The result of adding:
  
 +
      cmdstr + " " + argument
  
 +
    is the entire string as entered by the player.
 +
    The 'cmdstr' is EXPANDED by the interpreter, so assume a player
 +
    types 's' then the string is expanded to 'south'.
 
<span id="cmdstr"></span>
 
<span id="cmdstr"></span>
 
  'cmdstr'
 
  'cmdstr'

Latest revision as of 22:35, 4 December 2025

'cmdstr'
   This variable is a string which contains the "command" which was entered
   by a player. The result of adding:
      cmdstr + " " + argument
   is the entire string as entered by the player.
   The 'cmdstr' is EXPANDED by the interpreter, so assume a player
   types 's' then the string is expanded to 'south'.

'cmdstr'
   This variable is a string which contains the "command" which was entered
   by a player. The result of adding:
      cmdstr + " " + argument
   is the entire string as entered by the player.
   The 'cmdstr' is EXPANDED by the interpreter, so assume a player
   types 's' then the string is expanded to 'south'.