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


Joined: 07 Apr 2003
Posts: 8

PostPosted: Thu Apr 29, 2004 8:48 pm   

Below Trigger
 
I would like to create a trigger to cast a spell once my heath drops below a number like. If my Health droped to 200 i would like zmud to cast Heal for any number 200 and below once.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Apr 30, 2004 10:26 am   
 
#TR {(%d)health} {#IF (%1 > 200) {#VAR heal 1} {#IF (@heal = 1) {#VAR heal 0;cast heal}}} {} {prompt}

Of course I had to guess what your health info would look like, so chances are you'll have to change the trigger pattern.
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