Module:Test2

From ProleWiki, the proletarian encyclopedia
Revision as of 01:19, 18 February 2023 by Forte (talk | contribs) (Accepting arguments)
local p = {}

function p.randomNumber(frame)
	local min = tonumber(frame.args[1]) or 0
	local max = tonumber(frame.args[2]) or 100
	return math.random(min, max)
end

return p