iChat message

I’m pretty new at applescript (ok i suck at it) How can i make iChat look for a certain string of text, from a certain screenname, and then send a message back to that person?

anyone? =\