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

Module:Random: Difference between revisions

From MassiveCraft Wiki
No edit summary
No edit summary
Line 4: Line 4:
math.randomseed(os.time())
math.randomseed(os.time())
math.random() math.random() math.random() math.random() math.random()
math.random() math.random() math.random() math.random() math.random()
local l = math.random(15)
 
return l
for i = 1, 1000 do
j = math.random(i, row-one)
 
return j
end
end
end


return x
return x

Revision as of 20:40, 29 August 2015

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

local x = {}
		
function x.tips()
math.randomseed(os.time())
	math.random() math.random() math.random() math.random() math.random()

	for i = 1, 1000 do
	j = math.random(i, row-one)

	return j
	end
end

return x