Code: Select all
bind pub - !info pub:info
proc pub:info { nick host hand chan text } {
global botnick
if { $chann == "#chan1" } {putmsg $chan "Hello World, hello $nick, i'm $botnick" }
if { $chann == "#chan2" } {putmsg $chan "Here is $botnick" }
}