Advertisement
aegius1r

單巨集

Apr 15th, 2016
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. /run 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>3 then if c>0 then PlaySoundKitID(5984) c=0 end T=m end end end F:SetScript("OnUpdate",X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement