WoW:API SetChannelOwner: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API SetChannelOwner to API SetChannelOwner without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
I love you
{{wowapi}}
 
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.

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.