According to the wiki, math.randomseed sets the pseudo-random generator to determine the sequence of numbers math.random will generate.
But...
It shows us how to set the seed, but is it possible to get the seed? What use does the math.randomseed argument have (besides passing the timestamp tick), if we can't get the seed of the current environment.
What if I said something like:
for i = 1,5 do
print(math.random(10))
end
And gave an output of:
3
7
5
1
9
Is there a way I could get the random seed from this environment, so I could then pass it as an argument to math.randomseed in another script, so it would generate the same number pattern in that situation?
