lazerwalker/hubot-imessage — pull request #5 by rgov (2014-04-16 16:05:57+00:00)
Title: Fix argument escaping in Messages event handler

If a message is received from a user with no first name, AppleScript will set the name to "missing value", and the space will split this into two arguments passed to the `messageReceived.coffee` script.

The patch quotes all command line arguments, and specifically handles missing names (since the user may not be in the address book).