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:
SendChatMessage("Guild Message", "GUILD")
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.
Cheers