WoW:API JoinChannelByName: Difference between revisions

correct return values
mNo edit summary
(correct return values)
Line 3: Line 3:
Joins the channel with the specified name.
Joins the channel with the specified name.


  retCode = JoinChannelByName("channelName" [,"password" [,frameID]])
  type, name = JoinChannelByName("channelName" [,"password" [,frameID]])
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===
Line 13: Line 13:


=== Returns ===
=== Returns ===
:retCode
:;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.


:;retCode : Number - Appears to always equal 0.
== Example ==
== Example ==
<!-- begin code -->
<!-- begin code -->
Anonymous user