Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Simple Matching Games

Recommended Posts

  • Administrators

Put this in a bot's remotes. Choose whichever one you like. The first one has 10 numbers, the second has 50, the third has 100, and the fourth has 1000

 

>on *:TEXT:!nummatch*:{  set %tomatch $rand(1,10)  set %trymatch $2  msg $chan The number you chose was: %trymatch  msg $chan The number to match was %tomatch  if (%trymatch == %tomatch) {  msg $chan Congradulations $nick Your number: %trymatch matched the number chosen: %tomatch. You win!}}on *:TEXT:!nummatch*:{  set %tomatch $rand(1,50)  set %trymatch $2  msg $chan The number you chose was: %trymatch  msg $chan The number to match was %tomatch  if (%trymatch == %tomatch) {  msg $chan Congradulations $nick Your number: %trymatch matched the number chosen: %tomatch. You win!}}on *:TEXT:!nummatch*:{  set %tomatch $rand(1,100)  set %trymatch $2  msg $chan The number you chose was: %trymatch  msg $chan The number to match was %tomatch  if (%trymatch == %tomatch) {  msg $chan Congradulations $nick Your number: %trymatch matched the number chosen: %tomatch. You win!}}on *:TEXT:!nummatch*:{  set %tomatch $rand(1,1000)  set %trymatch $2  msg $chan The number you chose was: %trymatch  msg $chan The number to match was %tomatch  if (%trymatch == %tomatch) {  msg $chan Congradulations $nick Your number: %trymatch matched the number chosen: %tomatch. You win!}}
Link to comment
Share on other sites



×
×
  • Create New...