hi all i was looking for a tcl to check nicks on connect in a opered eggdrop
and match them with a list of badnicks possibly with regex and if there is a match to kill user rather than to have eggdrop check on channel joins
i have been looking for it for like ages it would help our bots a lot to prevent joining of bad nicks and not load it all on the ircd
Depending on how your snotices are piped, it can be relatively easy. You will have to play around with this code, to suit your exact arguments, but it should help you make the script you want. Read this.
foreach checknick $::badnicks {
if {[string match -nocase $checknick $nick]} {
putquick "KILL $nick :You match a Bad Nickname. This is not Permitted on $::network. Please change your nickname to reconnect. (matching: $checknick)"
}
}
Hope it works out.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.