Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /tag [<text>] [<text>] [<text>]:
- trigger:
- if arg-1 is "add":
- if arg-2 is not set:
- message "プレイヤーを設定してください"
- stop
- else:
- if arg-3 is not set:
- message "タグ名を設定してください"
- stop
- else:
- command "/scoreboard players tag %arg-2% add %arg-3%"
- message "%arg-2%に%arg-3%を追加しました"
- else if arg-1 is "remove":
- if arg-2 is not set:
- message "プレイヤーを設定してください"
- stop
- else:
- if arg-3 is not set:
- message "タグ名を設定してください"
- stop
- else:
- command "/scoreboard players tag %arg-2% remove %arg-3%"
- message "%arg-2%に%arg-3%を削除しました"
- else if arg-1 is "list":
- if arg-2 is not set:
- message "タグ名を設定してください"
- stop
- else:
- command "/tell %player% タグ%arg-2%がついているリスト:"
- command "/say @e[tag=%arg-2%]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement