Top

Bomb script.


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  5.0 (of 1 scores)
Date Added  Aug 12, 2009
Last Updated  Oct 21, 2009
Tags  blue  bomb  cut  elite  ghostbot  green  kaboom  msl  on  red  scripting  swiftirc  wire  yellow 

Introduction

Best bomb script on hawkee. 4 colours, a few cheats for the confused person and a bomb score thingy :P. commands are, !bombscore person !bomb person, if no person is given it will use you, you cannot bomb the bot. and to cut a wire just say the word in a sentence, and no, you cannot say !red !blue !black !green. it will use the last one you choose.

Grab the Code

on *:TEXT:!bombscore*:#: {
  var %person $iif($2,$2,$nick)
  var %score $calc($readini(bot.ini, bombd, %person) - $readini(bot.ini, Bombl, %person))
  msg # %person has a bomb score of %score
  if ( %score >= 30 ) {
    msg # %person is an 1,13Astronmocal Bomb Defuser
  }
  elseif ( %score >= 20 ) {
    msg # %person is an 4,8Insane Bomb Defuser
  }
  elseif ( %score >= 10 ) {
    msg # %person is an 1,8AMAZING Bomb Defuser
  } 
  elseif ( %score >= 5 ) {
    msg # wow %person is an  1,4Elite Bomb Defuser  
  }
  elseif ( %score >= 2 ) {
    msg # wow %person is a 0,14certified bomb defuser
  }
  elseif ( %score >= 0 ) { 
    msg # %person is a 0,1average Bomb Defuser
  }
  else {
    msg # %person is a 1,15Horrible Bomb Defuser
  }
}
on $*:TEXT:/^[!@.]bomb/Si:#:{
  if (!%bomba) {
    set %bombchan $chan
    if ($2 == $me) { msg # $nick You 0,1CANT bomb me >.> | halt }
    elseif ($strip($2) == $nick) || (!$2) {
      set %bomba 1
      set %bomber $nick   
      set %bombnick $iif($2,$strip($2),$nick)
      unset %radaruse
      var %sec $rand(15,40)
      set %color $read(colour.txt)
      var %time $calc( %sec / 1/2 )
      msg $chan $read(phrase.txt)
      msg $chan  $+ %bombnick $+ , type 0,4!red 0,12!blue 0,1black or 0,3!green to cut the wire and deactive the bomb!
      .timerbombremain 1 %time msg #  $+ %time seconds remaining!!
      .timerbombdead 1 %sec unset22
      .timerbombsecond 1 %sec unset %rad*
    }
    elseif ($2 ison $chan) {
      set %bomber $nick  
      set %bomba 1 
      set %bombnick $strip($2)
      var %sec $rand(20,50)
      set %color $read(colour.txt)
      var %time $calc( %sec / 1/2 )
      msg $chan $read(phrase2.txt)
      msg $chan  $+ $2 $+ , type 4,0!red 12,0!blue 1,0!Black or 3,0!green to cut the wire and deactive the bomb!
      set %color $read(colour.txt)
      .timerbombremain 1 %time msg #  $+ %time seconds remaining!!
      .timerbombtime 1 %sec unset22
    }
    else { .notice $nick I do not see that person, im sorry. }
  }
  else { $iif(!%bombtalked,.msg $chan %bombnick is currently being bombed.) | set %bombtalked 1 }
}
alias unset22 {
  var %x $iif($readini(bot.ini, Bombl, %bombnick),$readini(bot.ini, bombl, %bombnick),0)
  inc %x
  writeini bot.ini bombl %bombnick %x
  msg %bombchan %bombnick 4(((~~~~~KABOOOOOMMM!!!!~~~~~))) Congratulation, You were bombed by %bomber $+ ! %bombnick has died %x times.
  unset %bomb*
}
alias colours {
  var %x $false
  if (black iswm $1) { var %x $true }
  if (green iswm $1) { var %x $true }
  if (blue iswm $1) { var %x $true }
  if (red isin $1) { var %x $true }
  return %x
}
alias colourcheck {
  if ($colours($1)) { var %x $1 }
  if ($colours($2)) { var %x $2 }
  if ($colours($3)) { var %x $3 }
  if ( %x == %color ) { return $true }
  else { return $false
  }
}
on $*:TEXT:*:#: {
  if ($nick == %bombnick) {
    if ( $colourcheck($1-)) {
      var %defused $iif($readini(bot.ini, bombd, $nick),$readini(bot.ini, bombd, $nick), 0)
      inc %defused
      writeini bot.ini bombd $nick %defused
      msg $chan Great, the bomb is off! I bet %bombnick feels lucky today!
      msg $chan %bombnick has defused $readini(bot.ini, bombd, $nick) bombs
      .timerbomb* off
      unset %bomb*
      halt
    }
    if (!red isin $1-) || ( !blue isin $1- ) || ( !Green isin $1-) || ( !black isin $1-) {
      var %x $iif($readini(bot.ini, Bombl, $nick),$readini(bot.ini, bombl, $nick),0)
      inc %x 1
      writeini bot.ini bombl $nick %x
      msg $chan %bombnick 4(((~~~~~KABOOOOOMMM!!!!~~~~~))) you just pick up the wrong wire! %bombnick has died %x times.
      .timerbomb* off
      unset %bomb*
    }
  }
}
on *:load: {
  .remove phrase.txt
  .remove phrase2.txt
  write Phrase2.txt 0,1 well i guess a man must do what a man must do DISABLE THIS BITCH >:) you got % $+ sec seconds to live $+ !!!
  write phrase2.txt 0,4XD TIME TO DIE MOTHA PUCKA >:) got % $+ sec seconds to live good luck >:)
  write phrase2.txt 0,4Meet my little friend % $+ bombnick :), Bomb thrown, % $+ sec seconds to live, thats all :o. 
  write phrase.txt 0,1Whoa, u wanna suicide, $ $+ nick $+ ? Okay, the bomb will explode in % $+ sec seconds! 
  write phrase.txt 4,1well i can see you're not about living so alright :P KABOOM TIME >:) bomb explodes in % $+ sec seconds 
  write phrase.txt 0,4XD TIME TO DIE MOTHA PUCKA >:) YOU GOT % $+ sec SECONDS TO LIVE@@@@
}

