Dont forget the seed(timestamp()) before all that or else the random will always return the same values each time you run the script
Really? I made a few test cases and I always get random values without modifying the seed. Of course it’s not anything good for security or encryption, but for most generic purposes, seems to work fine for me.
Of course you get the same results if you manually set the random seed to a constant every time you call the random function, but that wouldn’t make much sense unless you are really expecting a constant outcome (like for frame rendering purposes). (Oh wait, did some hw manufacturer just do that recently?)
[QUOTE=Kameleon;12751]Dont forget the seed(timestamp()) before all that or else the random will always return the same values each time you run the script :D[/QUOTE]