More languages
More actions
m (Forgot to return export table) |
mNo edit summary |
||
Line 7: | Line 7: | ||
local b = parent.args[2] or 100 | local b = parent.args[2] or 100 | ||
local c = math.random(a,b) | |||
return c | |||
end | end | ||
return p | return p |
m (Forgot to return export table) |
mNo edit summary |
||
Line 7: | Line 7: | ||
local b = parent.args[2] or 100 | local b = parent.args[2] or 100 | ||
local c = math.random(a,b) | |||
return c | |||
end | end | ||
return p | return p |
local p = {}
function p.random(frame)
local parent = frame:getParent()
local a = parent.args[1]
local b = parent.args[2] or 100
local c = math.random(a,b)
return c
end
return p