WoW:API SetChannelPassword: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
m (Move page script moved page API SetChannelPassword to API SetChannelPassword without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:47, 15 August 2023

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.