bomb game

By anthony1293 on Jun 05, 2009

a fun bomb game, i made it with 3 rounds to make it more challenging.
to start basically type !bomb and it will tell you what to do from there. have fun!

edited: i fixed it so it actually works this time.

on *:text:!Bomb:#:{ 
  if ($nick == %bombed2 [ $+ [ $nick ] ]) {
    notice $nick you are currently on round 2 please type !round2 to start your round | halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) {
    notice $nick you are currently on round 3 please type !round3 to start your round | halt
  }  
  else set %Bombed1 [ $+ [ $nick ] ] $nick
  msg $chan 4 $nick $+ ,14 you have4 15 14seconds to defuse the bomb or you're dead! to start type4 !start14, The colors are are 4red14, 3green14, 14and 12blue. Type 4!cutwire <Color> 
}
on *:TEXT:!start:#: {
  if ($nick == %bombed2 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you are currently on round 2 please type !round2 to start your round | halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you are currently on round 3 please type !round3 to start your round | halt
  }  
  elseif ($nick == %bombed1 [ $+ [ $nick ] ]) {
    set %colornum [ $+ [ $nick ] ] $rand(1,3)  
    msg $chan 4 $me 14puts a bomb on the table for4 $nick 14has to defuse, your time starts now!  
    timer 1 10 notice $nick you have 5 second left to choose a wire
    timer 1 15 msg $chan You took too long! YOU LOSE
    timer 1 15 inc %lose [ $+ [ $nick ] ] 
    timer 1 15 msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    timer 1 15 unset %Bombed [ $+ [ $nick ] ]
  }
  else notice $nick you need to type !bomb to start a bomb game
}
on *:TEXT:!round2:#: {
  if ($nick == %bombed1 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you have not yet started a bomb game please type !bomb to start a bomb game. | halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you are currently on round 3 please type !round3 to start your round | halt
  } 
  elseif ($nick == %bombed2 [ $+ [ $nick ] ]) {
    set %ColorNum [ $+ [ $nick ] ] $rand(1,4)
    msg $chan 4 $nick $+ ,14 this is round 2 of !bomb, type4 !start214 to start round 2. you will have4 10 14seconds to defuse this bomb, The colors are are 4red14, 3green14, 12blue14 and 7orange 
  }
  else notice $nick you need to type !bomb to start a bomb game
}
on *:TEXT:!start2:#: {
  if ($nick == %bombed1 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you have not yet started a bomb game please type !bomb to start a bomb game. | halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you are currently on round 3 please type !round3 to start your round | halt
  }
  if ($nick == %bombed2 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you must type !round2 to start this round | halt
  }
  elseif ($nick == %bombed2 [ $+ [ $nick ] ]) && (%colornum == $null) {
    msg $chan 4 $me 14puts a bomb on the table for4 $nick 14to defuse, your time starts now!  
    timer 1 5 notice $nick you have 5 second left to choose a wire
    timer 1 10 msg $chan You took too long! YOU LOSE
    timer 1 10 inc %lose [ $+ [ $nick ] ]
    timer 1 10 msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    timer 1 10 unset %Bombed2 [ $+ [ $nick ] ]
  }
  else notice $nick you need to type !bomb to start a bomb game
}
on *:TEXT:!round3:#: {
  if ($nick == %bombed1 [ $+ [ $nick ] ]) {
    notice $nick you have not yet started a bomb game please type !bomb to start a bomb game. | halt
  }
  if ($nick == %bombed2 [ $+ [ $nick ] ]) {
    notice $nick you are currently on round 2 please type !round2 to start your round | halt
  }
  elseif ($nick == %bombed3 [ $+ [ $nick ] ]) { 
    set %ColorNum [ $+ [ $nick ] ] $rand(1,5)
    msg $chan 4 $nick $+ ,14 this is round 2 of !bomb, type4!start314 to start round 3. you will have4 5 14seconds to defuse this bomb, The colors are are 4red14, 3green14, 12blue, 7orange14 and 8yellow 
  }
  else notice $nick you need to type !bomb to start a bomb game
}
on *:TEXT:!start3:#: {
  if ($nick == %bombed1 [ $+ [ $nick ] ]) {
    notice $nick you have not yet started a bomb game please type !bomb to start a bomb game. | halt
  }
  if ($nick == %bombed2 [ $+ [ $nick ] ]) {
    notice $nick you are currently on round 2 please type !round2 to start your round | halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) && (%colornum [ $+ [ $nick ] ] == $null) {
    notice $nick you must type !round3 to start this round | halt
  }
  elseif ($nick == %bombed3 [ $+ [ $nick ] ]) {
    msg $chan 4 $me 14puts a bomb on the table for4 $nick 14 to defuse it, your time starts now!  
    timer 1 5  msg $chan You took too long! YOU LOSE
    timer 1 5 inc %lose [ $+ [ $nick ] ]
    timer 1 5 msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    timer 1 5 unset %Bombed3 [ $+ [ $nick ] ]
  }
  else notice $nick you need to type !bomb to start a bomb game
}

