🔔 Çevrimdışı bildirim almak ister misiniz?
Bir konuya etiketlendiğinizde, özel mesaj aldığınızda, bir mesajınız alıntılandığında forumda olmasanız bile anlık bildirim almak için lütfen izni verin.
PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
#--------------------------------------------------------------------------------------------------------------------# # ANTI MASS JOIN / JOIN FLOOD PROTECTION SCRIPT BY RANA USMAN # #--------------------------------------------------------------------------------------------------------------------# # AUTHOR : RANA USMAN ## EMAIL : Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. , Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
## URL : Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. style="color: #0000BB">set joinlockmodes "mr" ## Set the banmask type to use in banning the join floods # Currently BAN Type is set to 1 (*!*@any.domain.com), # BAN Types are given below; # 1 - *!*@some.domain.com # 2 - *!*@*.domain.com # 3 - *!* Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
# 4 - *!*ident@*.domain.com # 5 - *!*ident*@some.domain.com # 6 - *nick*!*@*.domain.com # 7 - *nick*!*@some.domain.com # 8 - nick! Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
# 9 - nick!ident@*.host.com set bantype "1" ## Set the time in seconds to Unlock Modes # The Bot will Unlock the channel after the specified time you will set below set unlocktime "15" ## Set The Punish Type # Set it to '1' if you want to add the Ban for joinflood in bots list.By doing it Bot will ban the IP everytime when the # clone will join the channel even if it is unbanned from channel OR Simply a stick ban # Set it to '2' for a simple channel Ban :) :: RECOMMENDED :: set joinpunish "2" ## Set the reason you want to give while kicking set jreason "Mass Join Flood" ########################### # CONFIGURATION ENDS HERE # ########################### #--------------------------------------------------------------------------------------------------------------------# # SCRIPT STARTS FROM HERE.YOU CAN MAKE MODIFICATIONS AT UR OWN RISK, I DONT RESTRICT YOU TO NOT TO TOUCH THE CODE! # #--------------------------------------------------------------------------------------------------------------------# bind flud - join joinflood:RanaUsman proc joinflood:RanaUsman {nick uhost hand type chan} { global joinlockmodes banmask unlocktime joinpunish jreason botnick if {![botisop $chan] || [matchattr $hand of]} { return 0 } set banmask [joinpart:banmask $uhost $nick] if {($joinpunish == 1)} { putquick "MODE $chan +$joinlockmodes" newchanban $chan $banmask $botnick $jreason putquick "KICK $chan$nick :$jreason" utimer $unlocktime[list putquick "MODE $chan -$joinlockmodes"] } if {($joinpunish == 2)} { putquick "MODE $chan +$joinlockmodes" putquick "MODE $chan +b $banmask" putquick "KICK $chan$nick :$jreason" utimer $unlocktime[list putquick "MODE $chan -$joinlockmodes"] } } proc joinpart:banmask {uhost nick} { global bantype switch -- $bantype { 1 { set banmask "*!*@[lindex [split $uhost @] 1]" } 2 { set banmask "*!*@[lindex [split [maskhost $uhost] "@"] 1]" } 3 { set banmask "*!*$uhost" } 4 { set banmask "*!*[lindex [split [maskhost $uhost] "!"] 1]" } 5 { set banmask "*!*[lindex [split $uhost "@"] 0]*@[lindex [split $uhost "@"] 1]" } 6 { set banmask "*$nick*!*@[lindex [split [maskhost $uhost] "@"] 1]" } 7 { set banmask "*$nick*!*@[lindex [split $uhost "@"] 1]" } 8 { set banmask "$nick![lindex [split $uhost "@"] 0]@[lindex [split $uhost @] 1]" } 9 { set banmask "$nick![lindex [split $uhost "@"] 0]@[lindex [split [maskhost $uhost] "@"] 1]" } default { set banmask "*!*@[lindex [split $uhost @] 1]" } return $banmask } } #-------------------------------------------------------------------------------------------------------------------------# putlog "=- \002ANTI MASS JOIN/JOIN FLOOD PROTECTION BY RANA USMAN ( Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. style="color: #FF8000">#-------------------------------------------------------------------------------------------------------------------------#