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


Joined: 16 Mar 2003
Posts: 16
Location: USA

PostPosted: Sun Mar 16, 2003 1:23 pm   

a simple question on conditional triggers
 
i want zmud to issue the command "clot" when i receive the message 'You bleed X health'.. but only when X is greater than 50
Reply with quote
Tass
Beginner


Joined: 16 Mar 2003
Posts: 10

PostPosted: Sun Mar 16, 2003 1:37 pm   
 
#tr {'You bleed (%d) health'} {#if {%1 > 50} {clot} {"other command for if being false}
is how i think it would work
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Mar 16, 2003 7:54 pm   
 
Don't forget the final } (my most frequent error).
#tr {'You bleed (%d) health'} {#if {%1 > 50} {clot} {"other command for if being false}}


LightBulb
Advanced Member
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