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


Joined: 21 Sep 2009
Posts: 17

PostPosted: Thu Aug 02, 2012 6:15 pm   

How to keep a trigger from firing more than once?
 
So I have a trigger set to engage pets on a variable that bumps into a wall

A (%w) bumps into a wall.
An (%w) bump into a wall.


However there may be instances where there will be multiples of that happening at one time. Is it possible to have the trigger fire once and then disable itself?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Aug 02, 2012 6:25 pm   
 
Use #t-
_________________
EDIT: I didn't like my old signature
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4690
Location: Pensacola, FL, USA

PostPosted: Thu Aug 02, 2012 11:39 pm   
 
you could put whatever action is preformed into a named #ALARM, then no matter how many times it fires, you will only input one response within a given timeframe
_________________
Discord: Shalimarwildcat
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