Module:Random

From MassiveCraft Wiki
Revision as of 20:31, 29 August 2015 by Ryciera (talk | contribs)
Jump to navigation Jump to search

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

local x = {}
		
function x.tips()
	local theSeed = os.time()
for _=1,10 do
  theSeed = theSeed + 1
  print( "Seeding with "..theSeed )
  math.randomseed( theSeed )
  for i=1,5 do
    return( math.random( 1, 100 ) )
  end
end

--math.randomseed(os.time())
--	local l = math.random(15)
--	return l
end

return x