Jethro commented on a Page, Number Game  -  Aug 27, 2010

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.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.