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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
MARTINX
Beginner


Joined: 11 Oct 2000
Posts: 13

PostPosted: 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)
Reply with quote
Cykops
Beginner


Joined: 07 Apr 2003
Posts: 20
Location: Sweden

PostPosted: Tue Nov 04, 2003 10:06 pm   
 
use "#exce @special" in your button and it will work
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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)}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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