WoW:API SendAddonMessage

Revision as of 12:20, 13 July 2006 by WoWWiki>Naturfreund
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sends a message to hidden AddOn channels. (new with patch 1.12)

SendAddonMessage("prefix", "text", "PARTY|RAID|GUILD")

Example
SendAddonMessage("CTRA", "User Data: XYZ", "RAID");

Notes
Fires the Event CHAT_MSG_ADDON
The combined length of message plus prefix can be at most 254 characters.
The message will be unaffected by inebriation.
(From 'Slouken', Blizzard poster)