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


Joined: 28 Feb 2004
Posts: 3
Location: USA

PostPosted: Sun Feb 29, 2004 12:16 am   

color triggers?
 
Is there a way to get a trigger to fire, only if the triggering word is a certain color?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Feb 29, 2004 1:17 am   
 
Try using an ANSI trigger. This is most easily done by using the Settings Editor. Highlight the text in the mud window that you want to trigger on (go ahead and grab the whole line you can edit it later). Open the Settings Editor (CTRL-G). Create a new trigger (or select and existing trigger), switch to the Options tab, check the "ANSI trigger" option, switch to the Pattern tab. Click the pattern input box, and press CTRL-V to paste the highlighted text. If everything went well you will see a number of codes looking something like '%e[34m' in the pattern. These codes are what controls the specific color matching.
Reply with quote
doll
Newbie


Joined: 01 Oct 2003
Posts: 4
Location: Hong Kong

PostPosted: Sun Feb 29, 2004 4:32 am   
 
I have same problem about this topic.

I want to know have any others method can capture the zmud output which including the background and foreground color in the same line??
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