Jump to content
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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...