Uggg .. 3.3.5 out already rofl ..
Well managed to find out how to create and remove a new frame which will be useful for my plugins but not so for the other chat frames.
ADDON_LOADED
Code:
local chatFrame = FCF_OpenNewWindow(NameOnTabText)
PLAYER_LOGOUT
Code:
if ( chatFrame ) then
CURRENT_CHAT_FRAME_ID = chatFrame:GetID()
FCF_ToggleLock()
FCF_Close(chatFrame)
end
Note also that doing it this way adds the name into the chat-cache.txt file for the character which I couldn't figure out before. This should help us to use blizz settings or override as we choose as we can simply let blizz do the settings and not do anything else or we can override it after the fact.