WoW:API JoinChannelByName
Joins the channel with the specified name.
JoinChannelByName(channelName, password, frameID);
- Arguments
- (String channelName, String password, String frameID)
- channelName
- The name of the channel to join
- password
- The channel password (optional)
- frameID
- The frame ID number, ostensibly from a ChatFrame object. Use Frame:GetID() to retrieve it
- Returns
- zero, regardless of success or failure
- Example
JoinChannelByName("Mammoth", "thesane", ChatFrame1:GetID());
- Result
- Description
- Joins the channel with the specified name if there are less than 10 live channels.