okaz_

Untitled

Jan 16th, 2020
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 set:
  7. if {warp::%player%::*} does not contain arg 1:
  8. send "&b%arg-1%&eという名前のワープ先を追加しました。"
  9. add arg-1 to {warp::%player%::*}
  10. if {warp::%player%::*} contains arg 1:
  11. send "&cその名前は既に使われています。"
  12. stop
  13.  
  14. command /removewarp <text>:
  15. permission: script.admin
  16. permission message: &cYou don't have permission to use this command.
  17. usage: /removewarp <WarpName>
  18. trigger:
  19. if arg 1 is set:
  20. if {warp::%player%::*} contains arg 1:
  21. send "&b%arg-1%&eという名前のワープ先を削除しました。"
  22. remove arg 1 from {warp::%player%::*}
  23. if {warp::%player%::*} does not contain arg 1:
  24. send "&cその名前は既に削除されています。"
  25.  
  26. command /warplist:
  27. trigger:
  28. send "&eワープリスト: &a%{warp::%player%::*}%"
  29.  
  30. command /warp <text>:
  31. trigger:
  32. if arg 1 is set:
  33. if {warp::%player%::*} contains arg 1:
  34. send "&b%arg-1%&eにワープしました。"
  35. teleport player to {warp.%player%}
  36. if {warp::%player%::*} does not contain arg 1:
  37. send "&c%arg-1%というワープ先はありません。"
RAW Paste Data