WoW:API SetChannelPassword: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SetChannelPassword to API SetChannelPassword without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''SetChannelPassword''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
 
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 27: Line 26:
;''Description''
;''Description''


: Changes the password of the current channel.
: Changes the password of the specified channel.
 
----
{{Template:WoW API}}
[[Category:API Functions|SetChannelPassword]]
[[Category:API Channel Functions|SetChannelPassword]]

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.