|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: 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> |
|
|
|
|
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: 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.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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.
|
|
|
|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Mon Sep 10, 2007 12:16 am |
Looks like Fang most right. #SAY %-1 works.
|
|
|
|
|
|