WoW:API ChannelModerator: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API ChannelModerator to API ChannelModerator without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<center>'''ChannelModerator''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
Sets the specified player as the channel moderator.
Sets the specified player as the channel moderator.


Line 28: Line 27:


: Sets player playerName as a moderator on channel channelName.
: Sets player playerName as a moderator on channel channelName.
----
{{WoW API}}

Latest revision as of 04:45, 15 August 2023

WoW API < ChannelModerator

Sets the specified player as the channel moderator.

ChannelModerator(channelName, playerName);

Arguments
(String channelName, String playerName)
channelName
The name of the channel to set moderator status on
playerName
The name of the player to set as a moderator

Returns
nil

Example
ChannelModerator("uimods", "Sembiance");
Result

Description
Sets player playerName as a moderator on channel channelName.