Advertisement
okaz_

Untitled

Jan 15th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. command /addwarp <text>:
  2. permission: script.admin
  3. usage: &c/addwarp <WarpName>
  4. trigger:
  5. if arg-1 is not set:
  6. send "&c追加したいワープ名を記入してください。"
  7. if arg-1 is set:
  8. add {warp::%arg-1%.%player%} to player's location
  9.  
  10. command /removewarp <text>:
  11. permission: script.admin
  12. usage: &c/removewarp <WarpName>
  13. trigger:
  14. if arg-1 is not set:
  15. send "&c削除したいワープ名を記入してください。"
  16. if arg-1 is not {warp::*}:
  17. send "&c%arg-1%というワープ名が見つかりませんでした。"
  18. if arg-1 is {warp::*}:
  19. send "&e%arg-1%というワープ先を削除しました。"
  20. remove from {warp::%arg-1%} arg-1
  21.  
  22. command /warplist:
  23. trigger:
  24. send "&eワープリスト: &a%{warp::*}%"
  25.  
  26. command /warp <text>:
  27. usage: &c/warp <text>
  28. trigger:
  29. if arg-1 is not {warp::*}:
  30. send "&c%arg-1%というワープ名が見つかりませんでした。"
  31. if arg-1 is {warp::*}:
  32. send "&e%arg-1%にワープしました。"
  33. teleport player to {warp::%arg-1%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement