Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- set {auto.%player%} to 0
- every 5 seconds:
- loop all players:
- if {auto.%loop-players%} is "1":
- execute loop-players command "/server %{server.%uuid of players%}%"
- stop
- command /sv <text> [<text>]:
- trigger:
- if arg-1 is "set":
- set {server.%uuid of players%} to arg-2
- if arg-1 is "on":
- if arg-2 is "on":
- if {server.%uuid of players%} is not set:
- send "&c設定しているサーバーがありません!"
- stop
- else:
- set {auto.%player%} to 1
- if arg-2 is "off":
- set {auto.%player%} to 0
- if arg-1 is "list":
- send "&aあなたの設定しているサーバーは%{server.%uuid of players%}%です!"
- command /skdebug:
- permission: skript
- trigger:
- send "server %{server.%uuid of players%}%"
- send "auto %{auto.%player%}%"
Advertisement
Add Comment
Please, Sign In to add comment