Hello,
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
LUA script
Moderator: Moderators
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us