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


Joined: 01 Sep 2003
Posts: 19
Location: USA

PostPosted: Wed Oct 01, 2003 4:20 am   

Triggering on prompt
 
Very Happy I'm playing Imperian. My prompt looks like:

H: # M: # V: # <eb>

I have a trigger I use when bashing that checks my prompt for the "b" (balance).


Example:

H: 70/70 M: 70/70 V: 500 <eb>
H: 70/70 M: 70/70 V: 500 <eb>
egs
You recline back into a powerful Eagle stance. (I have a trigger here to #WAIT 1000 and then set a variable)

H: 70/70 M: 70/70 V: 500 <e >
(2.x seconds later)
You have recovered balance.
H: 70/70 M: 70/70 V: 500 <eb>



OK, with variables met, the trigger should fire and send an attack combo. Sometimes it does, but sometimes it doesn't, even though all variables are met. (verified several times)

I can do a #SH, and it will fire. In fact, if I send anything to the mud after that final prompt it will fire (even #CR).

I tried a #CR after the "You have recovered balance" message. nada (too soon)
So, I added a "smile" command to trigger after the "balance" message. It fires, causes the text to scroll, the "<eb>" trigger then fires, and the attack combo is sent.

My question is why won't it fire on the "<eb>" line on its own every time? I've even seen a double prompt line, and it still didn't fire!

H: 70/70 M: 70/70 V: 500 <eb>H: 70/70 M: 70/70 V: 500 <eb>


I can deal with it. Just curious.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Oct 01, 2003 5:25 am   
 
You need to change the trigger options on the Options tab, so it will Trigger on: 'Prompt' instead of 'Newline'.

As an additional note, it's recommended (by Zugg) that you don't use #WAIT in triggers. He's got an article explaining why in the Support Library (Support link at top of page).
Reply with quote
DMUS
Beginner


Joined: 01 Sep 2003
Posts: 19
Location: USA

PostPosted: Thu Oct 02, 2003 12:29 am   
 
Of course! This is the first prompt trigger I've used. Forgot all about the delicious Options tab.

Thank you, sensei Lightbulb!
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