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
Onaka
Newbie


Joined: 30 Jul 2005
Posts: 3

PostPosted: Mon Aug 01, 2005 3:03 am   

trigger question
 
I've read the other posts and such about multistate triggers, and I really just get confused with it. Normally when I make triggers I don't use the command line, I open the settings editor and do it that way. Now, with that said, I have been trying to create a trigger to help me ignore illusions in the mud I play. When some one does an illusion they usually do something along the lines of..

Code:

You may eat another herb or plant.
You quickly eat an orphine seed.
H:307 M:291 E:1331 W:1541 <eb p>


note that the H:307 part would be my prompt, the other two lines would be the illusion. what i'm trying to do is make it so it won't reset me herbbalance variable unless its just...

Code:

You may eat another herb or plant.
H:307 M:291 E:1331 W:1541 <eb p>


I was told that something along the lines of this would work...
Code:

You may eat another herb or plant.$H:


but when I try that it doesn't seem to work, it never resets the variable to one again. I know the variable and all the stuff works normally when its just "You may eat another herb or plant" because i've tested that. I'm just wondering if there is a way i can get it to only reset it it is followed directly by my prompt.
Reply with quote
Metho
Beginner


Joined: 10 Jul 2005
Posts: 28

PostPosted: Mon Aug 01, 2005 4:43 am   
 
You could try You may eat another herb or plant.$^H:%d M:%d E:%d W:%d ~<*~>
Reply with quote
Vorax
Apprentice


Joined: 29 Jun 2001
Posts: 198
Location: USA

PostPosted: Mon Aug 01, 2005 5:48 am   
 
You may need to set the trigger to fire on prompt since you're including a part of the prompt as the trigger phrase.
Reply with quote
Onaka
Newbie


Joined: 30 Jul 2005
Posts: 3

PostPosted: Mon Aug 01, 2005 3:03 pm   
 
alright thanks, I got it I just had to have it fire off the prompt. I appreciate the help
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