privmsg (KarmaPlugin)

    # File rbot/plugins/karma.rb, line 57
      def privmsg(m)
        unless(m.params)
          m.reply "incorrect usage: " + m.plugin
          return
        end
        if(m.params =~ /^(?:for\s+)?(\S+?)\??$/)
          thing = $1
          karma = @karmas[thing]
          if(karma != 0)
            m.reply "karma for #{thing}: #{@karmas[thing]}"
          else
            m.reply "#{thing} has neutral karma"
          end
        end
      end