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


Joined: 27 Nov 2002
Posts: 27
Location: USA

PostPosted: Wed Nov 27, 2002 4:24 am   

Autoheal trigger not working
 
Hello all,
I would like to set a trigger that autoheals. I searched the forums and saw multiple examples of how to set the trigger as far as both pattern and value and I've gotten nowhere. It won't trigger at all.

The prompt from the mud is:
7071/7071hp 9218/9958mana 891xp Wynd>

I have tried to set it to trigger with:
(%d)/(%d)hp (%d)/(%d)mana
^(%d)/(%d)hp (%d)/(%d)mana
(%d)/(%d)hp (%d)/(%d)mana (%d)xp Wynd
(%d)/(%d)hp (%d)/(%d)mana (%d)xp Wynd>

Nothing. In the command box, I have:
#IF (%3 < 1000) {tell wynd ow;sleep;#VAR sleep 1) **just for test purposes and per another post I saw.

This trigger is within my bot class, I do have my bot on when testing it, it does absolutely nothing.

Can someone please tell me what I may be doing wrong? I'm on ZMud 6.16.
M.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Nov 27, 2002 6:23 am   
 
On the options tab, there's a box on the right labeled "Trigger on" with checkboxes for Newline, Prompt, and Line Color. Make sure that Prompt is checked and the other two aren't.

LightBulb
Senior Member
Reply with quote
Lyriikka
Beginner


Joined: 02 Oct 2002
Posts: 21
Location: Finland

PostPosted: Wed Nov 27, 2002 6:23 am   
 
#tr {(%d)/(%d)hp (%d)/(%d)mana (%d)xp Wynd} {#show %1;#show blaa blaa}

This works!

Lyriikka the GenTnLadyLover
batmud.bat.org:23
Reply with quote
Madamegato
Beginner


Joined: 27 Nov 2002
Posts: 27
Location: USA

PostPosted: Wed Nov 27, 2002 7:17 am   
 
Lightbulb, you do your name justice.
It worked like a dream after changing the options.
Thank you Thank you Thank you!
M.
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