Advertisement
aegius1r

時光

Apr 24th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. /跑 T,F=T or 0,F or CreateFrame("frame")if X then print("關")X=nil else print("開")X=function()local m=GetTime()t,c="時光流逝元龍",0 for i=1,10000 do p=_G["NamePlate"..i]if p and p:IsVisible()then c=c+(select(2,p:GetChildren()):GetRegions():GetText()==t and 1 or 0)end end if m-T>2 then if c>0 then PlaySoundKitID(28625, "master", true) message("發現"..t.."! ("..select(1,GetGameTime()).."點"..select(2,GetGameTime()).."分)") c=0 end StaticPopup1Button1:Click() T=m end end end F:SetScript("OnUpdate",X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement