Download the open source Bot Libre Community Edition and install Bot Libre on your own server
The scripts tab allows you to create, edit, remove, import, and export Self or AIML scripts. You can upload scripts, or import scripts from the shared script library. You can also view the scripts your bot has written for itself.
Note, AIML scripts can also be imported from the Chat Logs page as a chat log, and this is more efficient for large scripts, or scripts that only contain questions and answers.
For help on writing scripts see:
Help
: Docs : How To Guide

Add, create, edit, import, and export Self or AIML scripting programs.

Scripts

No bot has been selected, you need to first select your bot from browse