flood devoicer *big update*

By Aaron on Jan 06, 2007

i made this script myself (im a nub)
*** HUGE thanks to RusselB for adding the ban part in :)

*edit i made stoppers, if your hop or op it will halt :)

*this script is intended to cutdown on flooding in +m channels

Help:
inc -u7 $+(%,spam.,$nick) <-- -u7 7 stand for seconds
if $($+(%,spam.,$nick),2) == 5 { <-- 5 means lines
if $($+(%,spam.devoice.,$nick),2) == 5 { <-- 5 means times you will devoice someone before 10 minute ban

ex: the above will devoice the person if they say 5 lines in under or at 7 seconds

on @*:TEXT:*:#:{ 
  inc -u7 $+(%,spam.,$nick) 
  if $($+(%,spam.,$nick),2) == 5 { 
    .mode $chan -v $nick | msg $chan 4 $nick is spamming [devoice 15 sec] 
    .inc $+(%spam.devoice.,$nick) 
    if $($+(%,spam.devoice.,$nick),2) == 5 { 
      .ban -ku600 $chan $nick Banned for multiple spamming 
      unset $+(%,spam.devoice.,$nick) 
    } 
    else { 
      .timer 1 15 /mode $chan +v $nick 
      .timer 1 16 notice $nick  youve been revoiced, dont spam again. 
    } 
  } 
} 

Comments

Sign in to comment.
Aaron   -  Jan 13, 2007

updated op and hop halting

 Respond  
Aaron   -  Jan 07, 2007

i tried a notice at -v, but ops in channel would just voice them back because they would not know why it happened

 Respond  
Aaron   -  Jan 06, 2007

fixed the /

 Respond  
Lindrian   -  Jan 06, 2007

You do not need all the / in the script

 Respond  
SyntaxIRC   -  Jan 06, 2007

You could add:

on *:RAWMODE:#: {
if ($1 == -n) {
timern 1 2 mode $chan +n
}
if ($1 == +n) && ($timer(n) != $null) {
timern off
}
}

 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.