|
jwr Wanderer
Joined: 11 Nov 2000 Posts: 61 Location: USA
|
Posted: Sat Oct 10, 2009 5:12 pm
Basic alias problem |
Old zMudder trying cMud...
The zMud way:
#va target Bob
alias: ct
script: cast 'chill touch'
output: cast 'chill touch'
alias: ctt
script: ct @target
output: cast 'chill touch' Bob
The cMud way:
#va target Bob
alias: ct
script: cast 'chill touch'
output: cast 'chill touch'
alias: ctt
script: ct @target
output: cast 'chill touch'
Why won't it add the variable on the end? Should I be using a new syntax?
Thanks,
jwr |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Oct 10, 2009 5:51 pm |
The way alias' are handled in cmud has changed slightly
Your CT alias either needs to read
script: cast 'chill touch' %1
or you have to open the settings editor and check the auto append option for the CT alias |
|
|
|
jwr Wanderer
Joined: 11 Nov 2000 Posts: 61 Location: USA
|
Posted: Sat Oct 10, 2009 6:01 pm |
Will it still work w/o a target? ("ct" by itself)
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sat Oct 10, 2009 6:12 pm |
Yes
|
|
|
|
|
|