SHARE
TWEET

buildbattle(back)

UDON_JP Aug 13th, 2019 (edited) 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /back <player>:
  2.     trigger:
  3.         if {back.%arg-1%} is true:
  4.             send "&cテレポートをキャンセルしました。"
  5.             delete {back.%arg-1%}
  6.             stop
  7.         set {back.%arg-1%} to true
  8.         send "&a3秒後、ロビーにテレポートします…テレポートをキャンセルする場合、もう一度クリックしてください。"
  9.         # このsend、メニューで実行するのかな?
  10.         wait 3 seconds
  11.         {back.%arg-1%} is set
  12.         remove arg-1 from {player::*}
  13.         # この場合、removeを先にしないとamount of {player::*}の値がおかしくなる
  14.         remove all items from arg-1's inventory
  15.         execute console command "/menu grab %arg-1% lobby"
  16.         teleport arg-1 to {joinspawn}
  17.         loop {player::*}:
  18.             send "&7%arg-1% &eがゲームから抜けました! (&b%amount of {player::*}%&e/&b8&e)!" to loop-value
  19.         delete {back.%arg-1%}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top