My bad, of course the first loop condition was supposed to read (%i < %max) and not (%i < $1), which is pretty much all you changed

As for the terminology, a single execution of a loop is usually called an iteration, so it's not technically incorrect, even though I agree it's maybe somewhat oddly chosen. Not my choice of words, I modified someone else's script to slightly increase it elegance.. within the limitations of mIRC scripting.
As for your alternative random script: it's not really what I'm looking for. I need it to be truely random, that includes two consecutive identical results. However, it has it's purposes
