WoWInterface - View Single Post - Making prettier chat messages
View Single Post
07-26-09, 06:18 AM   #5
A Molten Giant
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
Originally Posted by Hat View Post
Thanks for that pointer on chat filters, that's very useful. It's CHAT_MSG_SYSTEM for rolls btw.

But I can't get your examples of changing chat colours to work in-game. If I enter /script print("|cffFF0000This text is red|r This text is white |cff00FF00This text is green|r |cff0000FFThis text is blue|r") into a chat window, the colour codes aren't removed, they're printed verbatim.
The default editbox escapes the pipe symbol by replacing "|" with "||".
  Reply With Quote