WoW:API SetChannelOwner: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(rv)
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
  <center>'''SetChannelOwner''' ''-Documentation by Sij-''</center>
  <center>'''SetChannelOwner''' ''-Documentation by Sij-''</center>


Line 32: Line 33:
;''Assumptions''
;''Assumptions''
: I would assume that you would have to be the current channel owner, but have not tested this.
: I would assume that you would have to be the current channel owner, but have not tested this.
----
{{WoW API}}

Revision as of 17:30, 6 January 2007

WoW API < SetChannelOwner

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.