Advertisement
maozou

Spawn

Dec 14th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. command /spawnset <text>:
  2. permission:sk.admin
  3. trigger:
  4. if {homelist::%arg-1%} is set:
  5. message "&bすでに存在しています"
  6. stop
  7. set {homelist::%arg-1%} to location of player
  8. message "&b%arg-1%を追加しました"
  9. command /removespawn <text>:
  10. permission:skript.admin
  11. trigger:
  12. if {homelist::%arg-1%} is set:
  13. delete {homelist::%arg-1%}
  14. message "&c%arg-1%を削除しました"
  15. if {homelist::%arg%} is not set:
  16. message "%arg-1%はありません"
  17. command /spawn <text>:
  18. trigger:
  19. if {homelist::%arg-1%} is set:
  20. teleport player to {homelist::%arg-1%}
  21. send "&a%arg-1%にテレポートしました。"
  22. else:
  23. message "%arg-1%はありません"
  24. command /spawnlist:
  25. trigger:
  26. loop {homelist::*}:
  27. set {_homes} to "%{_homes}%,%loop-index%"
  28. replace "<none>," in {_homes} with ""
  29. message "&a---=Spawns=---"
  30. message "&a%{_homes}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement