I couldnt find at the moment anything related to this problem so here goes:
Here is a piece of code...
alias doRandom {
var %y = $1
var %i = 1
while (%i <= %y) {
if ($r(1,4) == 1) var %x = $r(a,z)
if ($r(1,4) == 2) var %x = $r(A,Z)
if ($r(1,4) == 3) var %x = $r(0,9)
if ($r(1,4) == 4) var %x = $r(a,Z)
var %res = %res $+ %x
inc %i
}
echo -a %res
}
And here is 5 lines of output via /doRandom 50
(Colors added manually of course)
_111]sXX^77Z3_g\U333000oooooqqZZccVVIIIUNNVV[Ea`_J
TTTZZQ666X2222Z8_8[aa6RRxz6^tZ44aa0Y]\\v5bQc555]]
pQoCZ``]88\````7VYGemmGGn_b3355555Dy8^V]]cAAAAa7B\
t\^^^^uaa74v3394[8]]Z5[[[\9rrxxxxxgU````ZXXX^^^^4^
^^^3aU555hhe77772\\^\FFZlD__YX667PKkkkkkVi`51]2ZZAnd the list goes on pretty much like this.... the longer the line is the worse it gets....
For example with 100 chars:
r^``````44oaaaaan4rZ\Ca]]]]]]5t77^Y0000000a\\\]7\qq8888555aa22^558\\J55``12_`jZ62220022[[[[``mmmUUUUUk[[[[6^6Sxxp7`Ygg22aaaaUU333``1111174XXXf22EEEQe6So the question is: what happened with
random?
Why it generates so much identical sequences?
From Wikipedia:
Randomness versus unpredictability
Randomness is an objective property. Nevertheless, what appears random to one observer may not appear random to another observer.
/../
Is that the reason or is mIRC (or me) messing something up?