View Single Post
03-14-18, 10:00 AM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Lua Code:
  1. FCF_OpenNewWindow('YourChatWindowTitleHere')

I create all my chatframes with channels, titles, colors etc through an addon:
https://github.com/p3lim-wow/Inomena...aster/chat.lua

I made a function that creates the chat window (lines 19-31) which also clears out old channels etc and adds new channels to show as parameters to the function.

I then use that function on lines 40-49, and from there on I do some positioning and coloroing, as well as closing the combat log window (ChatFrame2).
  Reply With Quote