napa182 commented on a Page, Number Guessing Game  -  Sep 07, 2008

i didnt help in making this i made a diff one that does all the checks. i showed you the one i made lmao ;x

il show it again

ON *:TEXT:*:#:{ 
  if ($strip($1) == !Ng-Game) { 
    if (!$($+(%,number,$chan),2)) {
      set $+(%,number,$chan) $r(1,100) 
      msg $chan The Number Guessing game has begun. Type !Guess <Number 1 - 100 to play 
    } 
    elseif (!$($+(%,$chan,$nick,yesgame),2)) { msg $chan Game already in progress. Please Type " !guess 1-100 " to play. | set -u5 $+(%,$chan,$nick,yesgame) $nick }
  }
  if ($strip($1) == !guess) && (!$($+(%,flood,$chan),2)) { 
    set -u3 $+(%,flood,$chan) $nick
    if ($($+(%,number,$chan),2)) {
      if (!$2) || ($2 !isnum 1-100) { msg $chan 4Please pick a number 1-100 ex: !guess 34 }
      elseif ($2 == $($+(%,number,$chan),2)) { msg $chan 4 Well Done $nick The Number Was $2 | unset $+(%,number,$chan) }  
      else { msg # 3 $iif($2 < $($+(%,number,$chan),2),It's Higher Than $2,It's Lower Than $2) }
    }
    elseif (!$($+(%,$chan,$nick,nogame),2)) { msg $chan No Game in progress. Please Type " !Ng-Game " to start a game. | set -u5 $+(%,$chan,$nick,nogame) $nick }
  }
  if ($strip($1) == !ad) && (!$($+(%,flood,$chan),2)) { set -u3 $+(%,flood,$chan) $nick | Msg $chan This was made by dj801. Dj 801: http://www.hawkee.com/profile/48694/ }
  if ($strip($1) == !Ngg-End) && ($nick isop #) && ($($+(%,number,$chan),2)) { msg $chan The number guessing game has been ended by $nick | unset $+(%,number,$chan) }
}
 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.