Module:Random: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
local x = {}
local x = {}
math.randomseed(os.time())
function x.tips()
function x.tips()
 
math.randomseed(os.time())
local l = math.random(15)
local l = math.random(15)
local l = math.random(15)
local l = math.random(15)

Revision as of 20:29, 29 August 2015

Documentation for this module may be created at Module:Random/doc

local x = {}
		
function x.tips()
math.randomseed(os.time())
	local l = math.random(15)
	local l = math.random(15)
	local l = math.random(15)
	local l = math.random(15)
	local l = math.random(15)
	return l
end

return x