WoW:API SetChannelOwner: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(rv)
m (Move page script moved page API SetChannelOwner to API SetChannelOwner without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''SetChannelOwner''' ''-Documentation by Sij-''</center>
{{wowapi}}


Sets the channel owner.  
Sets the channel owner.  
Line 27: Line 27:


: Changes the owner of the channel to the player specified.
: Changes the owner of the channel to the player specified.
----
;''Assumptions''
: I would assume that you would have to be the current channel owner, but have not tested this.
----
{{WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < SetChannelOwner

Sets the channel owner.

SetChannelOwner(channel, newowner);

Arguments
(String channel, String newowner)
channel
channel name to be changed
newowner
the new owner of the channel

Returns
nil

Example
SetChannelOwner("myFriends", "Sij");

Description
Changes the owner of the channel to the player specified.