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
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sun Sep 09, 2007 9:19 am   

%expand usage
 
Not entirely sure anymore if this was an issue in 1.34, but in case it was I decided to ask here.

Does %expand behave differently in CMUD than in zMUD? I have an alias that is using %expand(%-1) that parses all the text entered after the alias in zMUD, but not in CMUD.

Code:
<alias name="shout">
<value>#say %expand(%-1)</value>
</alias>
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sun Sep 09, 2007 12:24 pm   
 
You might want to give us some sample text entered and the expected result (or what zMUD gives as the result) plus what the actual CMUD result is.
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sun Sep 09, 2007 12:26 pm   
 
Depends what you mean by "parses all the text". Many (most?) of the uses of %expand are deprecated in CMUD. You'll probably find whatever you want to do works without it.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Mon Sep 10, 2007 12:16 am   
 
Looks like Fang most right. #SAY %-1 works.
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