Code: Select all
bind kick - *$botnick* check:kick
proc check:kick {nick uhost handle channel target reason} {
if {[string equal -nocase $target $::botnick]} {
putserv "PRIVMSG spithash :Yo, I have been kicked by $nick on $channel !!!"
}
}