Events/Communication
From WoWWiki
| |||||||||||||||||||||
|
Communication related events |
"CHAT_MSG_ACHIEVEMENT"
| Category: Communication,Guild,Achievements |
|
Fired when a player in your vicinity completes an achievement.
|
"CHAT_MSG_ADDON"
| Category: Communication |
|
(new with patch 1.12) Fired when the client receives a message from SendAddonMessage
|
"CHAT_MSG_AFK"
| Category: Communication |
|
Fired when the client receives an AFK auto-response
|
"CHAT_MSG_BATTLEGROUND"
| Category: Communication,Battleground |
|
(new with patch 1.12) Fired when a message is received through the battleground group channel
|
"CHAT_MSG_BATTLEGROUND_LEADER"
| Category: Communication,Battleground |
|
(new with patch 1.12) Fired when a message is received from the leader of the battleground group
|
"CHAT_MSG_BG_SYSTEM_ALLIANCE"
| Category: Communication,Battleground |
|
Fired for alliance specific events in the battleground such as assaulting a graveyard.
|
"CHAT_MSG_BG_SYSTEM_HORDE"
| Category: Communication,Battleground |
|
Fired for horde specific events in the battleground such as assaulting a graveyard.
|
"CHAT_MSG_BG_SYSTEM_NEUTRAL"
| Category: Communication,Battleground |
|
Fired for non faction specific events in the battlegrounds such as the battle start announcement.
|
"CHAT_MSG_CHANNEL"
| Category: Communication |
|
Fired when the client receives a channel message.
|
"CHAT_MSG_CHANNEL_JOIN"
| Category: Communication |
|
Fired when someone joins a chat channel you are in
|
"CHAT_MSG_CHANNEL_LEAVE"
| Category: Communication |
|
Fired when a player leaves a channel that you are currently inside.
|
"CHAT_MSG_CHANNEL_LIST"
| Category: Communication |
|
Fired when ListChannels() or ListChannelByName() is called, and the message is displayed in the chat frame.
|
"CHAT_MSG_CHANNEL_NOTICE"
| Category: Communication |
|
Fired when you enter or leave a chat channel (or a channel was recently throttled)
|
"CHAT_MSG_CHANNEL_NOTICE_USER"
| Category: Communication |
|
Fired when something changes in the channel like moderation enabled, user is kicked, announcements changed and so on. CHAT_*_NOTICE in GlobalStrings.lua has a full list of available types.
|
"CHAT_MSG_DND"
| Category: Communication |
|
Fired when the client receives a Do-Not-Disturb auto-response
|
"CHAT_MSG_EMOTE"
| Category: Communication |
|
Fired on sending or receiving a custom emote (one used by /e, /emote or a send chat message command with the emote flag)
|
"CHAT_MSG_GUILD"
| Category: Communication,Guild |
|
Fired when a message is sent or received in the Guild channel.
|
"CHAT_MSG_GUILD_ACHIEVEMENT"
| Category: Communication,Guild,Achievements |
|
Fired when a guild member completes an achievement.
|
"CHAT_MSG_IGNORED"
| Category: Communication |
|
Fired when you whisper a player that is ignoring you When testing this event the character name is sent twice as arg1 and arg2, Blizzard appears to use arg2 and ignores arg1.
|
"CHAT_MSG_MONSTER_EMOTE"
| Category: Communication |
|
Fired for emotes from a monster, such as 'Murloc Forager attempts to run away in fear!'
(Note: As of 1.12 arg1 now contains a %s string variable for where the mob name should be placed)
|
"CHAT_MSG_MONSTER_SAY"
| Category: Communication |
|
Fired when a NPC says something.
|
"CHAT_MSG_MONSTER_WHISPER"
| Category: Communication |
|
Fired when a NPC whispers you something
|
"CHAT_MSG_MONSTER_YELL"
| Category: Communication |
|
Fired when a NPC yells, example would be the yells during an Alterac Valley from the Herald or a raid boss.
|
"CHAT_MSG_OFFICER"
| Category: Communication |
|
Fired when a message is sent or received in the Guild Officer channel.
|
"CHAT_MSG_PARTY"
| Category: Communication,Party |
|
Fired when a message is sent or received in the Party channel.
|
"CHAT_MSG_RAID"
| Category: Communication,Party |
|
Fired when a message is sent or received in the Raid.
|
"CHAT_MSG_RAID_BOSS_EMOTE"
| Category: Communication |
|
"CHAT_MSG_RAID_LEADER"
| Category: Communication,Party |
|
Fired when a message is sent or received from the raid leader.
|
"CHAT_MSG_RAID_WARNING"
| Category: Communication,Party |
|
Fired when a warning message is sent or received from the raid leader.
|
"CHAT_MSG_SAY"
| Category: Communication |
|
Fired when a message is sent or received in the Say channel.
Example: of your MyMod.xml file. Then, have a function like the following in your MyMod.lua file: function MyMod_Say(event, arg1, arg2, arg3) PrevMsg = arg1; PrevPlyr = arg2; PrevLang = arg3; end This would store the previous message, player who said it, and language it was said in into some variables.
|
"CHAT_MSG_SYSTEM"
| Category: Communication |
|
Fired when a system chat message (they are displayed in yellow) is received.
arg1 formats are found in Blizzard's GlobalStrings.lua. Some possibilities:
Note: Be very careful with assuming when the event is actually sent. For example, "Quest accepted: Quest Title" is sent before the quest log updates, so at the time of the event the player's quest log does not yet contain the quest. Similarly, "Quest Title completed." is sent before the quest is removed from the quest log, so at the time of the event the player's quest log still contains the quest.
|
"CHAT_MSG_TEXT_EMOTE"
| Category: Communication |
|
Fired for emotes with an emote token. /dance, /healme, etc
|
"CHAT_MSG_WHISPER"
| Category: Communication |
|
Fired when a whisper is received from another player. The rest of the arguments appear to be nil
|
"CHAT_MSG_WHISPER_INFORM"
| Category: Communication |
|
Fired when the player sends a whisper to another player
|
"CHAT_MSG_YELL"
| Category: Communication |
|
Fired when a message is sent or received in the Yell channel.
|
"COMSAT_START"
| Category: Communication |
|
Appears in Patch 2.2 PTR. Apparently signals that a player has started speaking using Voice Chat.
|
"COMSAT_STOP"
| Category: Communication |
|
Appears in Patch 2.2 PTR. Supposidly indicates that a player has stopped speaking using Voice Chat.
|
"FRIENDLIST_SHOW"
| Category: Communication |
|
|
"FRIENDLIST_UPDATE"
| Category: Communication |
|
Fired when...
No args.
|
"IGNORELIST_UPDATE"
| Category: Communication |
|
Fired when a player is added or removed from the ignore list. Event is called twice. Not certain why it is called twice.
|
"LANGUAGE_LIST_CHANGED"
| Category: Communication |
|
|
"LFG_MATCH_CANCEL"
| Category: Communication |
|
|
"LFG_MATCH_REQUEST"
| Category: Communication |
|
|
"LFG_PENDING_CANCEL"
| Category: Communication |
|
|
"LFG_PENDING_REQUEST"
| Category: Communication |
|
|
"LFG_UPDATE"
| Category: Communication |
|
When fired prompts the LFG UI to update the list of available LFG categories and objectives (i.e. new quests, zones, instances available to LFG). See API GetLFGTypes
|
"PLAYER_FLAGS_CHANGED"
| Category: Player,Communication |
|
This event fires when a Unit's flags change (eg: due to /afk, /dnd, etc.)
|
"TIME_PLAYED_MSG"
| Category: Player,System,Communication |
|
Fired when the client received a time played message.
|
"UI_INFO_MESSAGE"
| Category: System,Communication |
|
Fired when the interface generates a message. These are the yellow messages in the top middle of the window. "No fish are hooked." is one example.
|
"UPDATE_CHAT_COLOR"
| Category: Communication |
|
Fired when the chat colour needs to be updated. Refer to the ChangeChatColor API call for details on the parameters.
|
"UPDATE_CHAT_WINDOWS"
| Category: Communication |
|
Fired when there's a reason to update the chat windows.
|
"UPDATE_LFG_LIST"
| Category: Communication |
|
When fired prompts the LFG UI to update the list of LFG players. Signals LFG query results are available. See API LFGQuery.
|
"UPDATE_LFG_TYPES"
| Category: Communication |
|
|
"WHO_LIST_UPDATE"
| Category: Communication |
|
Fired when the client receives the result of a SendWho() request from the server. use API SetWhoToUI to manipulate this functionality. This event is only triggered if the Who panel was open at the time the Who data was received (this includes the case where the Blizzard UI opens it automatically because the return data was too big to display in the chat frame).
|
"ZONE_UNDER_ATTACK"
| Category: Communication,Map |
|
This doesn't seem to be sent for WorldDefense - it comes in on CHAT_MSG_CHANNEL and totally skips the ZONE_UNDER_ATTACK code in the client. Is the same true for LocalDefense? |
