Hey.
Do you know how I could make a script pick out a specific word from a sentence that was written and reply to it?

In the following example, I want the word "coffee" to be in focus, if someone types a sentence, like: "Where is my coffee?"
Code:
on *:text:*:#mychannel: {
  if ($1- == coffee) {
    msg $chan $read(C:\Program Files\mIRC\coffee.txt)
  }
}

Got this so far...

Thanks.