WoW:API SetChannelOwner: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(You do indeed need to be the current channel owner for this.)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''SetChannelOwner''' ''-Documentation by Sij-''</center>


Sets the channel owner.  
Sets the channel owner.  

Revision as of 16:41, 4 December 2007

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.