Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias hilocrack {
- if (($1 !isnum 0-2147483647) || ($2 !isnum 0-2147483647)) {
- echo $color(Info text) * /hilocrack: usage: /hilocrack min_number max_number [gamesserv_nick]
- halt
- }
- set %hilocrack.nick $iif($3 != $null,$ifmatch,GamesServ)
- .enable #hilocrack
- .msg %hilocrack.nick GUESS $gettok($calc(($1 + $2) / 2),1,46)
- }
- #hilocrack off
- 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)
- on *:TEXT:*GAME OVER*:#:if ($nick == %hilocrack.nick) .disable #hilocrack
- 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
- #hilocrack end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement