View Single Post
02-22-20, 12:47 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
I'd start looking at C_ChatInfo.SendAddonMessage() and CHAT_MSG_ADDON.
You'll also have to register your prefix with C_ChatInfo.RegisterAddonMessagePrefix() to start receiving your messages.

PS: Your prefix is a string that's used to identify messages from your addon. It's suggested to base it off your addon's name.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 02-22-20 at 12:56 PM.
  Reply With Quote