Code: Select all
bind pubm * sitetest_info
proc sitetest_info {nick host handle channel text} {
set test [string toupper [lindex $text 1]]
set test2 [string toupper [lindex $text 3]]
if { $test == "TEST" } {
putquick "PRIVMSG $channel :TEST..."
}
Code: Select all
getchanidle <nickname> <channel>
Returns: number of minutes that person has been idle; 0 if the
specified user isn't on the channel
Module: irc