Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.78 KB | None | 0 0
  1. alias hilocrack {
  2.   if (($1 !isnum 0-2147483647) || ($2 !isnum 0-2147483647)) {
  3.     echo $color(Info text) * /hilocrack: usage: /hilocrack min_number max_number [gamesserv_nick]
  4.     halt
  5.   }
  6.   set %hilocrack.nick $iif($3 != $null,$ifmatch,GamesServ)
  7.   .enable #hilocrack
  8.   .msg %hilocrack.nick GUESS $gettok($calc(($1 + $2) / 2),1,46)
  9. }
  10. #hilocrack off
  11. on *:TEXT:$(* $+ $me You are a bit closer with * number is between * and *.*):#:if ($nick == %hilocrack.nick) .msg %hilocrack.nick GUESS $gettok($calc(($13 + $replace($15,.,)) / 2),1,46)
  12. on *:TEXT:*GAME OVER*:#:if ($nick == %hilocrack.nick) .disable #hilocrack
  13. on *:TEXT:$(* $+ $me is correct with * and wins, the rest of you are just Losers $chr(58) $+ $chr(41) $+ *):#:if ($nick == %hilocrack.nick) .disable #hilocrack
  14. #hilocrack end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement