Advertisement
okaz_

Untitled

Jan 15th, 2020
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. command /addwarp <text>:
  2. usage: /addwarp <text>
  3. trigger:
  4. if arg 1 is set:
  5. if arg 1 is not {warp.%player%}:
  6. add arg 1 to {warp.%player%}
  7. send "&e%arg-1%というワープ先を追加しました。"
  8. if arg 1 is set:
  9. if arg 1 is {warp.%player%}:
  10. send "&cその名前は既に使用されています。"
  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