WoWInterface - View Single Post - Raid target in strings
View Single Post
06-24-20, 10:57 PM   #11
A Molten Giant
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 529
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:

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