Hi!
I'm creating a chatbot for our server. I'm from a country where diacritics are common and I need chatbot to ignore it. I'm a beginner so sorry for maybe a simple question.
Example: "Hráč" and "Hrac" ("player" and "player" in English).
This is just a simple example, I need it for more complex operations.
Thanks for help!
I'm creating a chatbot for our server. I'm from a country where diacritics are common and I need chatbot to ignore it. I'm a beginner so sorry for maybe a simple question.
Example: "Hráč" and "Hrac" ("player" and "player" in English).
Code:
on chat:
if chat message contains "hráč" or "hrac": #player or player
wait 1 seconds
message "Ahoj!" to player #Hi!
This is just a simple example, I need it for more complex operations.
Thanks for help!