|
Reddytedy Apprentice
Joined: 13 Oct 2000 Posts: 114 Location: USA
|
Posted: Wed Jan 30, 2002 4:04 am
Anyone able to figure out why this isn't firing? |
Having a Problem with this set of triggers.. contains a #CONDITION so I hope this is the right forum ;)
#TRIGGER "boomer" {A glistening black square} {#NOOP;#state boomer 1}
#CONDITION "boomer" {Roundtime*} {#state boomer 0;#Alarm +@Roundtimetemp {disarm my @clientbox}}
Now what it dos is disarm a box and than turns on the Condition and It is supposed to see the Roundtime and than disarm the box again to disable the trap.. smaple mud output to follow.
---------------------------------------------------------
You examine the box carefully for traps...
A glistening black square, surrounded by a tight ring of fibrous cord, catches your eye.
Roundtime: 8 seconds.
---------------------------------------------------------
so it should fire but I can't figure out why the second state isn't firing
Alan |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Wed Jan 30, 2002 5:20 am |
Just out of curiousity, why do you have to use states on this trigger? Why not just do this:
#TRIGGER "boomer" {A glistening black square*$Roundtime: (%d) seconds.} {#alarm +%1 {disarm my @clientbox}}
But, if you want to keep your states, just do this:
#TRIGGER "boomer" {A glistening black square} {}
#COND "boomer" {Roundtime: (%d) seconds.} {#ALARM +%1 {disarm my @clientbox}} {""}
Iljhar |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jan 30, 2002 5:30 pm |
The right forum would be the Beta forum.
LightBulb
All scripts untested unless otherwise noted |
|
|
|
|
|