       run: -> @conn.irc.doCommand 'AWAY', @response
 
     @_addCommand 'msg',
-      description: "closes the current window and leaves the channel if connected"
+      description: "sends a private message"
       params: ['nick', 'message...']
       requires: ['connection']
       run: ->

          @conn.irc.doCommand 'MODE', @mode, @nick

    @_addCommand 'op',
      description: "gives a user operator status"
      params: ['nick']
      extends: 'mode'
      parseArgs: -> @mode = '+o'

    @_addCommand 'deop',
      description: "removes operator status from a user"
      params: ['nick']
      extends: 'mode'
      parseArgs: -> @mode = '-o'

    @_addCommand 'voice',
      description: "gives a user voice"
      params: ['nick']
      extends: 'mode'
      parseArgs: -> @mode = '+v'

    @_addCommand 'devoice',
      description: "removes voice from a user"
      params: ['nick']
      extends: 'mode'
      parseArgs: -> @mode = '-v'

    @_addCommand 'away',
      description: "sets your current status to away, when people /msg you " +
          "or do a WHOIS on you, they will get an automatic response"
      params: ['response...']
      requires: ['connection']
      parseArgs: ->

        @conn?.irc.doCommand 'NICK', @nick

    @_addCommand 'server',
      description: 'connects to the sevrer, port 6667 is used by default, ' +
          "reconnects to the current server if server is specified"
      params: ['opt_server', 'opt_port']
      parseArgs: ->
        @port ?= parseInt @server
        @port = parseInt(@port) ? 6667
        @server ?= @conn?.name
        return @port and @server
      run: ->
