 
 module.exports = (robot) ->
     gitter = new Gitter(process.env.HUBOT_GITTER2_TOKEN)
+    store = {}
+    timeoutHandle = null
+    timeoutDuration = 3000
 
     for roomName in roomNames
         #console.log(roomName)

            console.log(m)
            message = pushimg + vsprintf('%1$s pushed %2$s commit(s) to [%3$s](https://github.com/%3$s/): [\[compare\]](%4$s)', m)

        console.log('-->', message)
        if message != ''
            robot.send
                room: roomid
                message

    return

            events.on('events', (message) ->
                console.log('A message was ' + message.operation);
                console.log('Text: ', message.model.text);
                parseMessage(room.id, message.model.text)
            )
        )

    parseMessage = (roomid, text) ->
        message = ''

        clearTimeout timeoutHandle

        comment = /\[Github\] (\w[\w-]+) commented in (.+?\/.+?) on issue: (.*?) http.*?\/(\d+)#.*/
        # name:1; reponame:2; issuename:3; issueid:4
