7mm

Untitled

7mm
Mar 1st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. command /paintblock <text> [<text>]:
  2. description: インクが塗れるブロックの追加
  3. usage: &e/pb
  4. aliases: /pb
  5. trigger:
  6. if arg 1 is "list" or "0":
  7. message "&9[system] &dペイントブロックリスト(計%{PaintBlock-Amount}%)"
  8. loop {PaintBlock-Amount} times:
  9. message "&9[sy] &d・%{PaintBlock-Name.%{PaintBlock-Amount}%}%"
  10. if arg 1 is "add" or "1":
  11. add 1 to {PaintBlock-Amount}
  12. set {PaintBlock-Name.%{PaintBlock-Amount}%} to arg 2
  13. message "&9[system] &7{PaintBlock-Name.%{PaintBlock-Amount}%}を塗ることのできるブロックに追加しました"
  14. if arg 1 is "clear" or "2":
  15. loop {PaintBlock-Amount} times:
  16. reset {PaintBlock-Name.%{PaintBlock-Amount}%}
  17. reset {PaintBlock-Amount}
  18. message "&9[system] &7塗ることのできるブロックをリセットしました"
  19. if arg 1 is "setpba" or "3":
  20. set {PaintBlock-Amount} to arg 2
  21. message "&9[system] &7PaintBlock-Amountを%arg 2%にセットしました"
Add Comment
Please, Sign In to add comment