Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chestkit <text> <text="">:
- ( )aliases: /ck
- ( )trigger:
- ( )( )if arg 1 is "list":
- ( )( )( )loop {chestkit::*}:
- ( )( )( )( )message "%loop-index%<white> / %loop-value%"
- ( )( )else if arg 2 is not "":
- ( )( )( )if arg 1 is "set":
- ( )( )( )( )if targeted block is not chest block:
- ( )( )( )( )( )message "<magenta>チェストを選択してください"
- ( )( )( )( )( )stop
- ( )( )( )( )if {chestkit::%arg 2%} is set:
- ( )( )( )( )( )message "<magenta>同じ名前のチェストキットが既にあります"
- ( )( )( )( )( )stop
- ( )( )( )( )set {chestkit::%arg 2%} to location of targeted block
- ( )( )( )( )message "<magenta>チェストキット%arg 2%を設定しました"
- ( )( )( )if arg 1 is "delete":
- ( )( )( )( )if {chestkit::%arg 2%} is not set:
- ( )( )( )( )( )message "<magenta>その名前のチェストキットは存在しません"
- ( )( )( )( )( )stop
- ( )( )( )( )delete {chestkit::%arg 2%}
- ( )( )( )( )message "<magenta>チェストキット%arg 2%を削除しました"
- ( )( )( )if arg 1 is "get":
- ( )( )( )( )if {chestkit::%arg 2%} is not set:
- ( )( )( )( )( )message "<magenta>その名前のチェストキットは存在しません"
- ( )( )( )( )( )stop
- ( )( )( )( )message "<gray>_________________%arg 2%___________________"
- ( )( )( )( )loop items in inventory of block at {chestkit::%arg 2%}:
- ( )( )( )( )( )message "<gray>%loop-item%"
- ( )( )else if arg 2 is "":
- ( )( )( )if {chestkit::%arg 1%} is set:
- ( )( )( )( )set player's inventory to inventory of block at {chestkit::%arg 1%}
- on break:
- ( )loop {chestkit::*}:
- ( )( )loop-value is location of block
- ( )( )delete {chestkit::%loop-index%}
- ( )( )message "チェストキット%loop-index%を削除しました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement