I have a recurring issue whereby logging onto the game and/or switching characters has about a 25% chance of resetting the positions of all my chat windows from their original positions on the bottom left and right corners of my screen to all being piled on top of each other on the bottom left of the screen. This happens with a fresh WoW install with zero addons installed.
I'm currently having to save a copy of the layout cache for each character to copy back into place every time they bork, but having to do this multiple times a day is getting pretty old.
I was wondering if anybody knew of an addon or could even just point me towards the code/scripting required to position chat windows so I could attempt to hack together my own addon and spare myself at least 50 blood vessels a day?
Apologies if this is the wrong section, I wasn't sure if it'd come under addon help, coding help, or what.
local ChatFrameN = CreateFrame("Frame", nil, UIParent)
ChatFrameN:SetScript("OnEvent", function ()
if event == "PLAYER_LOGIN" then