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

Module:Random

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

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