Top

Higher Lower Guessing Game


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  1
Date Added  Aug 12, 2006
Last Updated  Aug 12, 2006
Tags  gane  guess  guessing  high  higher  low  lower  number 
  Bookmark and Share

Introduction

Just paste this into remote and type !start to start the game, !guess NUMBER to guess, and !stop to end the game. I don't take full credit for this script, the other high lows I found on the site didn't work very well. So I fixed it.

Grab the Code

Comments

  (7)  RSS
shugo103
Comments: 38
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 17, 2006 3:44 am
The only thing I have to say is, not yours.
Alien_wkshop
Comments: 5
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 26, 2006 5:41 pm
another version of timebomb i think better is cut wire u a random amount of wires cut 1 and get kicked if wrong type @cut <color> to try to defuse its not mine either but whateva
========================================================================

on $*:TEXT:/^[!@%.](timebomb|bomb) /Si:#:{
if ($nick !isop $chan) { .notice $nick *** [4Time Bomb]: Time Bombs can only be set by Channel Ops. | halt }
if ($2 !ison $chan) { .notice $nick *** [4Time Bomb]: Usage: !timebomb <nick> (person MUST be on $chan $+ ) | halt }
if ($2 == $me) { .notice $nick *** [4Time Bomb]: Choose a person OTHER than me please. | halt }
if (%timebomb) { .notice $nick Timebomb is already being used | halt }
else timebomb $chan $2
}

alias timebomb {
set %timebomb 1
set %timebomb.nick $2
set %timebomb.address $address($2,3)
set %tbrunaway. [ $+ [ $address($2,3) ] ] $1
set %timebomb.chan $1
set %timebomb.time $rand(20,90)
set %timebomb.w. $rand(2,6)
if (%timebomb.w. == 2) { .set %timebomb.w Red, Blue }
if (%timebomb.w. == 3) { .set %timebomb.w Red, Blue, Green }
if (%timebomb.w. == 4) { .set %timebomb.w Red, Blue, Green, White }
if (%timebomb.w. == 5) { .set %timebomb.w Red, Blue, Green, White, Black }
if (%timebomb.w. == 6) { .set %timebomb.w Red, Blue, Green, White, Black, Purple }
while (%timebomb.w2 !isin %timebomb.w) {
set %timebomb.w2 $rand(1,6)
set %timebomb.w2 $replace(%timebomb.w2,1,Red,2,Blue,3,Green,4,White,5,Black,6,Purple)
}
echo -a *** Correct wire is %timebomb.w2
describe $chan stuffs a Time Bomb down %timebomb.nick $+ 's Pants. The display reads %timebomb.time seconds.
msg $chan %timebomb.nick $+ : You have the choice of4 %timebomb.w. wires ( $+ %timebomb.w $+ ) use4 @cut <color> to cut one!
.enable #bombon
.timerbombhalf 1 $calc(%timebomb.time / 2) msg %timebomb.chan Hurry %timebomb.nick $+ ! You only have $calc(%timebomb.time / 2) seconds left!
.timerbomb 1 %timebomb.time /tblose
}

#bombon off
on $*:TEXT:/^[!@.](cut|cutwire) /Si:%timebomb.chan:{
if ($address($nick,3) == %timebomb.address) {
if (($findtok($remove(%timebomb.w,$chr(32)),$2,1,44)) && ($2 == %timebomb.w2)) {
msg $chan $nick has cut the $2 wire and has successfully diffused the Bomb!
if ($me isop $chan) { mode $chan +v $nick }
.timerbombhalf off
.timerbomb off
.disable #bombon
.unset %timebomb* %tbrunaway. [ $+ [ $address($nick,3) ] ]
}
elseif (!$findtok($remove(%timebomb.w,$chr(32)),$2,1,44)) {
msg $chan $nick $+ , That's not a valid wire! Choices are %timebomb.w $+ ! Hurry!
}
else {
msg $chan $nick has cut the $2 wire. %timebomb.w2 was the correct wire! The Bomb has EXPLODED!
if ($me isop $chan) { kick $chan $nick *BOOM* }
.timerbombhalf off
.timerbomb off
.disable #bombon
.unset %timebomb* %tbrunaway. [ $+ [ $address($nick,3) ] ]
}
}
}
#bombon end

