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
GooseFire
Novice


Joined: 08 Sep 2003
Posts: 32
Location: USA

PostPosted: Tue Feb 24, 2004 11:56 pm   

Repeating a trigger until a certain line is seen
 
^Your mind feels suddenly dulled and slow.$
--
#IF %ismember(02_rhead, @SalveList) {} {#co 4;addsalve 02_rhead}
This trigger sets it to apply restoration to my head when it sees the line above it. What I need it to do is when its time for it to do that salve application is to keep applying it over and over until it sees this:
You take out some salve and quickly rub it on your head.

Possible?
Reply with quote
mauzl
Novice


Joined: 10 Oct 2000
Posts: 34
Location: Australia

PostPosted: Wed Feb 25, 2004 1:52 am   
 
Easy.
Alias: fixHead

#alarm +1 {
#if @brokenHead {
apply restoration to head
fixHead
}}

Trigger the healing message to #var brokenHead 0. If the concussion stops you from healing, it'll try again in one second. Naturally, you'd want to have balance checks and whatnot in there too.
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