bind pub - !test pub:test proc pub:test { nick uhost handle channel arg } { set nickCheck $nick set nickStatus [putserv "privmsg nickserv :status $nickCheck"] set nickValue [lindex $nickStatus 2] if {$nickValue == "3"} { putserv "PRIVMSG $channel :$nick: i like you" } else { putserv "PRIVMSG $channel :$nick: i hate you" } }