|
glo Newbie
Joined: 01 May 2002 Posts: 7
|
Posted: Sun May 05, 2002 4:28 am
Trigger/Alias/Alarm question |
Hi all,
I have a major issue with understanding the interaction that I am seeing.
I have an alias that goes to a mob and says a given piece of text. The idea is that I want to know that I am the only one other than the mob in the room before I attack it. I have started with this alias:
-----------------------------------------
#VAR nextkill killdrill
relocate daltiraentrance
open door w
w
close door
#WA 6000
#T+ Readlines1Trig
look
say glo is here
#ALARM +10 {killlindenExec}
-----------------------------------------
The Trigger starts running ok and then I do a look followed by my "say glo is here" message.
The trigger reads each of the lines that results from this and places up to 12 lines of text into individual variables. I then want the ALARM to fire (I told it to wait 10 seconds). The ALARM calls another alias that has the following code:
-----------------------------------------
bkillem=true
#IF (@lastlineoftext03 = "The parrot store") {#NOOP} {bkillem=false}
#IF (@lastlineoftext07 = "Linden is standing here keeping an eye on his parrots.") {#NOOP} {bkillem=false}
#IF (%pos( "glo is here", @lastlineoftext09) > 0) {#NOOP} {bkillem=false}
#if (@bkillem = "true") {
slay linden
} {say go to next kill}
-----------------------------------------
My problem is that the alias to kill the mob fires over and over repeatedly. I thought an ALARM with a +seconds was supposed to remove itself after it fires?
Thanks for any insight! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun May 05, 2002 7:36 am |
Yes, it is supposed to. And in version 6.16 it does. If you are using a beta version, it's possible that this a bug in the beta version. If so, please report it on the beta forum.
Of course, it's also possible (and more likely) that you inadvertently created a permanent alarm or another trigger that's the cause of the problem. However, you are the only one who can go through your settings to find out if that's the case.
LightBulb
Vague questions get vague answers |
|
|
|
|
|
|
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
|
|