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


Joined: 09 Jul 2005
Posts: 9
Location: Oklahoma

PostPosted: Sun Jul 10, 2005 12:39 pm   

ANSI Triggers
 
I'm trying to get ANSI triggers to work for #TAG, but can't seem to get the escape codes. I click ANSI Trigger, then copy and paste, but it's not pasting the escape codes. Advice?
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Jul 10, 2005 4:15 pm   
 
You have to paste from the keyboard and not the mouse right click menu
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Saigne
Newbie


Joined: 09 Jul 2005
Posts: 9
Location: Oklahoma

PostPosted: Tue Jul 12, 2005 2:16 am   
 
Nope, that didn't work. Any other suggestions?
Reply with quote
luggage
Novice


Joined: 20 Jul 2004
Posts: 38
Location: Australia

PostPosted: Fri Jul 15, 2005 1:55 pm   
 
Hrm. Make sure you are using Ctrl-C and Ctrl-V when cut and paste. Also check your settings, maybe you turned off ANSI Emulation in the preferences or so?

Another way to get the escape codes (and to see if they are actually sent by the mud) is under
View -> Preferences -> General -> Emulation

Then uncheck the 'Emulate Control Codes' box and get the mud to send the required escape code. In my mud it comes on the Zmud window as:

<27>[7mNormal text here...

Thus to trigger on the escape code I would use:
#TRIGGER {%e[7;32m} {#COL bold,red}

So basically '<27>' becomes '%e', and the 'm' becomes ';32m'

If you used the cut n paste, this would appear normally instead.
As I can change stuff on my mud, I set all tells to me as inverse text (which is the above example) and then colour them red, capture to a seperate tell window, and gag them from the main window. I do this because almost nothing else sends inverse text across, and this way I can capture multi-line tells.

Luggage
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