test:
async: true
action-script:
- condition: []
true:
#开头不带 $ 为 Kether 语句
#当区域触发限制为 ~@ALL 时将以整个地牢内的玩家为触发者
- actionbar *<self:player-name> 触发 Kether 语句 ~@ALL
#开头带 $ 为地牢脚本
- $message{type=text;text=%player_name%} @dungeon
dungeon *{脚本} *{运行类型} params "{参数}"
dungeon *{脚本} *{运行类型} params "{参数}" area "{区域} {区域2}"
def main = {
for i in dungeon-data players then {
switch &i
dungeon *message *self params "type=text;text=Example:<self:player-name>"
}
}