WoW API: SetChannelPassword

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.