Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API JoinPermanentChannel
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} Seems to have the same effect as [[API_JoinChannelByName]]. Joins the channel with the specified name. A player can be in a maximum of 10 chat channels. In opposite to [[API_JoinTemporaryChannel]] the channel will be re-joined after relogging. type, name = JoinPermanentChannel("channelName" [,"password" [,frameID[, hasVoice]]]) == Parameters == (copy/paste from [[API_JoinChannelByName]]) === Arguments === :;channelName : String - The name of the channel to join :;: You can't use the "-" character in channelName (patch 1.9) :;password : String <small>''(optional)''</small> - The channel password, nil if none. :;frameID : Number <small>''(optional)''</small> - The chat frame ID number to add the channel to. Use [[API Frame GetID|Frame:GetID()]] to retrieve it for chat frame objects. :;hasVoice : Boolean (1/nil) - Enable voice chat for this channel. === Returns === :;type : Number - The type of channel. 0 for a undefined channel, 1 for the zone General channel, etc :;name : String - The name of the channel (Ohklus: seems to be nil for most channels). == Example == (copy/paste from [[API_JoinChannelByName]]) <!-- begin code --> JoinPermanentChannel("Mammoth", "thesane", ChatFrame1:GetID(), 1); <!-- end code -->
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)