def command(*parts)
      parts[0][0,0] = '/' unless parts[0][0..0] == '/'
      line = parts.join(" ")
      Weechat.exec(line, self)
      line
    end
def command(*parts)
      parts[0][0,0] = '/' unless parts[0][0..0] == '/'
      line = parts.join(" ")
      Weechat.exec(line, self)
      line
    end
Send a command to the current buffer.

 Note: If the given command does not start with a slash, one will be added.

 @param [Array<String>] *parts All parts of the command to send
 @return [String] The whole command as sent to the buffer
 @example
   my_buffer.command("/whois", "dominikh")