Code: Select all
bind join - "#channel *!*@*" channel_join
proc channel_join {nick host chan uhost} {
putserv "PRIVMSG $nick :welcome"
}
Code: Select all
bind join o * join:autoop
proc join:autoop {nick uhost hand chan} {
Code: Select all
bind join * * channel_join
proc channel_join {nick host handle channel} {
if {[string tolower $channel] == [string tolower "#YOURCHANNEL"]} {
puthelp "NOTICE $nick :welcome"
}
}
Code: Select all
bind join - * channel_join
proc channel_join {nick uhost hand chan} {
putserv "PRIVMSG $nick :welcome"
putlog "got join for $nick on $chan"
}