Code: Select all
bind join - * whois:onjoin
bind raw - 307 whois:num
proc whois:onjoin {nick host hand chan} { putserv "WHOIS $nick" }
proc whois:num {from key arg} {
set nick [lindex [split $arg] 1]
if {![string equal $nick $::botnick]} {
puthelp "PRIVMSG $nick :[join [lrange [split $arg] 1 end]]"
}
}
Thanks for your help.