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
darkspot
Apprentice


Joined: 29 Jul 2002
Posts: 105

PostPosted: Tue Sep 21, 2004 5:51 pm   

Ansi triggers
 
I feel like an idiot for asking this, but for some reason pasting the lines into the pattern for ansi triggers isn't popping up the code just the line (yes it is checked), so where can I find the ansi triggering codes? I have an old one from a trig I made on 6.X when pasting still worked to get em for me...
%e[1;33m that was yellow... there a list anywhere of all of them any chance? or possible a reason I might not be getting those ansi codes popping up when I paste into the patterns?
Reply with quote
Daos
Newbie


Joined: 14 Sep 2004
Posts: 8
Location: USA

PostPosted: Tue Sep 21, 2004 6:00 pm   
 
Quote:
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.


I think that will help.
Reply with quote
darkspot
Apprentice


Joined: 29 Jul 2002
Posts: 105

PostPosted: Tue Sep 21, 2004 7:23 pm   
 
That's the problem, when I paste the highlighted text into the pattern input box (even with the ansi trigger option on) it won't put in the ansi codes. Not sure why though. is there anything else I can do?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Sep 22, 2004 12:07 am   
 
You have to paste using the keyboard sequence CTRL-V. CTRL-INS (and I think the context menu) is picked up by Windows instead of zMud, and so the special code to place the ansi sequences is not applied.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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