Built-in Scripts
Built-in scripts which can be called quickly and easily in the menu.
Examples
#
# A simple custom script
# The returned value can be obtained with ${ID_OF_THE_SCRIPT}
#
Functions:
health: |-
function health(){
return player.getHealth()
}
health()#
# You can create a script wich requires arguments
# You can specify them with ${ID_arg1_arg2_...}
# and use them in the script with {0}, {1}, ....
#
Functions:
flash: |-
function flash() {
var parsed = "%animations_<flash>{0}</flash>%"
return parsed.isEmpty() ? utils.emptyString("{0}".length()) : parsed
}
flash()Usage
Last updated
Was this helpful?