If you type |c###### in a chat box, and send it over a channel, does it appear that colour to the recipient? =O --Psyker7 19:00, 16 March 2007 (EDT)

Not quite. If you type | in a chat box, it will automatically become || to escape that character. As a result, you can't directly send chat messages in color, though you could use API_SendChatMessage SendChatMessage() to do so. You would have to, however, use the \124 escape sequence instead of |, because it is likely the pipe character will get escaped. Of course, that doesn't matter anyway, because if you try to change colors in an invalid way (a non-item-link), you will get disconnected when you try to send it, as the server protects itself. Shirik 19:33, 16 March 2007 (EDT)
So the server disconnect is based on the colour as well... thought it was just for the link. Thanks for satisfying my random curiosity ^.^ --Psyker7 19:40, 16 March 2007 (EDT)

This page is getting quite big and messy, maybe split it and have this as a general sequence describing page? Tanoh (talk) 20:28, 22 December 2008 (UTC)

Formatting FontStrings Edit

(AddOn Programming related) Does Addon Studio 2010 escape the | character? I don't seem to be able to add colors or links in FontStrings with the visual editor (though I didn't try it from Lua). Kroltan (talk) 19:05, January 30, 2013 (UTC)