Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test2

From ProleWiki, the proletarian encyclopedia
Revision as of 01:46, 18 February 2023 by Forte (talk | contribs) (Using raw os.time() function)
local p = {}

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

return p