Creating Modules

Overview

ScriptAPI modules Modules created with the ScriptAPI will appear in the ClickGUI and TabGUI. They behave the same as regular modules and can be activated, deactivated, bound to a key and adjusted via values if desired. Example function ExampleModule() { var myBoolValue = value.createBoolean("My...

Supported Events

Module Events Code in event functions is executed everytime their associated condition is met. this.onEnable = function() { // Code in here will be executed directly after the module has been enabled by the user }; this.onDisable = function() { // Code in here will be executed directly aft...

Values

Adding values to modules Values will be visible in the ClickGUI and can be changed by the user. If a module is using settings instead of hard-coded values, it is more customizable for the user. // Values must be registered manuelly this.addValues = function(values) { values.add(myValue1); va...