Download Game! Currently 74 players and visitors. Last logged in:SolvikPotionCaitlineShiga

BatMUD Forums > Ideas-wanted > Parser

 
 
#1
26 Feb 2011 02:41
 
 
command is useful, and arguments like $*, $1, $2 are powerful.
wouldn't it be even better to be able to support a default argument as well?

For example:

command lt light $*{torch}

this would light whatever $* is, but light torch if no argument is supplied

-Ntyt

 
Rating:
19
Votes:
19
 
 
Ntyt
10d, 14h, 32m, 44s old
Level:
36