Can this be done? Smart npc
#1

I want to make an intelligent NCP, which dialogues with the player, by means of label texts attached to the NCP, an example if the player says hello, the ncp would answer hello, I know that it is half complicated to do this, but more or less to guide me they could throw me a example

When I talk through the chat normally, for example, how could I get those messages and ask them in an if, then add the functions of which the bot responds

What I would like to do is a list of words such as, hello, among other things, if the user says a word that is not placed in the system, the ncp would answer something like, sorry I did not understand your question. and if the ncp understands or understands what he says, then the ncp would answer what we assign


They would give me a guide on how I can list a list of words and then ask with an if .. and with another if ask that if what the user said is not equal to that list of words, then I would answer I did not understand your question.
Reply
#2

https://github.com/Sreyas-Sreelal/samp-ai-chatbot + https://github.com/Sreyas-Sreelal/samp-chatbot-plugin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)