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
Reddytedy
Apprentice


Joined: 13 Oct 2000
Posts: 114
Location: USA

PostPosted: 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
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jan 30, 2002 5:30 pm   
 
The right forum would be the Beta forum.

LightBulb
All scripts untested unless otherwise noted
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