Skriptで作ったTPコマンドに相対座標を使えるようにしたい
Skriptバージョン2.9.2
Peper1.19.4
相対座標を使えるようにしたいです。
Peper1.19.4
command /tp [<player>] [<player>] [<number>] [<number>] [<number>]:
trigger:
if arg-1 and arg-2 is not set:
teleport player to location at arg-3, arg-4, arg-5
send "&b%player%を座標%arg-3% %arg-4% %arg-5%にテレポートしました!"
if arg-1 and arg-2 is set:
teleport arg-1 to arg-2
send "&b%player%を%arg-2%にテレポートしました!"command /tp [<player>] [<player>] [<number>] [<number>] [<number>]:
trigger:
if arg-1 and arg-2 is not set:
teleport player to location at arg-3, arg-4, arg-5
send "&b%player%を座標%arg-3% %arg-4% %arg-5%にテレポートしました!"
if arg-1 and arg-2 is set:
teleport arg-1 to arg-2
send "&b%player%を%arg-2%にテレポートしました!"相対座標を使えるようにしたいです。