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
bebamedo
Novice


Joined: 02 Aug 2006
Posts: 32

PostPosted: Mon Apr 05, 2010 9:43 pm   

order of firing of triggers
 
Just a plea for explanation on the order of firing of triggers.
Lets say I have following structure

#TRIGGER BASIC
FOLDER A
#TRIGGER 1
SUBFOLDER A1
#TRIGGER 2
FOLDER B
#TRIGGER 3
FOLDER C
#TRIGGER 4

Will the order of firing be following: TRIGGER BASIC, TRIGGER 1, TRIGER 3, TRIGGER 4, TRIGGER 2?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Apr 05, 2010 9:53 pm   
 
nope. Basic, 1, 2, 3, 4. And it is the order of pattern evaluation. When a trigger gets to run its code depends on how fast it was evaluated. It is very possible that #4 could evaluate and execute before #2, if #4 were really fast and #2 was really slow.
_________________
EDIT: I didn't like my old signature
Reply with quote
bebamedo
Novice


Joined: 02 Aug 2006
Posts: 32

PostPosted: Tue Apr 06, 2010 6:58 am   
 
Thanks MattLofton
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