this:SetBackdropColor(0,0,0);Chatr_ChatWheel(this, arg1);Chatr_Hyperlink(arg1,arg2,arg3);Chatr_Enter(this:GetParent());Chatr_AbandonEntry(this:GetParent());Chatr_Send(this:GetParent());Chatr_LastFocused=this:GetParent().id;this.hasFocus=1;this:SetAlpha(1);Chatr_EditFocus=this;this.hasFocus=0;if Chatr_EditFocus==this then Chatr_EditFocus=nil; endif this:GetText()=="" then this:ClearFocus() endChatr_EntryChar();this:SetBackdropColor(0,0,0);Chatr_EBEnter(this);Chatr_Enter(this:GetParent());Chatr_EBLeave(this);Chatr_Enter(this);Chatr_Leave(this);Chatr_TextFormat=this:GetText();Chatr_NoteFormat=this:GetText();Chatr_FontSize=floor(this:GetValue()); ChatrOptionsFontSizeLabel:SetText(tostring(Chatr_FontSize));Chatr_AutoDock=this:GetChecked()Chatr_AutoWho=this:GetChecked()Chatr_Tip("If you have Who boxes popping up when you get whispered, turn this off.")Chatr_AllowFade=this:GetChecked()Chatr_DockMode=this:GetChecked()Chatr_MinInCombat=this:GetChecked()Chatr_EntryInside=this:GetChecked()Chatr_PlaySound=this:GetChecked()Chatr_ExecSlash=this:GetChecked()Chatr_Tip("Unchecking this and closing the window will overwrite the global settings.")
Chatr_Init();
this:RegisterEvent("CHAT_MSG_WHISPER");
this:RegisterEvent("CHAT_MSG_WHISPER_INFORM");
this:RegisterEvent("CHAT_MSG_AFK");
this:RegisterEvent("CHAT_MSG_DND");
this:RegisterEvent("WHO_LIST_UPDATE");
this:RegisterEvent("VARIABLES_LOADED");
this:RegisterEvent("PLAYER_REGEN_DISABLED");
this:RegisterEvent("PLAYER_REGEN_ENABLED");
Chatr_Event();
Chatr_Tip("Drag this tiny part to move the dock.");Chatr_Tip();this:SetBackdropColor(0,0,0);this:SetScale(0.85);