on *:text:!cutwire green:#: {
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  }
  if ($nick == %Bombed1 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 1) { 
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round214 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed1 [ $+ [ $nick ] ] 
      set %bombed2 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed1 [ $+ [ $nick ] ] 
    halt
  }
  if ($nick == %bombed2 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 1) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round314 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed2 [ $+ [ $nick ] ] 
      set %bombed3 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed2 [ $+ [ $nick ] ] 
    halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 1) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 all of the Bombs have been defused! You win! 
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed3 [ $+ [ $nick ] ]
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed3 [ $+ [ $nick ] ] 
    halt
  } 
  else notice $nick please type !bomb to start | halt
}
on *:text:!cutwire red:#: { 
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  }
  if ($nick == %Bombed1 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 2) { 
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round214 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed1 [ $+ [ $nick ] ] 
      set %bombed2 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed1 [ $+ [ $nick ] ] 
    halt
  }

  if ($nick == %bombed2 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 2) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round314 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed2 [ $+ [ $nick ] ] 
      set %bombed3 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 

    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed2 [ $+ [ $nick ] ] 
    halt
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 2) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 all of the Bomb have been defused! You win! 
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed3 [ $+ [ $nick ] ]
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed [ $+ [ $nick ] ] 
  }  
  else notice $nick please type !bomb to start | halt 
}
on *:text:!cutwire blue:#: { 
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  }
  if ($nick == %Bombed1 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 3) { 
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round214 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed1 [ $+ [ $nick ] ] 
      set %bombed2 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed1 [ $+ [ $nick ] ]
    halt 
  }
  if ($nick == %bombed2 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 3) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 the Bomb has been defused! You win! type 4!round314 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed2 [ $+ [ $nick ] ] 
      set %bombed3 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed2 [ $+ [ $nick ] ] 
  }
  if ($nick == %bombed3 [ $+ [ $nick ] ]) {
    if (%ColorNum [ $+ [ $nick ] ] == 3) {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14 all of the Bombs have been defused! You win! 
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed3 [ $+ [ $nick ] ]
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE!
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses 
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed3 [ $+ [ $nick ] ] 
    halt
  }
  else notice $nick please type !bomb to start | halt
} 
on *:text:!cutwire orange:#: {
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  } 
  if ($nick == %Bombed2 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 4)  {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14The bomb has been defused! You win! type 4!round314 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed2 [ $+ [ $nick ] ] 
      set %bombed3 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE! 
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed2 [ $+ [ $nick ] ]
    halt
  }
  if ($nick == %Bombed3 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 4)  {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14The bomb has been defused! You win! type 4!round314 to continue to the next level
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed2 [ $+ [ $nick ] ] 
      set %bombed3 [ $+ [ $nick ] ] $nick
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE! 
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed2 [ $+ [ $nick ] ]
    halt
  }
  else notice $nick please type !bomb to start | halt
}
on *:text:!cutwire yelow:#: { 
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  }
  if ($nick == %Bombed3 [ $+ [ $nick ] ]) { 
    if (%ColorNum [ $+ [ $nick ] ] == 5)  {
      inc %wins [ $+ [ $nick ] ]
      msg $chan 14all of the Bombs have been defused! You win!
      msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
      timer* off
      unset %colornum [ $+ [ $nick ] ]
      unset %bombed3 [ $+ [ $nick ] ] 
      halt
    }
    else msg $chan You cut the wrong wire! YOU LOSE! 
    msg $chan 14 $nick currently has:4 %wins [ $+ [ $nick ] ] 14wins and4 %lose [ $+ [ $nick ] ] 14loses
    inc %lose [ $+ [ $nick ] ]
    timer* off
    unset %Bombed3 [ $+ [ $nick ] ]
    halt
  }
  else notice $nick please type !bomb to start | halt
}

on *:TEXT:!bombscore:#: {
  msg $chan 4 $nick 14has successfuly defused4 %wins [ $+ [ $nick ] ] 14bombs and blown up4 %lose [ $+ [ $nick ] ] 14bombs.
}

Comments

Sign in to comment.
OriPori   -  May 27, 2011

<<;

on *:text:!cutwire yelow:#: { 
  if (%colornum [ $+ [ $nick  ] ] == $null) {
    notice $nick type !start to start the game | halt
  }

Ummm.

Don't you mean Yellow ? I mean, since in the above, it was spelled yellow,... I think you need it to be yellow there, too, or people will get confused.

And if I remember correctly, it won't come back if it's !cutwire yellow, since you have to type it... !cutwire yelow... >>; am I the only one who noticed this?

 Respond  
MashhitDK   -  Apr 24, 2010

Just want to say thanks...

Am gonna try this out later xD

 Respond  
VinX   -  Mar 23, 2010

its good but doesnt kick :( too bad lmao

 Respond  
Kirbeh_Pr0nz   -  Jun 06, 2009

This looks like too much work for a bomb game XP

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.