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


Joined: 07 Jan 2003
Posts: 23

PostPosted: Thu Mar 27, 2003 5:18 am   

Trigger Executing Twice
 
I have a trigger that keeps executing twice. Now this only happens when the first trigger brings out the pattern from the mud. It does not happen if I enter the command myself and the pattern shows up.

First Trigger:
---------------------------------
Pattern:
^You create {a |an |}%1 %2.$

Action:
@sleep = %random( 2000, 6000)
#WA @sleep
#VAR bsSell True
#IF ("%2" == "torch") {#VAR bsSell False}
#IF ("%2" == "(empty)") {#VAR bsSell False}
#IF (@bsSell == "True") {
value %2
}
@sleep = %random( 1000, 3000)
#WA @sleep
uk
#AD bscounter1 2
#AD bscounter2 2

Second Trigger:
---------------------------------
Pattern:
Shopkeeper says '{an |a | }(%1) is worth (%2) gold coins.'

Action:
#IF (%2 >= 170) {
sell %1
}

Is there any reason why the output from the first trigger would make the second trigger execute twice, while just typing something like "value cap" in the command line would not?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 27, 2003 12:59 pm   
 
It's a bug. It's already been fixed in the beta version, so it should be working when the new public version comes out, which should be soon now.

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