Warriorii commented on a Page, Number Game  -  Aug 26, 2010

i see what u mean about the ==on and !=on but they both have to be there because when the game start if the var on isnt in the vars the game wont start... look at it again here. maybe u can understand my bad scripting lol

if (%gswitch == on) goto play
if (%gswitch != on) { 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 }

once the switch is on then the goto play skips the line set %gswitch on but on a new game the switch is set to off therefore the second line comes into play. I know u guys know a whole lot more than i could ever start to know or ever will know. i just do this little bit of scripting because i like to script so much and i enjoy your comments and wish i could do it better. thanks and i'll look at it and see if can do anything. but if anyone want to change it and repost it please feel free to do so

 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.