Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 2
- local b = CreateFrame("Button", "smth", UIParent, "UIPanelButtonTemplate")
- b:SetSize(80 ,22) -- width, height
- b:SetText("Button!")
- b:SetPoint("CENTER")
- b:SetScript("OnClick", function()
- -- i = 2
- -- local
- -- id = 1
- -- for i=1,999 do
- -- b = id+1
- -- end
- if i ~= nil then i = i + 1 end
- -- i =
- -- while true do -- infinite loop
- print(i)
- -- i = i + 1
- -- end
- -- print(i)
- -- i = i + 1
- -- end
- msg = (".aura ")
- SendChatMessage(msg..i, "Say")
- -- i = 1
- -- while i <= 5 do
- -- print (i)
- -- i = i + 1
- -- end
- -- i = 100
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement