I'm totally new to the LUA programming language.
I want to write a script for a DC++ channel that reacts on what someone is saying. For example, is someone says "hello bot", the script must react with an answer. I have made a text-file with the answers in this format: "hello bot|hi, how are you?"
How can I read that text-file in LUA and search for the right answers?
Other advise is also welcome

Tia