Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ChatFrame AddChannel

Last wiki revision 2008-07-15

ChatFrame_AddChannel(chatFrame, 'channelName');

Order a chat frame to display a previously-joined chat channel

  • (chatFrame, 'channelName')
  • chatFrame : Object - The chat frame to display the channel in. Some ex
  • channelName : String - The name of the chatchannel to activate.
  • nil

ChatFrame_AddChannel(DEFAULT_CHAT_FRAME, "test"); ChatFrame_AddChannel(SELECTED_CHAT_FRAME, "ErrorInfo"); ChatFrame_AddChannel(ChatFrame1, "AnotherChannel");

- Adds the channel to the default chat window.<BR> - Adds the channel in the chat window with focus ( the front window ).<BR> - Where X is an int from 1 to 10. Seems to add the channel to any chat window, where X=1 is the left-most window.<BR>

Source

https://warcraft.wiki.gg/wiki/API_ChatFrame_AddChannel · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.