# File rbot/dbplugins/dash.rb, line 63
  def privmsg(m)

    if(m.params =~ /^every (\d+)$/)
      period = $1.to_i
      if(@t_handle)
        @bot.timer.remove(@t_handle)
      end
      @t_handle = @bot.timer.add(period) {
        res = getdash
        if(res && res =~ /red/)
          @bot.say m.replyto, res
        end
      }
      @tell = m.replyto
      @freq = period
      @bot.okay m.replyto
      return
    elsif(m.params =~ /^stop$/)
      if(@t_handle)
        @bot.timer.remove(@t_handle)
      end
      @tell = nil
      @freq = nil
      @bot.okay m.replyto
      return
    elsif(m.params =~ /^status$/)
      if(@tell)
        m.reply "currently checking the dashboard every #{@freq}, telling #{@tell}"
      else
        m.reply "not currently monitoring the dashboard"
      end
      return
    end

    res = getdash
    unless(res)
      m.reply "everything's green :)"
    else
      m.reply res
    end
  end