Bomb game.

By Roxas on May 02, 2008

Well, this is a bomb game. As you can see there is alot of them here, I was bored.

First of all, load this into remotes. (ALT+R)

If you want to talk to me I am an operator at irc.lucidchat.net! My nick will be Roxas, if im not there do /ns info Roxas, it should have my nick.

At the (AccessLevelHere), put either: for wildcard, or +, %, @, &, ~, this sets the access level, so if you choose @ the user must be +o to use it, etc for others, is for ANYONE!

Thanks EL for helping me fix it from being stupid. :P!

on *:TEXT:!Bomb:#:{
  inc -u5 $+(%,_Bomb_F,.,$nick,.,$chan)
  if ($($+(%,_Bomb_F,.,$nick,.,$chan),2) == 4) { .notice $nick Dont Flood the !Bomb command.  | halt }
  if ($($+(%,_Bomb_F,.,$nick,.,$chan),2) >= 5) { halt }
  var %Victim $nick(#,$r(1,$nick(#,0)))
  if (%Victim == %_Bomb_Last) { .notice $nick Cannot set the bomb on the same person. Please set a bomb again. !Bomb  | halt }
  if (%Victim == $me) { .notice $nick Im the bot it cannot be set on me. Please set a bomb again. !Bomb  | halt }
  if (%_Bomb_ == On) { .notice $nick !Bomb game is on and the bomb has been set on  $+ %_Bomb_Last $+ . | halt }
  set -u10 %_Bomb_ On
  set %_Bomb_Last %Victim
  set %_Bomb_Chan $chan
  msg $chan $nick is planting a bomb!
  msg $chan  $+  %Victim  $+  You have 10 seconds to /part this chan or you might be the victim! But remember to rejoin the chan in 11 seconds!
  .timer  1 10 _Bomb_Check
  .timera 1 10  /msg $chan Times up! Seems like  $+ %Victim $+  got blown up into little pieces! Oh well!
  .timerb 1 10 /kick $chan %Victim 4BOOOOOOOOOOOMMMMMMMM!!!
}
alias _Bomb_Check {
  if (%_Bomb_Last !ison %_Bomb_Chan) {
    msg %_Bomb_Chan   $+ %_Bomb_Last $+  has fled!. Type !Bomb to place another bomb!
    .timera off
    .timerb off
  }
}

Comments

Sign in to comment.
Gage   -  Nov 02, 2009

Roxas r nub :P

 Respond  
Nasta   -  Sep 05, 2008

okies this is very good :) but can i suggest something if possible ?

when someone parts the channel to deactivate the bomb but someone else joins then the bomb to be set on the person that joined ?

how this is sounds ?

 Respond  
criminal   -  May 03, 2008

I agree with EL and Roxas, Xpl0reR.
If you can do better, go ahead, not stopping you.
And yeah, maybe you should first read the code before posting a comment.
7/10

 Respond  
Roxas   -  May 02, 2008

Xpl0rer: Why do you comment when you just wanna talk shit about it? I was bored, come on. I\'m not that good at scripting, so yeah, maybe you should think before posting.

 Respond  
EL   -  May 02, 2008

@ Xpl0rer,Dude this is more or less a fuckin random kick code it has NOTHING in common with \"Bomb Games\".Those games besides the word bomb an booom in the kick lol dude in the other codes theres a away to stop the bomb in this there isnt theres no count down or nothing no other triggers all this was before i remade it was a random kick on a timer now its just not exploitable an some other checks has little in common with other \"Bomb Games\" shit i wouldnt even call it a game to be honest so dont flip out on him with out lookin at the code an if you think there SO many damn \"Bomb Games\" code something better?

 Respond  
xplo   -  May 02, 2008

Crappy bomb game.. i gave 1. There is like 145654321 gazzilions bobm game and this one is the ugliest one i have seen so far.. why does people still \"\"invente/steal\" Codes, the bomb game is something people thinks changing some little pieces of codes make the code your own ... This is lame ..

 Respond  
Roxas   -  May 02, 2008

Updated. Thanks. :)

 Respond  
EL   -  May 02, 2008

er yeah forgot the @ before the text event add a @ like so to check and see if yur op:

on @*:TEXT:!Bomb:#:{
 Respond  
EL   -  May 02, 2008

Smh Napa182 you are bored boi.Any ways should add a bi tmore to this such as flood protection,bot protection so u dotn kick ya self ;x an last person so you dont kick back to back the same person also a 10 second ison check to see if the victim is even on the chan if not it halts yur timers an sends a message to the chan they have left(fled >D)heres wahta i mean:EXP:

on *:TEXT:!Bomb:#:{
  inc -u5 $+(%,_Bomb_F,.,$nick,.,$chan)
  if ($($+(%,_Bomb_F,.,$nick,.,$chan),2) == 4) { .notice $nick Dont Flood the !Bomb command.  | halt }
  if ($($+(%,_Bomb_F,.,$nick,.,$chan),2) >= 5) { halt }
  var %Victim $nick(#,$r(1,$nick(#,0)))
  if (%Victim == %_Bomb_Last) { .notice $nick Cannot set the bomb on the same person.Please set a bomb again.!Bomb  | halt }
  if (%Victim == $me) { .notice $nick Im the bot it cannot be set on me.Please set a bomb again.!Bomb  | halt }
  if (%_Bomb_ == On) { .notice $nick !Bomb game is on and the bomb has been set on  $+ %_Bomb_Last $+ . | halt }
  set -u10 %_Bomb_ On
  set %_Bomb_Last %Victim
  set %_Bomb_Chan $chan 
  msg $chan $nick is planting a bomb! 
  msg $chan  $+  %Victim  $+  You have 10 seconds to /part this chan or you might be the victim! But remember to rejoin the chan in 11 seconds!
  .timer  1 10 _Bomb_Check
  .timera 1 10  /msg $chan Times up! Seems like  $+ %Victim $+  got blown up into little pieces! Oh well!
  .timerb 1 10 /kick $chan %Victim 4BOOOOOOOOOOOMMMMMMMM!!!
}
alias _Bomb_Check {
  if (%_Bomb_Last !ison %_Bomb_Chan) {
    msg %_Bomb_Chan   $+ %_Bomb_Last $+  has fled!.Type !Bomb to place another bomb!
    .timera off
    .timerb off 
  }
}
 Respond  
Roxas   -  May 02, 2008

Okay all updated, thanks. I\'m kinda slow at scripting. :P

 Respond  
napa182   -  May 02, 2008

oh and you may want to add this on the on text line

on @*:TEXT:!Bomb:#:{

that way the bot or what ever you put this on has to be an +o to use it.

 Respond  
Roxas   -  May 02, 2008

Thanks napa182. I\'ll update. :D

 Respond  
napa182   -  May 02, 2008

um try useing a local var instead of useing a gloabl by useing var instead of set and silent ur timers by useing a . so you dont get timer flood and no point in making the timer 0 10 just do .timer 1 10
like this

on *:TEXT:!Bomb:#:{
  msg $chan $nick is planting a bomb! 
  msg $chan You have 10 seconds to /part this chan or you might be the victim! But remember to rejoin the chan in 11 seconds!
   var %Victim $nick(#,$r(1,$nick(#,0)))
  .timer 1 10 /msg $chan Times up! Seems like %Victim got blown up into little pieces! Oh well!
  .timer 1 10 /kick $chan %Victim 4BOOOOOOOOOOOMMMMMMMM!!!
}
 Respond  
Roxas   -  May 02, 2008

Have fun, if there is any problems, please post here, tbh I am not that good at scripting! ;x

 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.