command /wrzuć []: trigger: if target block is chest or trapped chest: if arg 1 is set: set {_i} to arg set {_n} to amount of {_i} in player's inventory if {_n} > 0: if inventory of target block Can Hold ("%{_n}% %{_i}%" parsed as item): if name of loop-item is set: remove ("%{_n}% %{_i}%" parsed as item) named "%the name of {_i}%" with lore "%lore of {_i}%" from player add ("%{_n}% %{_i}%" parsed as item) to inventory of target block send "&2Wrzucanie Przedmiotów" else: send "&cW skrzyni nie ma miejsca!" else: send "&cBlad! Nie masz wystarczajaco przedmiotow!" else: loop all items in player's inventory: set {_i} to loop-item set {_n} to amount of {_i} in inventory of target block if {_n} > 0: if inventory of target block Can Hold ("%{_i}%" parsed as item): if name of loop-item is set: add ("%{_i}%" parsed as item) named "%name of {_i}%" with lore "%name of {_i}%" to inventory of target block remove ("%{_i}%" parsed as item) from player send "&aGotowe" else: send "&cBlok nie jest skrzynka!" command /gdzietojest : trigger: loop all blocks in "Creative": if loop-block is chest: