i have a code
command /block <text> <text> <text>:
executable by: console and players
trigger:
if arg-2 is "layer1":
set {gblock::1} to "%arg-3% block"
send "layer 1 is set to &e%arg-3%" to all players
loop blocks within {EZBLOCK::area1} and {EZBLOCK::area2}:
if loop-block is not air or sand or concrete powder or red sand:
set loop-block to {gblock::1}
there is no error but when i place the block at the area
example i set arg-3 as diamond it doesnt change the "set loop-block to {gblock::1}" to diamond block instead when i place it the event just cancelled.. can someone help maybe i did something wrong?