/Invataxi
total = total + elapsed |
if total >= waittime then |
local bgshown,bgcount = GetBattlegroundCount() |
if count > (bgcount < 3 and bgcount or 3) then |
if count > (bgcount < 2 and bgcount or 2) then |
JoinFrame:SetScript("OnUpdate",nil) |
else |
local button |
local x,y |
tooltip = QTip:Acquire("InvataxiTooltip", 2, "LEFT","RIGHT") |
tooltip:Clear() |
y,x = tooltip:AddLine("Join first "..(bgcount < 3 and bgcount or 3).." battlegrounds") |
y,x = tooltip:AddLine("Join first "..(bgcount < 2 and bgcount or 2).." battlegrounds") |
tooltip:SetLineScript(y,"OnMouseDown", JoinLowestMarkBattlegrounds) |
tooltip:AddSeparator() |
if bgshown > 0 then |