Join flood protection

By Master-Of-Death on Aug 07, 2009

Paste it in your remotes comments appreciated

btw the timer is set to 5 seconds if you feel this is to strict change -u5 to -u3
and if it's to relaxed change it from -u5 to -u8

Thanks and enjoy ;)

on *:JOIN:#:{ set -u5 %join 1
set -u5 %Joinflood $address($nick,2)
set -u5 %chan $chan
if (%mass == $null) { set %mass -u5 $address($nick,2) 
}
elseif (%mass !== $null) && (%mass == $null) { set -u5 %mass2 $address($nick,2)
}
elseif (%mass !== $null) && (%mass !== $null) { set -u5 %mass3 $address($nick,2)
}
elseif (%join >= 3) { 
raw -q kick # %mass Flood
raw -q kick # %mass2 Flood
raw -q kick # %mass3 Flood
.mode # +bbb 
}
else { halt 
}
on *:PART:#:{ if (%JoinFlood == $address($nick,2)) && (%chan == #) {
.mode # +b %joinflood
}

Comments

Sign in to comment.
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.