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
sda
Wanderer


Joined: 18 Apr 2001
Posts: 55
Location: United Kingdom

PostPosted: Mon Nov 04, 2002 12:05 pm   

Can a script be running many times simultaneously?
 
Is it possible for 2 actions to happen so fast that the same trigger can be running twice or more at the same time?

If so, then if I have a trigger, and the first command is: #T- thisclass, will this be quick enough to prevent the trigger from firing again?

Or is it best to use a 'fire once' trigger, then recreate it at the end of the script each time?

Thanks,
Steve ;)
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Nov 04, 2002 1:10 pm   
 
Try the #T- command at the start of the trigger, it should prevent further firing unless zMUD executes this command after the trigger has finished. The 'fire once' trigger might have the same problem, depending on how zMUD treats it.

Kjata
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