kazuken0814

Untitled

Sep 18th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. command /homeset <text>:
  2. permission: skript.admin
  3. trigger:
  4. if {homelist::%arg%} is set:
  5. message "すでにその名前で登録されています。"
  6. stop
  7. set {homelist::%arg%} to location of player
  8. message "%arg%を追加しました"
  9. command /homelist:
  10. trigger:
  11. loop {homelist::*}:
  12. set {_homes} to "%{_homes}%,%loop-index%"
  13. replace "<none>," in {_homes} with ""
  14. message "%{_homes}%"
  15. command /delhome <text>:
  16. trigger:
  17. if {homelist::%arg%} is set:
  18. delete {homelist::%arg%}
  19. message "%arg%を削除しました"
  20. else:
  21. message "%arg%はありません"
  22. command /tphome <text>:
  23. trigger:
  24. if {homelist::%arg%} is set:
  25. teleport player to {homelist::%arg%}
  26. else:
  27. message "%arg%はありません"
Advertisement
Add Comment
Please, Sign In to add comment