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)

Chat-specific escape sequences

The %t, %n, %f escape sequences, as well as the {texture} sequences, strike me as fundamentally different from the others, since they can be used without any lua code at all, and even outside of macros. I'm adding them to the Macro API page (since despite being usable in regular chat, it's hard to imagine them being useful there) and leaving this section alone for now, but that section should probably just be replaced with "UI elements can use standard macro escape sequences" or something similar, with a link, no? - jerodast (talk) 21:03, 19 August 2014 (UTC)

For the record, the {{chattextmodifiers}} page exists and is transcluded on several macro command pages (as I just discovered). However, I still think the info would be most appropriate on the Macro API page. - jerodast (talk) 21:33, 19 August 2014 (UTC)
That entire section should be moved elsewhere -- maybe Macro API, maybe a chat-specific text replacement article that might not exist yet. I don't think PlayerName:SetText("{rt1} %n %f %t") actually results in anything getting replaced, so these are pretty much specific to chat. — foxlit (talk) 21:43, 19 August 2014 (UTC)

Split hyperlinks into a new page

I think hyperlinks should be moved to a separate page: Hyperlinks since it's too much compared to the rest of the UI escape sequences. Ketho (talk) 19:03, 1 September 2019 (UTC)

Another thought... what if we merged all the details about each subtype into their respective pages (for example, achievementLink and achievementString). Then we downsize the hyperlinks section to just a list or table sending folks to the various pages that give all the details. (Of course, this section would keep the basic introduction that talks about |h...|H notation.) DDC (talk) 22:10, 29 February 2020 (UTC)
I honestly don't mind however I think only a few of them have enough details to put on separate pages, or have them already, e.g. ItemLink Ketho (talk) 22:20, 29 February 2020 (UTC)

After someone mentioned it again I went ahead and split the page into Hyperlinks Ketho (talk) 21:09, 14 October 2021 (UTC)