WoW:API ChannelModerate: Difference between revisions
Jump to navigation
Jump to search
(Noted that it also turns moderation off.) |
(removedapi) |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
{{removedapi|≤ 3.1.3|No longer required: channels are moderated by default.}} | |||
Used to enable/disable Moderator functions such a Kick and Ban. This command must be used if you wish to administrate a channel. | Used to enable/disable Moderator functions such a Kick and Ban. This command must be used if you wish to administrate a channel. | ||
ChannelModerate("channelName") | ChannelModerate("channelName") | ||
Line 7: | Line 6: | ||
== Arguments == | == Arguments == | ||
;"channelName": String - The name of the channel to turn moderation on or off. | |||
== Triggers Events == | == Triggers Events == | ||
:* "[[Events/C#CHAT_MSG_CHANNEL_NOTICE_USER|CHAT_MSG_CHANNEL_NOTICE_USER"]]" with arg1 being "CHAT_MODERATION_ON_NOTICE" or "CHAT_MODERATION_OFF_NOTICE". | :* "[[Events/C#CHAT_MSG_CHANNEL_NOTICE_USER|CHAT_MSG_CHANNEL_NOTICE_USER"]]" with arg1 being "CHAT_MODERATION_ON_NOTICE" or "CHAT_MODERATION_OFF_NOTICE". |
Revision as of 23:16, 30 July 2009
This is no longer a part of the World of Warcraft API.
|
Used to enable/disable Moderator functions such a Kick and Ban. This command must be used if you wish to administrate a channel.
ChannelModerate("channelName")
Arguments
- "channelName"
- String - The name of the channel to turn moderation on or off.
Triggers Events
- "CHAT_MSG_CHANNEL_NOTICE_USER"" with arg1 being "CHAT_MODERATION_ON_NOTICE" or "CHAT_MODERATION_OFF_NOTICE".