Hello and thank you for reading my post.
I am trying to make a sort of AI or bot. I set it up based on people chatting but i am running into some issues.
So basically When they type in Dame which is the name of the bot. Me is included. How do I make it ignore words inside other words? I am sorry if i am not making sense. Basically it keeps doing the first thing because dame has me in it.. I am trying to get it to do the second thing when they say do you hate this person
I am trying to make a sort of AI or bot. I set it up based on people chatting but i am running into some issues.
code_language.skript:
On chat:
if message contains "Dame":
if message contains "Why":
if message contains "hate":
if message contains "me":
wait 1 second
broadcast "{@prefix} &d&l%player%, I do not hate you! We merely have just irreconcilable differences"
stop
else:
wait 1 second
broadcast "{@prefix} &d&lI do not hate anyone."
So basically When they type in Dame which is the name of the bot. Me is included. How do I make it ignore words inside other words? I am sorry if i am not making sense. Basically it keeps doing the first thing because dame has me in it.. I am trying to get it to do the second thing when they say do you hate this person
Last edited: