Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
daemoan.vermillious
Apprentice


Joined: 28 Feb 2009
Posts: 135
Location: Chico, Ca

PostPosted: Tue Jan 19, 2010 5:15 pm   

trigger problem
 
Pattern:
You've dealt 12 attacks dealing 323941 damage.
Trigger:
You've dealt {%d>0} attacks dealing %d damage.

as long as %d is greater than 0 !FIRE!

this doesnt seem to work, not sure tho

would appreciate the help
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jan 19, 2010 5:28 pm   
 
Not sure why you thought you could put an expression in the middle of a trigger like that...you can't. The proper way to do this is:

#TRIGGER {You've dealt (%d) attacks dealing (%d) damage.} {#IF (%1 > 0) {#send "!FIRE!"}}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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