Lua · Variables · Features
trigger
Read and toggle the triggerbot.
| Function | What it does |
|---|---|
trigger.enabled([on]) settings | Returns whether the triggerbot is on. Pass a value to change it. |
#trigger.enabled
trigger.enabled([on])Returns whether the triggerbot is on. Pass a value to change it.
Changing a value needs the settings permission (Change settings). Without it the call returns the current value and logs
needs permission: settings once. How permissions workArguments
onbooleanoptionalNeeds the settings permission.
Returns
boolean
State after the call.