![](http://www.gnu-darwin.org/hexley-gd-sm.png)
|
# File rbot/ircbot.rb, line 322
def action(where, message)
sendq("PRIVMSG #{where} :\001ACTION #{message}\001")
if(where =~ /^#/)
log "* #{@nick} #{message}", where
elsif (where =~ /^(\S*)!.*$/)
log "* #{@nick}[#{where}] #{message}", $1
else
log "* #{@nick}[#{where}] #{message}", where
end
end
|