Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Mar 14, 2002 5:33 am
ansi colors are being striped |
You can get it to capture the colors correctly. The first way is to make the trigger wide open to spoofing, since it isn't doing much and it is the easiest way that is what we will do.
First check the ANSI Trigger box on the options tab for the trigger.
Next in each place the color changes you must insert a %x in the pattern. For example while testing it I was doing 4 color changes:
~[%x{OOC|CHAT|WAR|RACETALK}%x~]
The first and last color changes are outside the trigger portion and don't need a %x. Just remeber the trigger will very easily pickup lines it isn't supposed to. If it bothers you then you may want to improve it by entering the exact ansi codes required.
Optional stuff
-----------------------------------
In order to avoid a minor discrepency in colors (only occurs if the first thing on the triggerred line is your mud windows default text color) you may wish to set child window text colors to match mud window text colors. This done in View|Preferences|Colors with your Chat window having focus. You must then save settings for chat. |
|