Hello,
I'm looking to make a basic badword kick for my eggdrop, actually I'm standing on a "non standard" irc server, to kick people I hve to sent to the server the following;
/msg $chan .timeout $nick 1
here is the snippet that I have but not working actually;
bind pubm - "badword" advertise_kick
proc advertise_kick {nick host hand chan text} {
if {[lsearch -exact [channel info $chan] +badwordz] != -1} {
if {[isop $nick $chan]} {
return 0
} else {
putserv "PRIVMSG $chan :.timeout $nick 1"
return 1
}
}
}
do you have any idea/suggestion for that?
thanks