Advertisement
alexdubovyck

aura ID - Для Whizer 07

Feb 13th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. i = 2
  2.  
  3. local b = CreateFrame("Button", "smth", UIParent, "UIPanelButtonTemplate")
  4. b:SetSize(80 ,22) -- width, height
  5. b:SetText("Button!")
  6. b:SetPoint("CENTER")
  7. b:SetScript("OnClick", function()
  8. -- i = 2
  9.  
  10. -- local
  11. -- id = 1
  12.  
  13. -- for i=1,999 do
  14.  
  15.  
  16. -- b = id+1
  17. -- end
  18. if i ~= nil then i = i + 1 end
  19. -- i =
  20. -- while true do -- infinite loop
  21. print(i)
  22. -- i = i + 1
  23.  
  24. -- end
  25. -- print(i)
  26. -- i = i + 1
  27. -- end
  28.  
  29.  
  30. msg = (".aura ")
  31. SendChatMessage(msg..i, "Say")
  32.  
  33.  
  34. -- i = 1
  35. -- while i <= 5 do
  36. -- print (i)
  37. -- i = i + 1
  38. -- end
  39. -- i = 100
  40.  
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement