The variable %t has become too long. I'm guessing you are generating random number sequences of a large number of digits. btw why not use $rand(0,9), its not truely random if you restrict it.
To solve the problem, add an if statement to check the length of variable %t, if its length is more than X charactors, echo the line, unset the var (or set it to the next single random number) and continue.
if (%t >= X) { echo 4 %t | set %t $rand(0,9) }
else { set %t %t $+ $rand(0,9) }
Also, doesn't look like you use %t outside of this alias, plus you unset it at the end, so it would be more efficient to use var %t rather than set %t
Edit :: and indeed sk's example is a much better way to do it. Although you would still need to alter it to handle long sequences or you will get a similar string too long error.
Last edited by Om3n; 06/11/05 06:00 AM.