Each activity can include a list of scripts defined by automated actions and triggering rules, including the ability to start a script manually or through a chat command.
Scripts are associated with activities and can be inherited by the templates that you use to define them.
Create a New Script. When you create a new script, as described in Using Scripts, start by setting a title and description, as shown below.
Define Main Script Functionality. When the script is triggered, provide the functionality applicable to your script.
As can be seen above, the functionality that you can add to a script is as follows.
Define Script Error Functionality. Similarly, when an error occurs while the script is running, you can provide appropriate functionality, using the same choices as above.