Skip to content

Creating a script

Jaggar edited this page Jan 25, 2022 · 5 revisions

Note: The GUI displayed here is no longer in use, but functionally exists in RSB in the script selector tab in the current GUI. The following remains informative and true.

A script comes with a script manifest that provides data for the script itself. This data will be visible on the script selector page.

Manifest Code Example Script Selector Example

This is data is then followed by the class declaration and the class itself will always contain its own sort of main method named loop(). You may fill loop with whatever logic you wish for your script to execute and scripts will execute in the order they are loaded up, so once one scripts loop finishes it will begin the next loop.

Code Example of a basic script

Clone this wiki locally