commands preset script Stable
Infos
Type: Event.
One context:
- area
area = Notable cuboid
Script
yml
PRESET:
type: command
name: PRESET
script:
- choose <context.args.get[1]||null>:
- case Config:
- run PRESETtasks p:config
- case Teleport:
- run PRESETtasks p:tele
- case Initialise:
- run PRESETtasks p:init
- case Close:
- run PRESETtasks p:close
- default:
- run PRESETtasks p:help
PRESETtasks:
type: task
help:
# help code
init:
# init code
config:
# config code
tele:
# tele code
close:
# close code