/timer <amount of times> $r(4,10)

that pck a random number only the first time. if a want a net number each iteration, use $!rand or $!r