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
Brak
Newbie


Joined: 24 May 2007
Posts: 1

PostPosted: Fri May 25, 2007 9:37 am   

Problems with Variable expansion in Multistate buttons
 
Hi folk!
I'm having some problems with the configuration of my zmud7.21 imported to cmud. here is the situation:

Classexample
subclass1
subclass2
MultistateButton
state1
#class {@clase} 0
#var clase {subclass1}
#class {@clase} 1
state2
#class {@clase} 0
#var clase {subclass2}
#class {@clase} 1
clase <-- variable

If i write #var clase from the prompt I get this:

Variable: + clase (String) subclass1

and writing #echo @clase I get

subclass1


But if I write those two lines in each state of the multistatebutton : #var clase and #echo @clase when i click them get this information:

Variable: + clase (String) 1

1

Any one can help me? dont undertand why from the command/prompt line i get the correct value and placing the code inside a macro/alias/multistatescript not.

maybe is a dummy error but i've been dealing with it for time without realizing the way of correct it.


thx in advance
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