for i=1, 50 do print(math.random(1,2)) endAll the random number will be different, which is not the case in regular lua, as I explained. How does computercraft achieve this? I looked through the source and could not find any redefinition of math.random (At least in the lua section) yet it seems to work differently. How is this achieved, and how can I do it in vanilla lua?
P.S. We have a stackexchange tag now
Edited by mrpoopy345, 27 May 2015 - 09:51 PM.











