Lua · Variables · Features

trigger

Read and toggle the triggerbot.

FunctionWhat it does
trigger.enabled([on]) 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.

Arguments

onbooleanoptional
Needs the settings permission.

Returns

boolean
State after the call.