Kod: Kodu kopyalamak için üzerine çift tıklayın!
menu status,menubar,channel {
.-
.ı|ı C-Flood
..Açık:.enable #C-Flood | .echo -a #C-Flood Kontrol Açıldı
..Kapalı:.disable #C-Flood | .echo -a #C-Flood Kontrol Kapatıldı
.-
}
#C-Flood off
on *:snotice:*client connecting*: {
if $nick == irc.sunucuismi.com {
%::Con.ident.on = $right($gettok($10,1,64),-1) | %::Con.nick.on = $9 | %::Con.ip.on = $left($gettok($10,2,64),-1)
cf %::Con.nick.on %::Con.ident.on %::Con.ip.on
}
}
#C-Flood end
alias cf {
;-Connect Flood -1-
hinc -mu1 cf2 $3 1 | var %t $hget(cf2,$3)
if %t == 2 {
gline $+(*@,$3) : ban Sebebi
$iif(!$window(@kSc-Conned),window -e @kSc-Conned) | aline -p @kSc-Conned $+([,$time(HH:nn),]) $+(<2,kSc-Conned,>) 5K-Edildi - Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
msg #a 2[RPR] -6• 3Agresif C-Giriş-1 6• 5Atilan Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
halt
}
;-Connect Flood -2-
hinc -mu2 cf $3 1 | var %t $hget(cf,$3)
if %t == 3 {
gline $+(*@,$3) : ban Sebebi
$iif(!$window(@kSc-Conned),window -e @kSc-Conned) | aline -p @kSc-Conned $+([,$time(HH:nn),]) $+(<2,kSc-Conned,>) 5K-Edildi - Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
msg #a 2[RPR] -6• 3Agresif C-Giriş-2 6•5Atilan Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
halt
}
;-Connect Flood -3-
hinc -mu8 cf3 $3 1 | var %t $hget(cf3,$3)
if %t == 3 {
gline $+(*@,$3) : ban Sebebi
$iif(!$window(@kSc-Conned),window -e @kSc-Conned) | aline -p @kSc-Conned $+([,$time(HH:nn),]) $+(<2,kSc-Conned,>) 5K-Edildi - Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
msg #a 2[RPR] -6• 3Agresif C-Giriş-3 6• 5Atilan Mask: $+(1[2Nick1]: $1 - 1[2IP1]: $3)
halt
}