Comments

  (8)  RSS
Ryan-
Comments: 4
 
mIRC Snippet:  Bomb script.
Posted on Aug 12, 2009 12:28 am
EH
D2K7
Comments: 24
 
mIRC Snippet:  Bomb script.
Posted on Aug 12, 2009 8:18 am
To, long and, messy....But good LOL
VinX
Comments: 56
 
mIRC Snippet:  Bomb script.
Posted on Aug 12, 2009 9:18 am
too long and doesnt kick users .. >.<
wizard38
Comments: 24
 
mIRC Snippet:  Bomb script.
Posted on Aug 12, 2009 10:08 am
doesnt work
Ghost-writer
Comments: 258
 
mIRC Snippet:  Bomb script.
Posted on Aug 12, 2009 10:30 am
Wizard, It works fine when i use it. Whats wrong with it that you say it doesnt work?
[HANZam]
Comments: 17
 
mIRC Snippet:  Bomb script.
Posted on Aug 13, 2009 2:06 am
why its not working on me...

im using
• mIRC 6.36
• dalnet server
Ghost-writer
Comments: 258
 
mIRC Snippet:  Bomb script.
Posted on Aug 13, 2009 11:29 am
6.36 wtf o.o when did this come out?
just remember you cant activate this yourself, make sure somone else activates it or you put it in a bot. If all else fails try putting it in a new remote, maybe you have another on text event. other than that i cant think of any reasons because atm it works fine for me.
Phoenix-
Comments: 36
 
mIRC Snippet:  Bomb script.
Posted on Aug 28, 2009 3:24 pm
There is no 6.36 out yet.
You most likely have remotes off.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom