command /blabla:
trigger:
if "%region at player%" contains "spawn-s":
loop items in player's inventory:
if loop-item is dirt:
add item amount of loop-item to {_a}
if {_a} is greater than than 5:
send "&aplz work <:" to player
else:
stop
any help ? isn't work