No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local random = {} |
local random = {} |
||
function random.rand(frame) |
function random.rand(frame) |
||
+ | -- testing |
||
− | math.randomseed(os.time(os.date('*t'))) |
+ | ---math.randomseed(os.time(os.date('*t'))) |
− | math.random(frame.args[1]) math.random(frame.args[1]) math.random(frame.args[1]) |
||
− | + | -- math.random(frame.args[1]) math.random(frame.args[1]) math.random(frame.args[1]) |
|
+ | return os.time(os.date('*t')) |
||
end |
end |
||
return random |
return random |