Advertisement
WoagWoagan

Untitled

Sep 14th, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. command /location <text> [<text>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg-1 is "add":
  5. if arg-2 is set:
  6. set {location::*} to location of player
  7. set {location_name::*} to arg-2
  8. message "&a座標を記録しました。"
  9. else:
  10. message "&c座標の名前を入力してください。"
  11. if arg-1 is "list":
  12. if arg-2 is not set:
  13. message "&a{location_name::*} &f: &6{location::*}" to player
  14. else:
  15. message "&cエラーが発生しました。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement