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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
sonic76
Newbie


Joined: 20 Feb 2004
Posts: 8
Location: USA

PostPosted: Sun Nov 26, 2006 5:09 am   

[1.16] #alias's don't work correctly
 
In zmud, if you do:
Code:
#alias pe {party emote}

Then type:
pe chuckles and nods.
you would get
(Party) Tristan chuckles and nods.

In cmud if you do the same, you get an error. Same with
Code:
#alias k kill

In zmud you can now type k monster, and start attacking.
In Cmud you do the same, and type k monster and get Kill what?!.

Any ideas?

I tried doing:
Code:
#alias pe {party emote %1}

and that didn't work either. That only let me say 1 word after party emote.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Nov 26, 2006 6:42 am   
 
You need to include the %-1 in your aliases or start using the the new %params function.

The programming's a bit more structured in CMUD so while zMUD use to automatically tack it on, in CMUD you need to specify it.
_________________
Asati di tempari!
Reply with quote
darkspot
Apprentice


Joined: 29 Jul 2002
Posts: 105

PostPosted: Sun Nov 26, 2006 6:42 am   
 
#alias pe {party emote %params}
#alias pe {party emote %-1}

either of the above will work
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 26, 2006 8:16 am   
 
There's also a compatability option if you really want it so you don't have to update all your aliases for them to work. It's a checkbox labelled "Auto Append" and it's next to the Params box near the bottom of the editor. Settings imported from zMUD have this enabled. I do suggest you update them at some point, though.
Reply with quote
jg1lbert
Wanderer


Joined: 09 Nov 2006
Posts: 55

PostPosted: Mon Nov 27, 2006 3:16 pm   
 
Rolling Eyes , I'm lazy or indifferent or never noticed any checkboxes!

I like that aliases need definition of %-1 now. It just defines them a little clear and concise in my opinion
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Nov 27, 2006 3:50 pm   
 
I prefer %params to %-1, it's more intuitive. I don't use %nn for ANYTHING any more :D
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
sonic76
Newbie


Joined: 20 Feb 2004
Posts: 8
Location: USA

PostPosted: Mon Nov 27, 2006 4:14 pm   Cool that fixed it~
 
Thanks all for the very speedy response, that seemed to fix it.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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