activate alarm through ichat

Hey everyone I am new to this forum and the exciting world of applescript. I have been messing around with a few things and thought of something i wanted to do but i came to road block. I made a alarm clock that wakes me up with itunes and then greets me with the date and time. What I want to do is to be able to activate it through ichat. I have tried numerous of things but cant seem to get it right. I want to be able to send it an IM from my phone to ichat and if it says something it understand then set the alarm and if not then keep looking. I hope that makes sense. Thanks ahead of time!