Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /paintblock <text> [<text>]:
- description: インクが塗れるブロックの追加
- usage: &e/pb
- aliases: /pb
- trigger:
- if arg 1 is "list" or "0":
- message "&9[system] &dペイントブロックリスト(計%{PaintBlock-Amount}%)"
- loop {PaintBlock-Amount} times:
- message "&9[sy] &d・%{PaintBlock-Name.%{PaintBlock-Amount}%}%"
- if arg 1 is "add" or "1":
- add 1 to {PaintBlock-Amount}
- set {PaintBlock-Name.%{PaintBlock-Amount}%} to arg 2
- message "&9[system] &7{PaintBlock-Name.%{PaintBlock-Amount}%}を塗ることのできるブロックに追加しました"
- if arg 1 is "clear" or "2":
- loop {PaintBlock-Amount} times:
- reset {PaintBlock-Name.%{PaintBlock-Amount}%}
- reset {PaintBlock-Amount}
- message "&9[system] &7塗ることのできるブロックをリセットしました"
- if arg 1 is "setpba" or "3":
- set {PaintBlock-Amount} to arg 2
- message "&9[system] &7PaintBlock-Amountを%arg 2%にセットしました"
Add Comment
Please, Sign In to add comment