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


Joined: 27 Sep 2022
Posts: 1

PostPosted: Tue Sep 27, 2022 7:16 pm   

Help with a trigger?
 
Hey guys,

So my trigger I'm trying to get working is like this. I send a command to the MUD, it uses an AOE ability. If the trigger hit stuff I want it to AOE again, if it doesn't hit stuff I want to trigger off that in a different way. What is a way I can solve this? Say the pattern is "You'r aoe ability blah blah blah" then thing's it hits are below that patten. If it doesn't hit anything it will just say the description for the aoe ability and nothing will be below that line. How can I make a trigger to fire off hitting thing, as well as fire something different off NOT hitting things? Thanks in advance to the smarter doods/doodettes than me for any and all help with this.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4662
Location: Pensacola, FL, USA

PostPosted: Tue Sep 27, 2022 9:18 pm   
 
#TR {You'r aoe ability blah blah blah} {}
#COND {*} {#IF (%match(%line, "how it looks hitting stuff")) {aoe} {no aoe}} {within|param=1}
_________________
Discord: Shalimarwildcat
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