quick question about how randomseed can be used. i want to be able to generate a random number between 1 and 4, and use system time for fairly accurate randomization.
how exactly does it work? the system i tried to use has it as 4 as the upper bound, and then +1 to make sure the output isn’t 0.
math.randomseed(4 * os.time() + 1)