Advertisement
okaz_

Untitled

Jan 15th, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. command /addwarp <text>:
  2. usage: /addwarp <text>:
  3. trigger:
  4. loop all players:
  5. if arg 1 is set:
  6. send "&e%arg-1%というワープ先を追加しました。"
  7. add {warp.%arg-1%} to loop-player
  8. if arg 1 is set:
  9. if arg 1 is {warp.%loop-player%}
  10. send "&cその名前は既に使用されています。" to sender
  11.  
  12. command /warplist:
  13. trigger:
  14. send "&eワープリスト: &a%{warp.%player%}%"
  15.  
  16. command /warp <text>:
  17. usage: /warp <text>
  18. trigger:
  19. if arg 1 is set:
  20. if arg 1 is {warp.%player%}:
  21. send "&e%arg-1%にワープしました。"
  22. teleport player to {warp.%arg-1%}
  23. if arg 1 is not {warp.%player%}:
  24. send "%c%arg-1%というワープ先が見つかりませんでした。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement