|
gmueller Apprentice
Joined: 06 Apr 2004 Posts: 173
|
Posted: Tue Aug 07, 2007 11:14 pm
[1.34] expand not working? |
#VAR zuggsoft "Zugg's virtual home."
#VAR email "zugg@zuggsoft"
#SHOW w/o expand: @email
displays:w/o expand: zugg@zuggsoft
the %expand options all display the same thing. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Aug 07, 2007 11:45 pm |
There's definitely something going on here, although I don't think %expand works quite the way you think.
In zMUD both commands display "zuggZugg's virtual home."
#SHOW @email
#SHOW %expand(@email)
In CMUD this is not the case. Both commands behave as you describe. Even specifying the optional integer parameter for number levels seems to have no effect.
As a workaround, the follow command gives the result you expect (i.e. "zuggZugg'svirtualhome.")
#SHOW %eval(@email) |
|
_________________ Asati di tempari! |
|
|
|
gmueller Apprentice
Joined: 06 Apr 2004 Posts: 173
|
Posted: Wed Aug 08, 2007 12:05 am |
I tried that but it only seems to do one level of recursion with that...
|
|
|
|
|
|