Code: Select all
bind join - * send:finger
bind ctcr - FINGER check:finger
set spamkickmsg "Infected spam drone. Visit
\002http://kline.dal.net/exploits/akills.htm#ma\002 for more information."
proc send:finger {nick uh hand chan} {
if {[matchattr $hand f|f] || [isop $nick $chan]} { return 0 }
putquick "PRIVMSG $nick :\001FINGER\001"
}
proc check:finger {nick uh hand dest key arg} {
global spamkickmsg botnick
if {![isbotnick $dest]} { retrun }
set arg1 [string tolower $arg]
if {([regexp -nocase "%email" $arg1]) || ([regexp -nocase "%iloveuayas"
$arg1]) || ([regexp -nocase "ybxoevq@@" $arg1]) || ([regexp -nocase "%nama"
$arg1]) || ([regexp -nocase "asdgfsdg" $arg1]) || ([regexp -nocase "Q8HaCk"
$arg1])} {
foreach chan [channels] {
set bmask "*!*[string range $uh [string first "@" $uh] end]"
if {[onchan $nick $chan]} {
putquick "MODE $chan +b $bmask"
putserv "KICK $chan $nick :$spamkickmsg"
newchanban $chan $bmask $botnick $spamkickmsg 240
}
}
}
}
Is there something wrong with the code? Anyway I can fix it?