alias tblose {
.disable #bombon
.unset %tbrunaway. [ $+ [ $address(%timebomb.nick,3) ] ]
msg %timebomb.chan %timebomb.nick has failed to defuse the bomb, and it has detonated.
if ($me isop %timebomb.chan) kick %timebomb.chan %timebomb.nick *BOOM*
.unset %timebomb*
}

on *:part:%timebomb.chan:{
if ((%timebomb.address) && ($address($nick,3) == %timebomb.address)) {
.disable #bombon
msg $chan [4Time Bomb]: %timebomb.nick can't get away that easily. Wait until he rejoins...
.unset %timebomb*
.timerbombhalf off
.timerbomb off
}
}

on *:nick:{
if ((%timebomb.address) && ($address($nick,3) == %timebomb.address)) {
%timebomb.nick = $newnick
msg %timebomb.chan [4Time Bomb]: Can't escape me that way %timebomb.nick $+ ! Better Hurry!
}
}

on *:quit:{
if ((%timebomb.address) && ($nick == %timebomb.nick)) {
.disable #bombon
.timerbombhalf off
.timerbomb off
msg %timebomb.chan [4Time Bomb]: %timebomb.nick can't get away that easily. Wait until he rejoins...
.unset %timebomb*
}
}

on *:JOIN:#:{
if ($chan == %tbrunaway. [ $+ [ $address($nick,3) ] ] ) {
msg $chan [4Time Bomb]: You thought you could escape, $nick $+ ! But you have a Time Bomb waiting!
timebomb $chan $nick
}
}

on *:TEXT:**:#:{
if (%lines. [ $+ [ $nick ] ] == $null) {
/set %lines. [ $+ [ $nick ] ] 1
/timer 1 %secondsignore. /unset %lines. [ $+ [ $nick ] ]
}
if (%lines. [ $+ [ $Nick ] ] != $null) {
/inc %lines. [ $+ [ $nick ] ] 1
}
if (%lines. [ $+ [ $nick ] ] == %numbline.) {
/notice $nick You've been ignored, %numbline. lines in less then %secondsignore. seconds. %ignoretime. second penalty.
/ignore $address($nick, 1)
/timer 1 %ignoretime. /ignore -r $address($nick, 1)
/halt
}
}

on *:TEXT:*brb*:#:{
if (%gone. [ $+ [ $nick ] ] == $null) {
/set %gone. [ $+ [ $nick ] ] $ctime
/msg $chan 11 << 12 $nick 11>> has stepped away to masterbate.
}
}
on *:TEXT:*back*:#:{
if (%gone. [ $+ [ $nick ] ] != $null) {
/msg $chan 11 << 12 $nick 11>> 10is back and done masterbating 12Time Gone $duration($calc($ctime - %gone. [ $+ [ $nick ] ] $ctime)))
/unset %gone. [ $+ [ $nick ] ]
}
}
Metallboy100
Comments: 28
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 21, 2007 1:59 pm
wery nice, i love this game
mountaindew
Comments: 1,645
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 21, 2007 2:16 pm
Alien_wkshop, when pasting codes, do this

put
Code:
 before the code, and
after the code
mountaindew
Comments: 1,645
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 21, 2007 2:16 pm
damn, do this

[ c o d e ] before the code, and [ / c o d e ] after the code, but w/o the spaces
xDaeMoN
Comments: 696
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 21, 2007 2:21 pm
@ mountaindew, at the time he posted that comment, bbcodes were not yet implemented yet in the comments system. This was just implemented a few months ago.
mountaindew
Comments: 1,645
 
mIRC Snippet:  Higher Lower Guessing Game
Posted on Aug 21, 2007 2:23 pm
oh sorry

Please Register or Login to start posting comments.
Bottom