Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

CHAT_MSG_CHANNEL_NOTICE_USER

From Wowpedia
Jump to: navigation, search

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_CHANNEL_NOTICE_USER: "text", "playerName", "languageName", "channelName", "playerName2", "specialFlags", zoneChannelID, channelIndex, "channelBaseName", unused, lineID, "guid", bnSenderID, isMobile, isSubtitle, hideSenderInLetterbox, supressRaidIcons

Payload

1. text 
string - "ANNOUNCEMENTS_OFF", "ANNOUNCEMENTS_ON", "BANNED", "OWNER_CHANGED", "INVALID_NAME", "INVITE", "MODERATION_OFF", "MODERATION_ON", "MUTED", "NOT_MEMBER", "NOT_MODERATED", "SET_MODERATOR", "UNSET_MODERATOR"
2. playerName 
string - If arg5 has a value then this is the user affected ( eg: "Player Foo has been kicked by Bar" ), if arg5 has no value then it's the person who caused the event ( eg: "Channel Moderation has been enabled by Bar" )
3. languageName 
string
4. channelName 
string
5. playerName2 
string - Player that caused the event (e.g. "Player Foo has been kicked by Bar")
6. specialFlags 
string
7. zoneChannelID 
number
8. channelIndex 
number
9. channelBaseName 
string
10. unused 
number
11. lineID 
number
12. guid 
string
13. bnSenderID 
number
14. isMobile 
boolean
15. isSubtitle 
boolean
16. hideSenderInLetterbox 
boolean
17. supressRaidIcons 
boolean

See also