WoW:API ChannelModerate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
(Noted that it also turns moderation off.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{stub/api}}
 
Used to enable 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")
 
 
== Arguments ==
:;"channelName": String - The name of the channel to turn moderation on or off.
 
 
== Returns ==
:nil
 
 
== 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".

Revision as of 12:12, 12 June 2007

WoW API < ChannelModerate


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.


Returns

nil


Triggers Events