Scripts
Overview
A script is a program file that can be loaded into your bot to give it new responses or functions. Bot Libre support scripts written in Self and AIML, as well as response list files.
The Bot Libre script library provides many open source examples scripts and data files in several different languages and formats. The Bot Libre script library supports uploading scripts written in any language. You can even upload HTML, JavaScript, and css files to host a website on Bot Libre.
![](images/manual-scripts-pic1.jpg)
![](images/manual-scripts-pic2.jpg)
![](images/manual-scripts-pic3.jpg)
Creating
You can create your own script from the browse script page. To create a script, just give it a name, description, and category to categorize it under. You can either make the script private and choose who can access it, or make it public and accessible by anyone.
![](images/manual-scripts-pic4.jpg)
![](images/manual-scripts-pic5.jpg)
Properties
Properties | Description |
---|---|
Script Name | Enter a script name. |
Language | Programming language or type of script. |
Description | Optional description. |
Details | You can enter optional additional information. |
Disclaimer | You can enter optional legal information. |
License | Optional license to release the script and all of its content under. |
Website | If this script has its own website, you can enter it here. |
Website Subdomain (or domain) | You can choose a subdomain to host your script's own website, or give a domain that you have registered and forward to this server. |
Categories | Comma separated list of categories to categorize the script under. |
Tags | Optional comma separated list of tags to tag the script under. |
Private | A private script is not visible to the public, only to the user and users grant access. |
Hidden | A hidden script is not displayed in the browse directory. |
Access Mode | Define who can access this script. |
Fork Access Mode | Define who can fork(copy) this script. |
Content Rating | Rate the script. |
Ad Code | You can display ads on your script's pages. |
Editing Source
![](images/manual-scripts-pic6.jpg)
Button | Description |
---|---|
![]() |
Choose script action from menu. |
Back to home of script source. | |
Save source. | |
Upload script | |
Download script. |
Versions
View and administer the script's version history.
![](images/manual-scripts-pic7.jpg)
Button
Button | Description |
---|---|
![]() |
Choose script action from menu. |
Back to home of script source. | |
Permanently delete the script versions. | |
View the version source. |