if ( this.tooltipText ) then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
end
if ( this.tooltipRequirement ) then
GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
GameTooltip:Show();
end
GameTooltip:Hide();
getglobal(this:GetName().."_Update")(this:GetChecked());
if ( this.tooltipText ) then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
end
if ( this.tooltipRequirement ) then
GameTooltip:AddLine(this.tooltipRequirement, "", 1.0, 1.0, 1.0);
GameTooltip:Show();
end
GameTooltip:Hide();
toggleBGInvite();
getglobal(this:GetName()):SetChecked(BGInvite_Config.AutoInvite);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_AUTOINVITE_NOTE);
getglobal(this:GetName()):SetChecked(BGInvite_Config.AutoPurge);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_AUTOPURGE_NOTE);
getglobal(this:GetName()):SetChecked(BGInvite_Config.SendWhisper);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_WHISPER_NOTE);
getglobal(this:GetName()):SetChecked(BGInvite_Config.Disable);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_DISABLE_NOTE);
getglobal(this:GetName().."Text"):SetText(BGINVITE_INVITE_COOLDOWN);
getglobal(this:GetName()):SetValue(BGInvite_Config.AutoInviteTimeout);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_INVITE_COOLDOWN_NOTE);
getglobal(this:GetName().."Val"):SetText(this:GetValue()..BGINVITE_SECONDS);
getglobal(this:GetName().."_Update")(this:GetValue());
getglobal(this:GetName().."Text"):SetText(BGINVITE_COOLDOWN);
getglobal(this:GetName()):SetValue(BGInvite_Config.RetryTimeout);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_COOLDOWN_NOTE);
getglobal(this:GetName().."Val"):SetText(this:GetValue()..BGINVITE_SECONDS);
getglobal(this:GetName().."_Update")(this:GetValue());
getglobal(this:GetName().."Text"):SetText(BGINVITE_PURGE_COOLDOWN);
getglobal(this:GetName()):SetValue(BGInvite_Config.PurgeTimeout);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_PURGE_COOLDOWN_NOTE);
getglobal(this:GetName().."Val"):SetText(this:GetValue()..BGINVITE_SECONDS);
getglobal(this:GetName().."_Update")(this:GetValue());
getglobal(this:GetName().."Text"):SetText(BGINVITE_MAX_INVITES);
getglobal(this:GetName()):SetValue(BGInvite_Config.MaxRetries);
BGInvite_MaxInvites_Slider:SetValueStep(1);
BGInvite_MaxInvites_Slider:SetMinMaxValues(0,25);
BGInvite_MaxInvites_SliderHigh:SetText(25);
GameTooltip:SetOwner(getglobal(this:GetName()), "ANCHOR_BOTTOMRIGHT");
GameTooltip:SetText(BGINVITE_MAX_INVITES_NOTE);
getglobal(this:GetName().."Val"):SetText(this:GetValue()..BGINVITE_RETRIES);
getglobal(this:GetName().."_Update")(this:GetValue());
BGInviteUI_OnShow();
TheMagicWord:SetText(BGInvite_Config.MagicWord);
TheMagicWord:SetTextColor(1,1,1);
BGInviteUI_OnLoad();
BGInvite_Config.MagicWord = BGInviteMagicwordEditBoxD:GetText()
TheMagicWord:SetText(BGInvite_Config.MagicWord);
MagicWordChanged();
BGInvite_OptionsMagicWordDialog:Hide();
getglobal(this:GetName()):SetText(BGInvite_Config.MagicWord);