If player has a particular item, I want it to be sold.
Code:
options:
p: &6&lOTOSAT &8► &f
lapislazuli: 100
lapiscevher: 2222222
lapisblok: 222222222
every 30 seconds:
loop all players:
if {lapislazuliac.%loop-player%} is true:
if loop-player has 1 of lapis lazuli:
remove all lapis lazuli from loop-player's inventory
add {@lapislazuli} * {_itemcountlz} to the loop-player's money
Last edited: