More actions
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
local x = {} | local x = {} | ||
math.randomseed(os.time() * os.clock()) | |||
function x.tips() | function x.tips() | ||
--math.random() math.random() math.random() math.random() math.random() | |||
math.random() math.random() math.random() math.random() math.random() | |||
for i = 1, 1000 do | --for i = 1, 1000 do | ||
j = math.random(i, 15) | --j = math.random(i, 15) | ||
return j | --return j | ||
end | --end | ||
return math.random(10) | |||
end | end | ||
return x | return x |