Using:
if string.find(message.content, "hi") then
global:printError("[INFO] Someone sent you hi")
end
Works good, however I'd like to give it a word list to actually trigger the print message.
EG: hello,salut,bonjour,hi,hola,
And my message.content = hi comment va tu ? I can say hello, speak spanish hola
If any of the words is found in the string trigger the message.
How do I achieve this ?