If you want to make a custom script, you're going to need to import some resources to your script. The resources you can add to your script are separated mainly in three groups: General resources (such as images and sounds), Gender dependent values (values that can change depending on the slave's gender), and Functions (functions written in groovy to expand the functionality of your script).
Adding images, sounds, videos and other files
To add this kind of resources to your script you have to select the Resources tab from the main panel, select an Item from the menu Resources or click on the right resource icon in the toolbar. From the Resources tab, you have to click the proper add button for the kind of resource you wish to add and select it from your file directory. A new folder for keeping your scripts resources will be created (if it doesn't exist yet) and a copy of the resource you selected will be added to it. You can safely use any resource you added to your script this way.
If you want to delete a resource, select that resource from the proper resource list with a mouse click, and then click on the proper delete button. The copy that was made when the resource was added will be removed from your script resource folder. Make sure you're not using this resource in any place in your script or you will get an error when running the script.
Adding Gender Dependent values
Gender dependent values are values that will have one value if the slave that runs the script is male and other value if the slave is female. You can use it to be shown in messages with the special character $G[xxx] where xxx is the name of one gender value; or to make your script behave a little bit different depending to the slave's gender using them the same way in other commands. To create a new gender value to your script You can select Add Gender Value from Gender Menu, click on the gender value icon in the toolbar, or go to the Gender values tab from the main panel and click on the Add value button. You will be asked to input a name for the gender value, a value for the male case, and a value for the female case. Fill them with the values you like, eg (adjective, dick, cunt), and click Add.
You can edit or delete your script's gender values by selecting one from the gender values list in the Gender values tab with a mouse click and then clicking on the edit or delete button. If you delete a value make sure you're not using it anywhere in your script or your script will crash when you try to run it.
You can also export all the gender values you've created for one script to a gender values library clicking on the Export Values button or selecting Export Values from Gender Menu. You will be asked to give your library a name and it will be created. That simple. You can now import all the values you exported into a library to other script, opening the other script and clicking on the Import values button or selecting Import Values from the Gender Menu. It is advisable that if you're using the same values in a several scripts, export them to a library and import them back again every time you make a new script.
Adding functions
Functions are groovy pieces of code that encapsulate a functionality you're using a lot in your script, or expands the functionality that the standard commands offers to your script. Only take a look to functions if you're ready to deal with some groovy code. To create a new function in your script You can select Create function from Functions Menu, click on the functions icon in the toolbar, or go to the Functions tab from the main panel and click on the Add function button. You will be asked to input your function's name, your function's parameters and your function's code. Click here to see how to create functions.
You can edit or delete your script's functions by selecting one from the functions list in the Functions tab with a mouse click and then clicking on the edit or delete button. If you delete a function make sure you're not using it anywhere in your script or your script will crash when you try to run it.
You can also export all the functions you've created for one script to a functions library clicking on the Export Functions button or selecting Export functions from Functions Menu. You will be asked to give your library a name and it will be created. That simple. You can now import all the functions you exported into a library to other script, opening the other script and clicking on the Import functions button or selecting Import functions from the Functions Menu. It is advisable that if you're using the same functions in a several scripts, export them to a library and import them back again every time you make a new script.