WoW:API SetChannelOwner

From AddOn Studio
Revision as of 15:38, 17 August 2005 by WoWWiki>Sij
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetChannelOwner -Documentation by Sij-

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.

Assumptions
I would assume that you would have to be the current channel owner, but have not tested this.