Something I made like a year ago which could be a simple AI with database, string parsing, and storing responses.
You could be a total rookie with Python and code this simple script in 1-2 hours of study.
# Simple first endless chat script by Ryan Burleson # Use 'stop' to end the chat. import random mySlang = [ 'hell nah!', 'too boring...', 'who df you?', 'how much you paying?', 'maybe later!', 'fine, sup brah!', 'its about time', 'lets hit the club first..', 'always the same shit...' 'let\'s get to the good stuff' ] myChat = 0 while True: myChat = myChat + 1 if myChat == 1: chat = input('What you wanna chat about?') print('Ok we can talk about:', chat) elif chat == 'stop': quit('Ok you are the boss (for now) we shall end this! Chatted ' + str(myChat) + ' times.') elif chat == '': quit('You forgot stuff bruh, don\'t play with me! Chatted ' + str(myChat) + ' times.') elif myChat > 1: chat = input('Now what you want?') print(str.capitalize(chat), random.choice(mySlang))
Results, me typing stupid shit and no real checking of string input so its just dumb. This is like many web bots you see on reddit or other places online. Chatting with the script is like some people I know, clueless.
=============== RESTART: endLessChat.py ===============
What you wanna chat about?Fine ass babes
Ok we can talk about: Fine ass babes
Fine ass babes hell nah!
Now what you want?Where they at?
Where they at? its about time
Now what you want?Gime their numbers
Gime their numbers how much you paying?
Now what you want?Bro you drunk?
Bro you drunk? how much you paying?
Now what you want?Nothing
Nothing hell nah!
Now what you want?