mIRC Home    About    Download    Register    News    Help

Print Thread
#204221 11/09/08 08:30 PM
Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
Can this be make or edit to have multiple ban incase of clone join flood like +bbbbbbbbbb or something so that i wont excess flood?

on @*:join:#: {
if ( %clonef == off ) || (!%clonef) || ($nick isop #) { return }
if ($ialchan($wildsite,#,0) > 3) {
ban -u3600 # $nick 2
kick # $ialchan($wildsite,#,1).nick 14Possible Clone Flood
}
}

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Why not put the channel +i after lets say 2 joins from the same host? then it wouldent be any problem. smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
If you conduct a google search with the key word: clone flood protection, you will have an answer on the first displayed result. There are several code methods to choose from. And of course many codes can easily be modified to fit your purposes.

Last edited by Tomao; 11/09/08 09:51 PM.
Joined: Jun 2006
Posts: 79
B
Babel fish
Offline
Babel fish
B
Joined: Jun 2006
Posts: 79
Code:
.hinc -u10m b_ c_
if ($hget(b_,c_) < 13) { 
        .hadd -u10m bb cc $hget(bb,cc) $+($2,!*@*multiban*) 
        .timer_ban 1 1 !mode $1 $+(+,$str(b,12)) $hget(bb,cc)
      }
 

Joined: Oct 2007
Posts: 102
B
bcancer Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2007
Posts: 102
how or where do i place this code in my code?


Link Copied to Clipboard