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


Joined: 21 Dec 2004
Posts: 3

PostPosted: Tue Dec 21, 2004 10:05 am   

Priority on triggers and buttons question.
 
I have buttons setup that change depending on variables set from triggers (Gagues, ect....). Unfortunatly, the Buttons update BEFORE the trigger can change the variables the buttons use. Anyway to give the triggers higher priority than the buttons?
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Tue Dec 21, 2004 10:08 am   
 
just set the button name to %if(@variable, "blah","not blah")

? then the buttons will change with the variable
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
Reply with quote
Fredyuk
Newbie


Joined: 21 Dec 2004
Posts: 3

PostPosted: Tue Dec 21, 2004 11:39 am   
 
It still doesnt work. It still waits until the second time the trigger fires to update the button text.
Reply with quote
Fredyuk
Newbie


Joined: 21 Dec 2004
Posts: 3

PostPosted: Tue Dec 21, 2004 12:00 pm   
 
never mind, i figured out another way around it. I realized it wasn't the trigger firing that changed it, it was each line of text in from the MUD. So, i changed my command prompt in the MUD to have a third line in it, which causes the Buttons to change at apparently the same time as the trigger fires off.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue Dec 21, 2004 1:31 pm   
 
Or instead of ading a third line you just add the PROMPT option and remove the CR option.
_________________
Zmud Support Library
Zmud Knowledge Base
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