Changing
set %randmsg $rand(1,6) —— unset %randmsg
to
Var %RandMSG $Rand(1,6)
Will eliminate a line of the code that'll be un-needed :o.