Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /spawnset <text>:
- permission:sk.admin
- trigger:
- if {homelist::%arg-1%} is set:
- message "&bすでに存在しています"
- stop
- set {homelist::%arg-1%} to location of player
- message "&b%arg-1%を追加しました"
- command /removespawn <text>:
- permission:skript.admin
- trigger:
- if {homelist::%arg-1%} is set:
- delete {homelist::%arg-1%}
- message "&c%arg-1%を削除しました"
- if {homelist::%arg%} is not set:
- message "%arg-1%はありません"
- command /spawn <text>:
- trigger:
- if {homelist::%arg-1%} is set:
- teleport player to {homelist::%arg-1%}
- send "&a%arg-1%にテレポートしました。"
- else:
- message "%arg-1%はありません"
- command /spawnlist:
- trigger:
- loop {homelist::*}:
- set {_homes} to "%{_homes}%,%loop-index%"
- replace "<none>," in {_homes} with ""
- message "&a---=Spawns=---"
- message "&a%{_homes}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement