instead of setting a global var like this
set %iq $rand(1,20)
just set it like this
var %iq $r(1,20)
and thats a funny script nice..