|
MARTINX Beginner
Joined: 11 Oct 2000 Posts: 13
|
Posted: Tue Nov 04, 2003 6:12 pm
problem with aliases expanding in variables |
I'm using zmud 6.16 and I have this variable @SPECIAL stored in a macro (alt-spc), now let's say I have "cast 'hold person'" aliased as "chp" and i want to set this @SPECIAL var to "chp target", it works fine, when i press alt+spc it expands to "cast 'hold person' target", now anyone can tell me why it doesn't work in newer versions of zmud? The alias chp stored in the variable @SPECIAL (chp target) doesn't expand unless the variable contains ONLY the alias (chp)
|
|
|
|
Cykops Beginner
Joined: 07 Apr 2003 Posts: 20 Location: Sweden
|
Posted: Tue Nov 04, 2003 10:06 pm |
use "#exce @special" in your button and it will work
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Nov 04, 2003 10:22 pm |
I don't know why it doesn't work in newer versions. Most likely, it was changed as a bugfix. If you looked through the version history, you might be able to find it and that might help you understand why. But I suspect what you really wanted to know was how to make it work, not why it doesn't.
#KEY ALT-SPC {%exec( @SPECIAL)} |
|
|
|
|
|