SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 20/08/2019, 05:04 PM   #1
FacuScript
Little Clucker
 
Join Date: Feb 2019
Posts: 6
Reputation: 0
Question Can this be done? Smart npc

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.
FacuScript is offline   Reply With Quote
Old 20/08/2019, 05:23 PM   #2
Calisthenics
High-roller
 
Join Date: May 2018
Posts: 1,228
Reputation: 205
Default Re: Can this be done? Smart npc

https://github.com/Sreyas-Sreelal/samp-ai-chatbot + https://github.com/Sreyas-Sreelal/samp-chatbot-plugin
Calisthenics is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Off] Streaming Smart TV Holl Português/Portuguese 2 03/08/2015 05:10 AM
How do I use Smart Chat? seanny Scripting Help 1 27/10/2011 12:19 AM
[Include] Smart Chat =WoR=Varth Includes 21 06/07/2011 03:27 AM
need help from smart scripters DJDUST_OWNER Help Archive 3 26/01/2010 10:02 PM


All times are GMT. The time now is 07:16 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.