WoW:ChatTypeId: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(→‎Values: Add AFK, DND)
Line 1: Line 1:
{{wowapitype}}
These are the chat types used by [[API SendChatMessage|SendChatMessage("msg"{,"type"{,"lang"{,"channel"}}})]].
These are the chat types used by [[API SendChatMessage|SendChatMessage("msg"{,"type"{,"lang"{,"channel"}}})]].


Line 16: Line 18:


; <tt>"RAID"</tt> : Message to raid members (/raid)
; <tt>"RAID"</tt> : Message to raid members (/raid)
; <tt>"RAID_WARNING"</tt> : Warning to raid members (/rw)


; <tt>"WHISPER"</tt> : Message to a specific other player (/whisper) - Player name provided as channel.
; <tt>"WHISPER"</tt> : Message to a specific other player (/whisper) - Player name provided as channel.
Line 22: Line 26:




----
; <tt>"AFK"</tt>: Not a real channel; sets your [[AFK]] message to the message your send. Send an empty message to clear AFK status.
{{WoW API}}
 
; <tt>"DND"</tt>: Not a real channel; sets your [[DND]] message to the message your send. Send an empty message to clear DND status.

Revision as of 18:16, 8 August 2006

API types

These are the chat types used by SendChatMessage("msg"{,"type"{,"lang"{,"channel"}}}).

Values

"SAY"
Speech to nearby players (/say).
"EMOTE"
Text emote to nearby players (/em) (Use DoEmote("action") for voice emotes)
"YELL"
Yell to not so nearby players (/yell).
"PARTY"
Message to party members (/p)
"GUILD"
Message to guild members (/g)
"OFFICER"
Message to guild officers (/o)
"RAID"
Message to raid members (/raid)
"RAID_WARNING"
Warning to raid members (/rw)
"WHISPER"
Message to a specific other player (/whisper) - Player name provided as channel.
"CHANNEL"
Message to a specific chat channel (/1,/2,...) - Channel number provided as channel


"AFK"
Not a real channel; sets your AFK message to the message your send. Send an empty message to clear AFK status.
"DND"
Not a real channel; sets your DND message to the message your send. Send an empty message to clear DND status.