Satoru7135

Untitled

Feb 27th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. on join:
  2. set {auto.%player%} to 0
  3.  
  4. every 5 seconds:
  5. loop all players:
  6. if {auto.%loop-players%} is "1":
  7. execute loop-players command "/server %{server.%uuid of players%}%"
  8. stop
  9.  
  10. command /sv <text> [<text>]:
  11. trigger:
  12. if arg-1 is "set":
  13. set {server.%uuid of players%} to arg-2
  14. if arg-1 is "on":
  15. if arg-2 is "on":
  16. if {server.%uuid of players%} is not set:
  17. send "&c設定しているサーバーがありません!"
  18. stop
  19. else:
  20. set {auto.%player%} to 1
  21. if arg-2 is "off":
  22. set {auto.%player%} to 0
  23. if arg-1 is "list":
  24. send "&aあなたの設定しているサーバーは%{server.%uuid of players%}%です!"
  25.  
  26. command /skdebug:
  27. permission: skript
  28. trigger:
  29. send "server %{server.%uuid of players%}%"
  30. send "auto %{auto.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment