Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. command /chestkit <text> <text="">:
  2. ( )aliases: /ck
  3. ( )trigger:
  4. ( )( )if arg 1 is "list":
  5. ( )( )( )loop {chestkit::*}:
  6. ( )( )( )( )message "%loop-index%<white> / %loop-value%"
  7. ( )( )else if arg 2 is not "":
  8. ( )( )( )if arg 1 is "set":
  9. ( )( )( )( )if targeted block is not chest block:
  10. ( )( )( )( )( )message "<magenta>チェストを選択してください"
  11. ( )( )( )( )( )stop
  12. ( )( )( )( )if {chestkit::%arg 2%} is set:
  13. ( )( )( )( )( )message "<magenta>同じ名前のチェストキットが既にあります"
  14. ( )( )( )( )( )stop
  15. ( )( )( )( )set {chestkit::%arg 2%} to location of targeted block
  16. ( )( )( )( )message "<magenta>チェストキット%arg 2%を設定しました"
  17. ( )( )( )if arg 1 is "delete":
  18. ( )( )( )( )if {chestkit::%arg 2%} is not set:
  19. ( )( )( )( )( )message "<magenta>その名前のチェストキットは存在しません"
  20. ( )( )( )( )( )stop
  21. ( )( )( )( )delete {chestkit::%arg 2%}
  22. ( )( )( )( )message "<magenta>チェストキット%arg 2%を削除しました"
  23. ( )( )( )if arg 1 is "get":
  24. ( )( )( )( )if {chestkit::%arg 2%} is not set:
  25. ( )( )( )( )( )message "<magenta>その名前のチェストキットは存在しません"
  26. ( )( )( )( )( )stop
  27. ( )( )( )( )message "<gray>_________________%arg 2%___________________"
  28. ( )( )( )( )loop items in inventory of block at {chestkit::%arg 2%}:
  29. ( )( )( )( )( )message "<gray>%loop-item%"
  30. ( )( )else if arg 2 is "":
  31. ( )( )( )if {chestkit::%arg 1%} is set:
  32. ( )( )( )( )set player's inventory to inventory of block at {chestkit::%arg 1%}
  33.  
  34. on break:
  35. ( )loop {chestkit::*}:
  36. ( )( )loop-value is location of block
  37. ( )( )delete {chestkit::%loop-index%}
  38. ( )( )message "チェストキット%loop-index%を削除しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement