Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /addwarp <text>:
- usage: /addwarp <text>:
- trigger:
- loop all players:
- if arg 1 is set:
- send "&e%arg-1%というワープ先を追加しました。"
- add {warp.%arg-1%} to loop-player
- if arg 1 is set:
- if arg 1 is {warp.%loop-player%}
- send "&cその名前は既に使用されています。" to sender
- command /warplist:
- trigger:
- send "&eワープリスト: &a%{warp.%player%}%"
- command /warp <text>:
- usage: /warp <text>
- trigger:
- if arg 1 is set:
- if arg 1 is {warp.%player%}:
- send "&e%arg-1%にワープしました。"
- teleport player to {warp.%arg-1%}
- if arg 1 is not {warp.%player%}:
- send "%c%arg-1%というワープ先が見つかりませんでした。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement