command /denemecik:
trigger:
message "%number of lapis lazuli in the player's inventory%"
on pickup of lapis lazuli:
if number of lapis lazuli in the player's inventory is greater than 9:
set {_amount} to (number of lapis lazuli in the player's inventory / 9)
give player {_amount} of lapis lazuli block
remove ({_amount} * 9) of lapis lazuli from the player's inventory