View Single Post
06-24-20, 10:57 PM   #11
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
The functions that SDPhantom mentioned aren't functions you use, they are what transform the special {} strings into icons in clients that receive your message.

All you need to send a raid icon in chat is a certain string, no functions or anything special. Copy any of these and use them directly in your chat with nothing else to test them out:

Code:
{rt1}
{star}
{gold}
{rt2}
{circle}
{orange}
{rt3}
{diamond}
{purple}
{rt4}
{triangle}
{green}
{rt5}
{moon}
{silver}
{rt6}
{square}
{blue}
{rt7}
{cross}
{x}
{red}
{rt8}
{skull}
{white}
The following function call will send Hello World surrounded by skulls into the general channel:

Lua Code:
  1. SendChatMessage("{rt8} Hello {skull} World {white}", "CHANNEL", nil, 1)
  Reply With Quote