Thread: Custom Links
View Single Post
10/13/17, 04:41 PM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
If I remember well, the character pipe is escaped when you send a message.

SendChatMessage(ANY_CHANNEL, "|H1:custom:data1:...:dataN|htext|h")

Will result in a EVENT_CHAT_MESSAGE with text = ||H1:custom:data1:...:dataN||htext||h

The double pipe is then hidden by the TextBuffer control itself.

You can check it by sending the data in saved vars.
  Reply With Quote