Board Thread:Support Requests - Getting Technical/@comment-4748628-20140729181943/@comment-452-20140729224204

Assuming you're using chathacks, your Special:MyPage/chat.js script is loaded when you join the chat. Why not set the variables there?