Module:Random

From PathfinderWiki
{{#invoke:Random|number}}
will output a random number. This is meant as a technical solution for some HTML problems.
local p = {}

function p.number( frame )
	math.randomseed(mw.site.stats.edits + mw.site.stats.pages + os.time() + math.floor(os.clock() * 1000000000))
    return math.random()
end

return p