Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app = {
- function(a)
- return tonumber(tostring(a)..'2')
- end,
- function(a)
- if a == 0 or a == nil then return 0 end
- return tonumber(a) / 2
- end
- }
- math.randomseed(os.time())
- math.random()
- num = 1
- function GetNum()
- while true do
- str = ""
- num = 1
- for i=1,5 do
- if math.random(1,2) == 1 or i == 1 then
- str = str.."WR2\n"
- num = app[1](num)
- else
- str = str.."delim\n"
- num = app[2](num)
- end
- if(num == 16) then print(str) return end
- end
- end
- end
- GetNum()
Advertisement
Add Comment
Please, Sign In to add comment