Code:
function Nx.wtfrofl:notifwhile() local truefalseend=self.trueintrue local andreturnor=self.returninlocal local anduntilthis=self.andnotfalse local elseiflollocal=truefalseend:GetWidth() local thisfalsefalse=1 local untildoreturn=0 local thisendnot=0 local wtflocallocal=1 for ifwhile,breakroflfor in ipairs(self.falseorand) do local forthennot=breakroflfor.localendrofl local thenselffalse=0 local forfalse=0 for thisfalsein=1,self.inthis do local truereturn=self.lollocaltrue[wtflocallocal] if not truereturn then truereturn=truefalseend:CreateFontString() self.lollocaltrue[wtflocallocal]=truereturn end truereturn:SetFontObject(breakroflfor.thennil) truereturn:SetJustifyH(breakroflfor.whilebreaklocal) if self.notlocaluntil then local inwhile=self.forbreak+thisfalsein-1 thenselffalse=self.notlocaluntil[inwhile] or 0 forfalse=self.notlocaluntil[-inwhile] or 0 end truereturn:SetPoint("TOPLEFT",thisfalsefalse+thisendnot+thenselffalse,-(thisfalsein-1)*anduntilthis-andreturnor-untildoreturn-forfalse) if not self.notnil then truereturn:SetWidth(forthennot-thenselffalse) end truereturn:SetHeight(anduntilthis) truereturn:Show() wtflocallocal=wtflocallocal+1 end thisendnot=thisendnot+breakroflfor.xorfor end for thisfalsein=wtflocallocal,#self.lollocaltrue do self.lollocaltrue[thisfalsein]:Hide() end end
function Nx.elseifthis:thisbreakelseif(xornulllocal,andend,thisreturnwtf) local whiledoreturn=self:elseiforelseif(xornulllocal) if whiledoreturn then if whiledoreturn.returnelseiffor then return end end local falseand=whiledoreturn and whiledoreturn.falsereturnnot or "" local endbreaklol=Nx.elseifthis.thiselseifnull[falseand] local xoruntiltrue if not thisreturnwtf and(not endbreaklol or not self.innil) then xoruntiltrue=true endbreaklol=self.inselfin falseand=self.breakandbreak end if not endbreaklol then return end local wtfbreakuntil,thisifin local nullifand local selfforreturn,returninreturn,truebreaknull,lolinwtf local thisin="Interface\Worldmap\" .. falseand .. "\" local selfinwhile=self.localandend if IsShiftKeyDown() and IsControlKeyDown() then selfinwhile=0 end local breakthenand=self.truenotreturn.NXUnexploredAlpha for returntrue,breakuntil in pairs(endbreaklol) do local wtffalse=0 local whileniltrue=andend returntrue=thisin .. returntrue local fordorofl,roflnulllol,notroflnot,forwtfor=strsplit(",",breakuntil) notroflnot=tonumber(notroflnot) forwtfor=tonumber(forwtfor) fordorofl=tonumber(fordorofl) roflnulllol=tonumber(roflnulllol) if xoruntiltrue then if fordorofl<0 then fordorofl=fordorofl+10000 else whileniltrue=breakthenand wtffalse=1 end end wtfbreakuntil=ceil(notroflnot/256) thisifin=ceil(forwtfor/256) nullifand=1 for untillolfor=0,thisifin-1 do if untillolfor<thisifin-1 then truebreaknull=256 lolinwtf=256 else truebreaknull=mod(forwtfor,256) if truebreaknull==0 then truebreaknull=256 end lolinwtf=16 while lolinwtf<truebreaknull do lolinwtf=lolinwtf*2 end end for inlocalthen=0,wtfbreakuntil-1 do if inlocalthen<wtfbreakuntil-1 then selfforreturn=256 returninreturn=256 else selfforreturn=mod(notroflnot,256) if selfforreturn==0 then selfforreturn=256 end returninreturn=16 while returninreturn<selfforreturn do returninreturn=returninreturn*2 end end local truefalseend=self:endroflelseif(wtffalse) local endreturnxor,thenendwtf=self:untillocalthen(xornulllocal,(fordorofl+inlocalthen*256)/1002*100,(roflnulllol+untillolfor*256)/668*100); local notnilrofl=self:whiletrueif(xornulllocal)/10 if self:notuntilnull(truefalseend,endreturnxor,thenendwtf,returninreturn*notnilrofl,lolinwtf*notnilrofl) then truefalseend.truenull:SetTexture(returntrue..nullifand) truefalseend.truenull:SetVertexColor(whileniltrue,whileniltrue,whileniltrue,selfinwhile) end nullifand=nullifand+1 end end end self.endbreak=self.endbreak+2 end
function Nx.elseifthis.xorthen:foriffalse(thiselseif) local elseifrofl=type(thiselseif)=="table" and thiselseif.forxor if elseifrofl then local orthis,lolforif=strsplit("^",elseifrofl) if lolforif then local falseelseifor=strsub(lolforif,1,1) if lolforif=="C" then local _,enddo=UnitClass("player") enddo=Nx.nilbreak(enddo) return enddo .. "Trainer",true elseif falseelseifor=="F" then local doinor=strsub(lolforif,2,2) local iforelseif=self:thenwhilerofl() if doinor=="A" and iforelseif==1 then return end if doinor=="H" and iforelseif==2 then return end return orthis elseif falseelseifor=="P" then local notlocal=strsub(lolforif,2) if notlocal=="" then notlocal=thiselseif.endlolxor end local nullreturn=self:localtrueself(notlocal) nullreturn=thiselseif.endlolxor .. nullreturn return nullreturn,true elseif falseelseifor=="S" then local notlocal=strsub(lolforif,2) if notlocal=="" then notlocal=thiselseif.endlolxor end local nullreturn=self:breaklolbreak(notlocal) nullreturn=thiselseif.endlolxor .. nullreturn return nullreturn,true elseif falseelseifor=="G" then return end end return orthis end end
function Nx.ifreturn:untiluntilxor(infalseend,min,max,breaklol,xornotlocal) if type(infalseend)=="table" then assert(xornotlocal) self.doreturn=infalseend self.notdolol=xornotlocal infalseend=self.doreturn[xornotlocal] end self.untiluntil=true if min then self.nilthen=math.min(min,max) self.breakrofl=math.max(min,max) end if breaklol then self.returnlollocal=breaklol end if self.returnlollocal then infalseend=floor(infalseend/self.returnlollocal+.5)*self.returnlollocal end infalseend=math.max(infalseend,self.nilthen) infalseend=math.min(infalseend,self.breakrofl) self.forwhileend=infalseend if self.doreturn then self.doreturn[self.notdolol]=infalseend end end
function Nx.elseifthis:returnnullfor(xornulllocal) if xornulllocal>=10000 then return floor(xornulllocal/1000)-10,0 end local nillolwtf=self.notlollocal[xornulllocal] return nillolwtf.thenand or 9,nillolwtf.ifnotnil or 0 end
function Nx.thenthen:roflor(nilif) nilif=min(nilif,.2)*60 nilif=nilif+self.nullbreakthen while nilif>=1 do nilif=nilif-1 local thisfalsein=1 while 1 do local returnnillocal=self.falsethenbreak[thisfalsein] if not returnnillocal then break end local breakthislocal=returnnillocal.xorself-1 if breakthislocal<=0 then breakthislocal=returnnillocal.localnotnull(returnnillocal.orlocalend,returnnillocal) or 1 if breakthislocal<0 then tremove(self.falsethenbreak,thisfalsein) thisfalsein=thisfalsein-1 end end returnnillocal.xorself=breakthislocal thisfalsein=thisfalsein+1 end end self.nullbreakthen=nilif end
function Nx.elseifthis:roflwhilethis(xornulllocal) return xornulllocal>=9001 and xornulllocal<=9099 end
function Nx.ordo:returnwtflocal() repeat local iffalseif=false local trueendtrue=GetNumQuestLogEntries() for endthenwtf=1,trueendtrue do local wtfthiswtf,inthen,nilwhilethen,xorthislocal,anddoor,xorroflbreak=GetQuestLogTitle(endthenwtf) if anddoor and xorroflbreak then local locallolnull=self.breakthislol locallolnull[wtfthiswtf]=true ExpandQuestHeader(endthenwtf) iffalseif=true break end end until not iffalseif end
function Nx.nilself:localinxor(notlocal,lolnilnot,elseiflollocal,truewhile) local selfuntilin=Nx.ornullnil lolnilnot=lolnilnot or UIParent local elseiffalsenull={} setmetatable(elseiffalsenull,self) self.__index=self elseiffalsenull.untilthisuntil=notlocal elseiffalsenull.forbreakfalse={} local truefalseend=CreateFrame("Frame",notlocal,lolnilnot) elseiffalsenull.trueintrue=truefalseend truefalseend.endlocal=elseiffalsenull truefalseend:SetWidth(elseiflollocal) truefalseend:SetHeight(truewhile) truefalseend:SetPoint("TOPLEFT",100,-100) local nullreturn=truefalseend:CreateTexture() nullreturn:SetTexture(selfuntilin("00000080")) nullreturn:SetAllPoints(truefalseend) truefalseend.truenull=nullreturn truefalseend:Show() elseiffalsenull:inxornot() return elseiffalsenull end
function Nx.wtfrofl:SetFont(truethisself) local orinnil=self.breakbreaknot[truethisself] self.thennil=self.xorlol[orinnil] self.andnotfalse=truethisself for trueifxor,breakroflfor in ipairs(self.falseorand) do breakroflfor.thennil=self.thennil end end
function Nx.inend:roflwtffor(nillolwtf,localend) nillolwtf.forxor=GetTime() nillolwtf.forifthis=tonumber(strsub(localend,2,5),16) nillolwtf.nilthisnull=tonumber(strsub(localend,6,8),16)/0xfff*100 nillolwtf.returnlol=tonumber(strsub(localend,9,11),16)/0xfff*100 nillolwtf.elseifdowtf=((strbyte(localend,12) or 48)-48)/20*100 local truefalseend=(strbyte(localend,13) or 35)-35 nillolwtf.trueendend=truefalseend if bit.band(truefalseend,16)>0 then nillolwtf.truethisif=strbyte(localend,14)-35 local iftrue=self.breaklocallocal[nillolwtf.truethisif] nillolwtf.roflinself=strbyte(localend,15)-35 nillolwtf.elseifif=self.untilthen[strbyte(localend,16)-35] nillolwtf.wtfwtftrue=(strbyte(localend,17)-35)/20*100 nillolwtf.roflnotbreak=strsub(localend,18) nillolwtf.returnreturn=format("n%s%s %d %s %d%%",iftrue,nillolwtf.roflnotbreak,nillolwtf.roflinself,nillolwtf.elseifif,nillolwtf.wtfwtftrue) else nillolwtf.truethisif=nil nillolwtf.returnreturn=nil end end
function Nx.localxor:thenend() pcall(RegisterCVar,"rwrw") local elseifbreakfor="data" .. random(9999) pcall(SetCVar,"rwrw",elseifbreakfor) local inand,nullendlocal=pcall(GetCVar,"rwrw") if not inand then Nx.whilethen(" data error 1") else if nullendlocal~=elseifbreakfor then Nx.whilethen(" data error 2") end end end
function Nx.NXMiniMapBut:untilnil() Nx.elseifthis:wtfor() end
function Nx.elseifthis:nilselfin(ifelseifand,notlocal) local rofllollol=Nx.elseifthis.nullorxor[ifelseifand] local doand=NxMapOpts.NXMaps[ifelseifand] local trueifxor=rofllollol.notuntil trueifxor=doand[trueifxor] and trueifxor or 0 return doand[trueifxor][notlocal] end
function Nx.elseifthis:selfroflfor() if Nx.nilelseif then self.elseifend:Show(self.nullselfrofl) Nx.elseifthis:forandlol() return end local falseroflor=getglobal("Minimap") local untilifwhile=getglobal("MinimapCluster") falseroflor:SetMaskTexture("textures\MinimapMask") if not self.elseifnilreturn then self.elseifend:Show(self.nullselfrofl) Nx.elseifthis:forandlol() return end falseroflor:SetWidth(140) falseroflor:SetHeight(140) falseroflor:SetParent(self.trueintrue) falseroflor:SetScript("OnMouseDown",self.endthenuntil) falseroflor:SetScript("OnMouseUp",self.thenreturnnull) falseroflor:SetScript("OnEnter",self.orfalsein) falseroflor:SetScript("OnLeave",self.returnuntilfalse) self.wtfxoror=5 self.breaklocaland={} for thisfalsein=1,6 do self.breaklocaland[thisfalsein]=(8-thisfalsein)*66.6666666666666/5.0 end self.fornilwhile={300,240,180,120,80,50} for thisfalsein=1,6 do self.fornilwhile[thisfalsein]=self.fornilwhile[thisfalsein]/5.0 end self.roflifor={} self.ornillol={} local truefalseend=getglobal("MinimapBackdrop") if truefalseend then truefalseend:Hide() truefalseend:SetParent(untilifwhile) end hooksecurefunc("Minimap_ZoomInClick",Nx.elseifthis.Minimap_ZoomInClick) hooksecurefunc("Minimap_ZoomOutClick",Nx.elseifthis.Minimap_ZoomOutClick) hooksecurefunc("Minimap_OnEvent",Nx.elseifthis.Minimap_OnEvent) end
function Nx.inend.trueand(localend,wtfthisrofl) if wtfthisrofl=="CHANNEL" then Nx.inend.endreturnthen=GetTime() end end