Top

Flood Protection For A bot


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  8.3 (of 7 scores)
Date Added  Aug 22, 2007
Last Updated  May 14, 2008
Tags  bot  flood  protection 

Introduction

Ok what this does is warn kick ban a channel flooder. Put in a new remote of the bot add Ur self as bot owner by typing /owner nickehere


Grab the Code

alias owner { auser owner $address($1,2) }
on owner:text:!flood*:#:{
  if (!$3) { msg $chan commands are !flood on #channel / !flood off #channel / !listrooms }
  elseif ($2 == on) && ($istok(%protecchan,$3,44)) {
    msg $chan My Flood Protection Is Already On For $3 
  }
  elseif ($2 == on) {
    set %protecchan $addtok(%protecchan,$3,44)
    msg $chan My Flood Protection Is Now ON In $3 
  }
  elseif ($2 == off) && (!$istok(%protecchan,$3,44)) {
    msg $chan My Flood Protection Is Already OFF For $3 
  }
  elseif ($2 == off) {
    set %protecchan $remtok(%protecchan,$3,1,44)
    msg $chan My Flood Protection Is Now OFF In Room $3  
  }
}
on owner:text:!listrooms:#:{ 
  if (!%protecchan) { msg $chan My Flood Protection Is NOT ON In Any Room's }
  else { msg $chan My Flood Protection Is On In Room's %protecchan }
}
on *:load: { 
  echo 12 -a You Have Just Loaded Napa182's Flood Control. 
  echo 12 -a A Script0rs Inc. Production 
  echo -a 14,1(14,1¯15,1¯0,1¯0,1º $+($chr(171),$chr(164),$chr(88),$chr(167),$chr(199),$chr(174),$chr(238),$chr(254),$chr(116),$chr(48),$chr(174),$chr(167),$chr(88),$chr(164),$chr(187)) º0,1¯15,1¯14,1¯) $+ $chr(153)
}
on !*:text:*:%protecchan: {
  if ($nick(#,$nick,oh)) { halt }
  else {
    inc -u2 $+(%,flood,.,$chan,.,$nick)
    if ($($+(%,flood,.,$chan,.,$nick),2) >= 5) {
      inc $+(%,floodd,.,$chan,.,$nick) 
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 2) { msg $chan $nick Dont Flood This Room }
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 5) { kick $chan $nick flood Control 1 more time and it's a BAN!! }
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 8) { ban -ku600 # $nick 2 you were warned not to Flood In This Room. | unset $+(%,floodd,.,$chan,.,$nick) }
    }
  }
}
on !*:action:*:%protecchan: {
  if ($nick(#,$nick,oh)) { halt }
  else {
    inc -u2 $+(%,flood,.,$chan,.,$nick)
    if ($($+(%,flood,.,$chan,.,$nick),2) >= 5) {
      inc $+(%,floodd,.,$chan,.,$nick) 
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 2) { msg $chan $nick Dont Flood This Room }
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 5) { kick $chan $nick flood Control 1 more time and it's a BAN!! }
      if ($($+(%,floodd,.,$chan,.,$nick),2) == 8) { ban -ku600 # $nick 2 you were warned not to Flood In This Room. | unset $+(%,floodd,.,$chan,.,$nick) }
    }
  }
}
 

Comments

  (12)  RSS
CoReY
Comments: 8
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 22, 2007 4:43 pm
nice dude
napa182
Comments: 1,455
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 22, 2007 5:02 pm
Thanks
AdrianF
Comments: 53
 
mIRC Snippet:  Flood Protection For A bot
Posted on May 23, 2008 11:44 am
wats point of owner?
AdrianF
Comments: 53
 
mIRC Snippet:  Flood Protection For A bot
Posted on May 23, 2008 11:47 am
nvm
pretty good
SnoooP
Comments: 343
 
mIRC Snippet:  Flood Protection For A bot
Posted on May 23, 2008 7:45 pm
o0o0o0o Nappaaa. :P **aplauds**
Fuzion
Comments: 47
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 4, 2008 4:04 pm
doesnt work
napa182
Comments: 1,455
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 4, 2008 4:14 pm
can you be more clear then it doesnt work cuz it seem's to be working just fine for me
Fuzion
Comments: 47
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 4, 2008 10:08 pm
whole script doesnt work for me
napa182
Comments: 1,455
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 4, 2008 11:20 pm
well did you set the owner of the bot so you can use the script?
on the bot's side where you have the script loaded type /owner nick_you_want_to_use_script
Fuzion
Comments: 47
 
mIRC Snippet:  Flood Protection For A bot
Posted on Aug 5, 2008 6:42 am
yeah i did :(
AlexHopper
Comments: 28
 
mIRC Snippet:  Flood Protection For A bot
Posted on Dec 28, 2008 11:20 pm
nice
PunkTuReD
Comments: 461
 
mIRC Snippet:  Flood Protection For A bot
Posted on Dec 29, 2008 2:04 am
multi channel would be noiiice

Commenting Options

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

  
Bottom