Sticky chat - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-22-21, 10:28 PM   #1
A Flamescale Wyrmkin
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 144
Sticky chat

Hi all

I want to be able to send a chat message and have the channel that the message was sent to become the current channel.

Currently, I can send a string to guild chat and then join the guild channel;
Lua Code:
  1. SendChatMessage("Guild Message", "GUILD")
  2. ChatEdit_ChooseBoxForSend():SetAttribute("chatType", "GUILD") -- set sticky channel

I want to do the same for General, or Trade chat, but so far had no success.

I have dug through the ChatFrame.lua file and still have no idea of how to get this working.

I would really appreciate some direction here.

"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Sticky chat

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off