great !!
I tried but adding a second iCloud account wasn't possible for me. So I made a change to make a mail compatible version.
But after, I tried to make it for myself. I created an Indigo user but with my phone number. So I can ask Siri the same.
Just the change, really important, is to add something in the answer, to not loop the script :
- Code: Select all
if theMessage does not contain "IRC:" then
if (full name of theBuddy) as string is "xxx" or (full name of theBuddy) as string is "+xxx" then
set theResponse to runIndigoRemoteControl(theMessage)
-- send back the response.
send "IRC: " & theResponse to theChat
end if
end if
That way, the message sent to myself will not be treated. Do the same in the 2 blocks that send messages.
It's really easy to change to use French (Français), so I can ask Siri in french as I do, just changing the words in the code, and adding some conditional rules.
Thanks for this script, it's really a killing feature.