Comments
Join Hawkee
|
Login
Search
in
Code Snippets
Images
Products
Reviews
Forum
Home
Platforms
.NET
C++
Cold Fusion
CSS
Hi5
Java
Javascript
mIRC
MySpace
mySQL
OpenSocial
Perl
PHP
Python
Ruby / Rails
TCL
Images
Recently Liked
Most Liked
Most Comments
Snippets
.NET (6)
C++ (5)
Cold Fusion (1)
CSS (2)
Hi5 (1)
Java (1)
Javascript (15)
mIRC (4,229)
MySpace (2)
mySQL (1)
OpenSocial (2)
Perl (7)
PHP (140)
Python (3)
Ruby / Rails (6)
TCL (20)
Products
Computers (15,161)
Electronics (9,668)
Software (1,342)
Video Games (4,644)
Reviews
Computers (9,940)
Electronics (23,583)
Software (3,060)
Video Games (8,596)
Posts
Latest Likes
Latest Comments
All Activities
Comments
Images
Scripts
Code Snippets
Products
Reviews
Profiles
Forum
username
password
auto login
Home
>
Code Snippets
>
Sephiroth1n6's Snippets
>
mIRC
number guessing
mIRC Code
+ 0
likes
Like it
Please
Register
to submit score.
Average Score
0.0
Scores Submitted
0
Date Added
Sep 22, 2007
Last Updated
Sep 22, 2007
Tags
guessing
number
Introduction
a simple number guessing game
Grab the Code
on *:TEXT:!nguess*:#:{ if (%numberz == $null) goto this if (%numberz != $null) goto that :this msg $chan 7 $Nick 4has started a number guessing game!guess by saying !ng NUMBER. set %numberz $rand(0,10000) echo 3 -a %numberz .notice Sephiroth1n6 4The answer is7 %numberz halt :that .notice $Nick 4a game is in progress. please wait until the game is over, or you could just type !stopnumber. halt } on *:TEXT:!stopnumber*:#:{ if (%numberz != $null) goto not if (%numberz == $null) goto yup :not msg $chan 4Number Guessing Stopped By7 $nick $+ .4 The Answer Was7 %numberz $+ . unset %numberz halt :yup .notice 7 $nick 4There Is Currently No Game In Progress. halt } on *:TEXT:!ng *:#:{ if ($2 > %numberz) goto greater if ($2 < %numberz) goto lesser if ($2 == %numberz) goto equal if (%numberz == $null) goto whom else goto what :greater msg $chan 7 $Nick $+ ,4 That Answer Was Wrong! But Keep Guessing. 7Try a Lower Number! halt :lesser msg $chan 7 $nick $+ ,4 That Answer Was Wrong! But Keep Guessing. 7Try a Higher Number! halt :equal msg $chan 7 $nick 4Guessed The Correct Number of7 %numberz $+ 4!!! unset %numberz halt :what halt :whom .notice $nick 4There is currently no game in progress. Type !nguess to start a game. halt }
Comments
(0)
RSS
Go to Bottom
Enter comment here..
Please
Register
or
Login
to start posting comments.
Sephiroth1n6
UsA
Last seen:
Apr 22, 2008
Profile
Friends
(3)
Snippets
(17)
Images
(2)
Comments Received
(71)
Comments Submitted
(62)
Forum Posts
(4)
My Snippet Tags
l33t
1337
amsg
attack
away
ban
calc
calculator
change
character
characters
christmas
cibber
ciber
cookie
counter
cout
couter
couting
cracker
death
deathmatch
digit
digits
dm
etoken
etokens
fun
game
games
guessing
hat
hot
join
kick
kickban
leet
line
lines
list
loop
match
message
mirc
msg
nick
none
number
party
pcoket
phat
quit
really
reverser
rs
rune
runescape
scape
script
staccia
text
translator
txt
while
word
words
Contact
Add to Friends
Send Private Message
AOL AIM:
KHFAN2004
Friends (3)
Flaze
Shiny_Umbreon
View All
Sponsors