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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Caman
Newbie


Joined: 20 Mar 2009
Posts: 9

PostPosted: Thu May 17, 2018 1:57 am   

Capture Colored Asterix
 
Hi, I need help with my trigger please. I have a 10x10 block map with different symbols ~ * ect... all in color. I need to capture the a Singular * that is a certain color next to all the estranged chars next to it.
~~~~~
~~*~~ #TRIGGER (%e[1;33m*%e[0m) {emote slaps himself} is essentially my trigger quite simple. I doesnt however fire just on the *. I fires on all bright yellow color, lol. Anyhelp? I have Tried %e[1;33m\*%e[0m with slash no avail and ~
~~~~~
~~~~~
Reply with quote
shalimar
GURU


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

PostPosted: Thu May 17, 2018 11:13 am   
 
#TRIGGER {%e[1;33m(~*)%e[0m} {emote slaps himself}

Triggers need the curly brackets for one.
The bigger issue here is that * is also a wildcard for any amount of any type of character.
Use the tilde '~' to force it to be a literal asterisk.

Also, did you check the 'ansi trigger' box for that trigger, in the settings editor?
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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