Change font size
It is currently Mon May 27, 2019 2:02 am

Forum rules


Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: Chatbot script
PostPosted: Tue May 20, 2008 7:03 pm 
Furious Typer
User avatar

Joined: Sat Feb 02, 2008 10:02 pm
Posts: 104
Location: Romania, Bucharest
First of all before anything else, I would like to mention that this is a very *BIG* script which may cause issues on some sims due to its size. Compiling this script takes around 40 seconds as well as a startup time increase for such a script being left on the simulator, so only apply this if you are sure. You can see by the fact I had to upload it as a .txt file and couldn't even post it here directly because of the character count limit of a single post. But otherwise all else should be fine.

That said, what I am going to post here is a basic chatbot script I made. It's basically a script that gives a (more or less) logical reply to what you say near it, allowing you to have a conversation with a primitive which is close enough to a normal and rational conversation with a person. To talk with the script, just sit near it and chat on channel 0 like you would with another person. I only included some basics for a conversation over general topics such as "how are you" / "what's up" / "would you do X and like Y".

It's good for simulating artificial intelligence computers or other things like that, or putting it on a prim-made NPC so you can chat with it. If anyone wants to modify it, please note that the code is very piled up and unarranged as it's the only way I could have wrote it for what I wanted the script to do. So yeah, hope you enjoy it. I'll also be posting updates here when I'll be adding more to the script if I will.

ChatBot script [5.82 KiB]
Downloaded 1087 times
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of