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

@jethro_ if you want power the dodge is better 425HP bcz my BMW is 300HP

@SunnyD this is an e.g

on *:text:*:%ng:{
  if $istok(!newgame.!guess,$strip($1),46) && %fld {
    inc -u3 %fld
    if $strip($1) == !newgame {
      if (!%high) set %high 15
      if (%gswitch == on) msg %ng $ja $+ 8,1 There is a game in progress, Please finish this game first. Type !guess and your number  $+ $ja
      else {
        set %rn $r(0,1000)
        set %gswitch on
        msg # 4 A new game has started. Type !guess and a number from 1 to 1,000 Good Luck! 
        echo 3 -a %rn
      }
      if ($read(highscore.ini)) msg # $ja $+ 8,1 $v1 holds Low Score of %high  $+ $ja
    }
  }
  else {
    if %gswitch != on {
      msg # $ja $+ 9,1 There is no game in progress. To start a new game type !newgame  $+ $ja
      unset %tries
      halt
    }
    inc %tries
    if $2 == %rn {
      msg # $ja $+ 9,1 Congratulations $nick you guessed the number. It was $2  $+ $ja
      set %gswitch off
      unset %rn
      msg # $ja $+ 9,1 You got the correct answer in %tries tries  $+ $ja
      if %tries < %high {
        if ($read(highscore.ini)) msg # $ja $+ 8,1 $v1 Held old record with %high tries  $+ $ja
        write -c highscore.ini $nick
        set %high %tries
      }
      unset %tries
    }
    else msg # Sorry that number is to $iif($2 < %rn,low,hight) try again
  }
}
alias ja return 14,5«15,4¤14,5»
 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.