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
freagin
Newbie


Joined: 16 Jun 2007
Posts: 6

PostPosted: Fri Jun 29, 2007 2:23 am   

Alias confusion
 
Hi,

This should be simple, but i can't get it to work right. In zmud, when i created a alias for a spell i could, for example, put cur for the name and 'cast curse' for the text, then in the mud, type:

cur knight

and get:

cast curse knight


Now I'm creating a similar alias in cmud (for the first time). pl for the name, 'cast plague' for the text, and i get:

pl kinght

cast plague

I've tried doing it manually:

#ALIAS pl 'cast plague'

But no luck. Any ideas? Thanks!
Reply with quote
freagin
Newbie


Joined: 16 Jun 2007
Posts: 6

PostPosted: Fri Jun 29, 2007 2:28 am   Alias confusion....found my answer
 
ok, figured out

Had to do:
#ALIAS pl {cast plague %params}

.. instead.

Thanks anyway. Very Happy
Reply with quote
Fuego Ledrey
Wanderer


Joined: 09 May 2007
Posts: 64
Location: Dustin Acres, California

PostPosted: Fri Jun 29, 2007 3:42 am   
 
There's also an option to Auto Append stuff. In the package editor when you select your alias, on the bottom left hand corner there is a button that is labeled "More" with a little plus sign next to it. Click that, then to the right there is a check box that is labeled Auto append. If you check this box then your alias will work, i.e. cur knight. There is also the %-1, instead of %params, or simply %1 if it's always going to be one word. Hope this helps. Any questions, do ask.
_________________
EDIT: Image moved to Avatar FINALLY.
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