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
Salaric
Beginner


Joined: 10 Jun 2008
Posts: 17

PostPosted: Wed Jun 17, 2009 4:44 pm   

Firing off a variable change
 
Is there a way to have an action occur when a variable changes? I've been using IF statements and what I will need is a 'WAIT UNTIL' command that will wait until that variable changes then continues on with the next action. Any thoughts?
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Wed Jun 17, 2009 5:26 pm   
 
Look at the expression triggers (set trigger type to the "Expression" instead of default "pattern").
Quote:
Expression.
The Pattern field is an Expression. When this Expression evaluates to True, then the trigger fires. The trigger is only tested when variables used in the expression change their values.
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
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