The basic routine is quite old now and very simple. All it does is take what you say and turn it into a question, although in blind trials, where the subject didn’t know if they were talking to a therapist or the computer most people found talking to the computer more beneficial than their psychiatrist.
I am not sure what you would want the program to do. I have had some success in opening a Word document to have a conversation with myself. I would write down possible solutions to a problem and then write down possible difficulties and then write down possible workarounds and on and on.
@anonxd It was a prototype, or a first program of that sort, not sure. Some bugs are a given. There are many more similar softwares too, I’m sure many of them are more advanced then ELIZA.