|
Saigne Newbie
Joined: 09 Jul 2005 Posts: 9 Location: Oklahoma
|
Posted: 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?
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Sun Jul 10, 2005 4:15 pm |
You have to paste from the keyboard and not the mouse right click menu
|
|
|
|
Saigne Newbie
Joined: 09 Jul 2005 Posts: 9 Location: Oklahoma
|
Posted: Tue Jul 12, 2005 2:16 am |
Nope, that didn't work. Any other suggestions?
|
|
|
|
luggage Novice
Joined: 20 Jul 2004 Posts: 38 Location: Australia
|
Posted: 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 |
|
|
|
|
|