|
Gage Beginner
Joined: 07 Jan 2003 Posts: 23
|
Posted: 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? |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|