setudef flag nohelp bind pubm * "% *" atme proc atme {nick uhost hand chan text} { global botnick set target [string trim [lindex [split $text] 0] ':,'] if {$text == ",help"} { set target $botnick } if {([isbotnick $target]) || ($target == "🥚") || ($target == "🥚💧")} { set atcmd [lindex [split $text] 1] if {$text == ",help"} { set atcmd "help" } set args [join [lrange [split $text] 2 end] " "] switch -- $atcmd { "hi" { putserv "PRIVMSG $chan :hi, $nick!" } "help" { puthelp "NOTICE $nick :\[help\] !tell " puthelp "NOTICE $nick :\[help\] !seen \[-exact/-glob/-regex\] " puthelp "NOTICE $nick :\[help\] !remind \"