Warriorii, judging by your example, you don't need two if conditions really. This is a true or false scenario, so you can just do:
if (%gswitch == on) {
;no need for goto. Just put the routine here
}
else {
set %rn $rand(0,1000)
set %gswitch on
msg %ng 4 A new game has started. Type !guess and a number from 1 to 1,000 Good Luck!
echo 3 -a %rn
}
Again, this suggestion is based on the example of your latest post above.