WoW:API SetChannelPassword: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
mNo edit summary
Line 2: Line 2:
Changes the password of the current channel.
Changes the password of the current channel.


  SetChannelPassword(channelName, playerName);
  SetChannelPassword(channelName, password);


----
----
;''Arguments''
;''Arguments''


:(String username, String password)
:(string channelName, string password)


:;username : The user who changed the password? You?
:;channelName - The name of the channel.
:;password : The password to set the channel to
:;password - The password to assign to the channel.


----
----
Line 26: Line 26:
;''Description''
;''Description''


: Changes the password of the current channel.
: Changes the password of the specified channel.

Revision as of 21:59, 13 August 2010

WoW API < SetChannelPassword

Changes the password of the current channel.

SetChannelPassword(channelName, password);

Arguments
(string channelName, string password)
channelName - The name of the channel.
password - The password to assign to the channel.

Returns
nil

Example
SetChannelPassword("Sembiance", "secretpassword");
Result

Description
Changes the password of the specified channel.