Getting started creating a personality - GodDragoner/TeaseAIJava GitHub Wiki
First of all you will need to create a folder for your personality inside the "Personalities" folder of your Tease-AI Java installation. To make your personality work you'll need 2 files. First of all a personality.properties file inside your personality folder. Currently it should contain this information:
version=1.0
name=Default Personality
Both version and name should be self explanatory.
The second file you'll need is the main.js file. This file is the file that is started/executed whenever your personality is started inside the program. You can put whatever code you want into this file. You can just start a session directly in the file, you can start running other startup scripts or whatever you'd like to do whenever the personality is started.
That's it. That's everything that is required to write your first personality and now you can do whatever you want to do.
If you are new to javascript or coding in general I can just recommend this guide. Ignore all the html related stuff and just focus on the programming syntaqx parts such as variables, arrays etc..
If you are just new to this api/program you should take a look at all the method documentations that are listed on the main wiki page.
Looking for a good editor?
You can use https://notepad-plus-plus.org/ for starters. However Notepad++ does not support syntax validation by default, which means you can use pages like this to validate your code syntax. If you want a more advanced one you can try to look here for one. I can recommend NetBeans, Visual Studio Code, Atom and Komodo Edit.