I can see that you are using
to generate the result, but then the result will be from 1, 2, ..., 99, each with 1/99 chance.
So, the chance seems to be off.
For example, the chance to roll a number under 1 should be 0%, while the chance to roll a number under 99 should be 98/99.
Code:
rand = httpGet("http://www.random.org/integers/?num=1&min=1&max=99&col=1&base=10&format=plain&rnd=new&differ=" + (new Date()).getTime());
So, the chance seems to be off.
For example, the chance to roll a number under 1 should be 0%, while the chance to roll a number under 99 should be 98/99.
My stupid mistake, fixed it. Now the numbers range from 0 to 99, 1/100 chance each. Thanks!