|
Virus2796 Newbie
Joined: 18 Jun 2004 Posts: 7 Location: USA
|
Posted: Sat Jul 03, 2004 5:38 am
Achaea Prompt Problems....(Tirgger) |
Ok, heres the MUD Output
700h, 540m, 2400e, 2400w ex-
Heres my trigger
^(%d)h, (%d)m, (%d)e, (%d)w ex-$
Heres my problem...its bugging me to no end.
The trigger works..kinda. It seems that if the prompt output is shown only one time, nothing happens, but if it shows up 2 times then it triggers it two times. Heres an example...
***********From Mud Window******************
700h, 540m ex-
Ascending the Shallam Road.
The bright sun shines down, blanketing you with its life-giving warmth. A runic
totem is planted solidly in the ground. Quietly munching from a feed bag, a
stocky gypsy's pony stands here.
You see exits leading north, east (open door), southeast, south, and west (open
door).
(Next line output about 30 seconds later)
700h, 540m ex-
Good
Good
*************************************************************
I am stumped. I can wait 2 mins after seeing the prompt one time and get nothing, the second I see it a second time, I get two replies.
Heres the trigger..simply made just for the use of testing it out...
#trigger {^(%d)h, (%d)m, (%d)e, (%d)w ex-$} {#SH Good} |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Jul 03, 2004 7:32 am |
You are trying to trigger on a prompt. Does your trigger have the prompt option enabled?
|
|
|
|
Virus2796 Newbie
Joined: 18 Jun 2004 Posts: 7 Location: USA
|
Posted: Sat Jul 03, 2004 7:41 am |
Your a "G". Thx, I never new that option existed:)
|
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Sat Jul 03, 2004 3:12 pm |
Also, keep in mind that your prompt will not always end in "ex-" as you use balance and equilibrium or when you have certain defenses up.
Here's what I recommend instead:
^(%d)h, (%d)m, (%d)e, (%d)w ([cexkdb@-])
You may optionally refer to %5 to check your prompt for balance, equilibrium, cloak, blind, deaf, kola, or even phasing. Heh.
I don't recommend the $ at the end because sometimes other messages will be "attached" to your prompt. You already know now to set the Prompt flag and unset the Newline flag, so no need to reiterate that, though I guess I just did. |
|
|
|
|
|
|
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
|
|