Top

flood devoicer *big update*


mIRC Code
+ 1 likes
Please Register to submit score.
Bookmark and Share
Average Score  3.5 (of 2 scores)
Date Added  Jan 06, 2007
Last Updated  Jan 14, 2007
Tags  flood  spam 

Introduction

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



Grab the Code

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

  (8)  RSS
SyntaxIRC
Comments: 37
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 9:38 am
I don't see any use in this, with a couple of reasons:

1) What if +v is a privledge, not all users would habe it (+m would also have to be enabled)
2) You could add a couple of features such as setting mode +n if it's not currently set, or users could spam with the /msg #chan feature
3) IMO, why use that instead of +f? Add more features, things that +f doesn't already have.
Aaron
Comments: 104
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 9:43 am
like i said, im not the best at scripting. i run a low traffic channel with +m on, and thanks for the +n thing :)
SyntaxIRC
Comments: 37
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 10:02 am
You could add:

on *:RAWMODE:#: {
if ($1 == -n) {
timern 1 2 mode $chan +n
}
if ($1 == +n) && ($timer(n) != $null) {
timern off
}
}
Lindrian
Comments: 761
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 1:24 pm
You do not need all the / in the script
Aaron
Comments: 104
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 1:30 pm
fixed the /
Setever
Comments: 22
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 6, 2007 5:05 pm
I think you should call this a 'Flood Devoicer', rather than 'spam', seeing as how flooding is what you're trying to prevent, not spamming. Moreover, I think that noticing them that they've been devoiced would be better than messaging the entire channel. And, indeed -- this is only effective on a +m channel, but I suppose it fulfills its purpose.
Aaron
Comments: 104
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 7, 2007 2:37 am
i tried a notice at -v, but ops in channel would just voice them back because they would not know why it happened
Aaron
Comments: 104
 
mIRC Snippet:  flood devoicer *big update*
Posted on Jan 13, 2007 8:55 pm
updated op and hop halting

Commenting Options

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

  
Bottom