method: run - Unknown-Creators-Team/Commander-API GitHub Wiki
1つのコマンドで複数のコマンドを実行します。
使用例
functionのように使用する
/tag @s add "run:['tell @s This is tell','title @s title This is title','title @s actionbar This is actionbar','playsound note.bass']"
スコアやタグを挿入して使用する
/tag @a[tag=Capi:blockBreak] add "run:['setblock {score:Capi:blockBreakX} {score:Capi:blockBreakY} {score:Capi:blockBreakZ} {tag:blockBreak}','tag @s remove Capi:blockBreak']"
変数
変数 を使用することができます