Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
jwr
Wanderer


Joined: 11 Nov 2000
Posts: 61
Location: USA

PostPosted: 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
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: 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
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
jwr
Wanderer


Joined: 11 Nov 2000
Posts: 61
Location: USA

PostPosted: Sat Oct 10, 2009 6:01 pm   
 
Will it still work w/o a target? ("ct" by itself)
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Oct 10, 2009 6:12 pm   
 
Yes
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net