       switch @type
         when "irc"
           @robot.send { "room": tg }, messages
+
         when "http_post"
           unless @heades
             request.post

    @fmtLabel    = process.env.HUBOT_IRC_FMT_LABEL
    @infoFile    = process.env.HUBOT_IRC_INFO
    @info        = {}
    @infoFlag  = false
    @form        = {}
    @lineFeed    = ""
    @typeFlag    = false
    @typeArray   = ["irc", "http_post", "chatwork", "idobata", "slack"]
    @prefix      = "[send_message]"
    @maxLength   = 128


      when "slack"
        @msgLabel = "text"
        @fmtLabel = "payload"
      when "hipchat"
        @msgLabel = "message"
        @msgType  = "html"
        @fmtLabel = "message_format"

    if @msgType == "html"
      @lineFeed = "<br />"
