The instructions from DVDDave were confusing to me and I had to make some changes for it to work on my system. Just an FYI for others!
Troubleshooting Tips:
1. Be sure you can send an imessage to the name (i.e. indigo) from messages - best to try this from another mac or iphone manually (not use siri). If it is not going through try sending a message from the indigo server to yourself (iPhone number) and then reply. This allowed me to confirm the contact email for Indigo in my address was registered with iMessage service.
2. Confirm the contact entry you have created has the email address associated properly. For example I created an entry named Indigo (First Name) No Last Name. Home email address was indigo@domain.com. No other info. This way when I speak "Tell Indigo to do whatever" it will not get confused with any other names.
If the messages are flowing and no applescript is firing try the following:
1. Remove the naming confirmation in the applescript by deleting the following lines of code:
if full name of theBuddy is "Joe Smith" or full name of theBuddy is "Jane Smith" then
accept theChat
end if
------------------------------
if full name of theBuddy is "Joe Smith" or full name of theBuddy is "Jane Smith" then
******Do not delete this line in the middle***** set theResponse to runIndigoRemoteControl(theMessage)
end if
NOTE This appears twice near the bottom of the script. Search for Smith. Delete both instances
This kills the authorization mechanism. If you are running Indigo Server on a dedicated mac and the only messages account is the one for indigo this is not a big deal. Otherwise you may want to put it back - Or just comment it out for testing, your choice. I was never able to get the Full Name to match and therefore it would not fire for me.
2. Move the script to /Library/Scripts/Messages as another poster noted. The home directory Scripts folder no longer exists by default in 10.8. Actually recommend doing this anyway
3. Run the script from Editor App. When it runs "status" should be entered in a dialog box. Hit Okay. It should reply with "Alive and Well"
Hope this helps someone else do less head banging then me.