Module:Random: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


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


return j
return j

Revision as of 20:41, 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, 15)

	return j
	end
end

return x