egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ban 6 in a raw .. Help

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
F|irT
Voice


Joined: 30 Apr 2015
Posts: 30
Location: Pakistan

PostPosted: Today at 1:10 am    Post subject: Ban 6 in a raw .. Help Reply with quote

bind join - * join:badnick

proc join:badnick {nick host hand chan} {
global botnick badnicks badnickchans badnickexempt badnicktime badnicktimer
if {(([lsearch -exact [string tolower $badnickchans] [string tolower $chan]] != -1) || ($badnickchans == "*")) && ($nick != $botnick)} {
foreach badnick [string tolower $badnicks] {
set badnickban1 "*$badnick*!*@*"


if {[string match *$badnick* [string tolower $nick]]} {
if {([botisop $chan]) && (![isop $nick $chan]) && (![isvoice $nick $chan]) && (![matchattr $hand $badnickexempt $chan]) && ([onchan $nick $chan])} {
putquick "MODE $chan +b $badnickban1"
putquick "KICK $chan $nick :4Bad Nick 14Type /nick New-Nick 4& rejoin The Channel ."
timer $badnicktime "pushmode $chan -b $badnickban1"
return 0
}
}
}
}
}



This is bad nickname kicker working fine ... but when flooder join with ban nick bot make ban one by one .. it's possibel to make bot ban max in the raw ... ..


like this ...

+bbbbb *!*@103.111.54.* *!*@103.73.225.* *!*@103.124.236.* *!*@103.117.228.* *!*@101.51.141.*

+bbbbbb *s*x*!*@* *pimp*!*@* *suck*!*@* ...

if any scripter help me kindly it will be gr8 help .. thanks..
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber