Aucun50 commented on a Page, High Low  -  Apr 11, 2009

so like?

on *:TEXT:*:#: {
  if (!Number == $1) {
    if (!%num) {
      set -u60 %num $rand(1,100)
      .timer 1 1 msg $chan 3I 5have set a number, it is between 1 and 100.
      .timer 1 2 msg $chan 3To 5make a guess, type: !guess Number_Here
      .timer 1 3 msg $chan 3Start 5guessing now, you have one minute to guess the number.
      .timermin 1 120 msg $chan 3Game5 is now over you had one minute
    }
    else { msg $chan 3There 5is a game going right now }
  }
  if (!Guess == $1) {
    if (!%num) { msg $chan 3There 5is no game in progress. }
    else {
      if ($2 < $($+(%,num),2)) { msg $chan 3Higher. }
      if ($2 > $($+(%,num),2)) { msg $chan 3Lower. }
      if ($2 == $($+(%,num),2)) { msg $chan 3Bingo. 5 $+ $nick guessed the right number %num $+ . | unset %num | timermin stop }
    }
  } 
}
 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.