WoW:API JoinChannelByName: Difference between revisions

m
Move page script moved page API JoinChannelByName to WoW:API JoinChannelByName without leaving a redirect
No edit summary
m (Move page script moved page API JoinChannelByName to WoW:API JoinChannelByName without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
=== Returns ===
=== Returns ===
:;type : Number - The type of channel. 0 for a undefined channel, 1 for the zone General channel,  etc
:;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.
:;name : String - The name of the channel (Ohklus: seems to be nil for most channels).  


== Example ==
== Example ==
<!-- begin code -->
<!-- begin code -->
  JoinChannelByName("Mammoth", "thesane", ChatFrame1:GetID(), 1);
  local channel_type, channel_name = JoinChannelByName("Mammoth", "thesane", ChatFrame1:GetID(), 1);
<!-- end code -->
<!-- end code -->
Anonymous user