Advertisement
okaz_

Untitled

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