 |
theoldone Novice
Joined: 31 Dec 2002 Posts: 41 Location: USA
|
Posted: Sat Jan 04, 2003 2:00 am
Trigger problem |
can I set a trigger so it will not go off if it did in the last 30sec
|
|
|
 |
ShadowDrakken Beginner
Joined: 29 Dec 2002 Posts: 18 Location: USA
|
Posted: Sat Jan 04, 2003 3:00 am |
sure, build the trigger this way...
make the trigger activate as a normal trigger taking the actions you want if a specific variable is set to 0, then just add to the end of the trigger a variable that gets switched to 1, and then activates a timer trigger which after 30 seconds changes the variable back to 0
its been too long since I did much zMUD scripting or I'd whip out more exact code for you |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Jan 04, 2003 3:49 am |
This is pretty easy with v 6.40. Just use a multistate trigger with the "wait" parameter.
#TR {trigger phrase} {things to do}
#COND {} {#NOOP} {Wait|Param=30000}
LightBulb
Senior Member |
|
|
 |
|
|