command /dupe:
trigger:
set {_item} to player's tool
if {_item} is air:
send "test" to player
else:
drop {_item} at player
set {currentpos} to player's location
play sound "block.anvil.place" at volume 1 at pitch 2 to player
i get an error that says else has to be place under if or else if blah blah blah, i know its do with spacing
else error skript spacing
in Help
Posted
command /dupe:
trigger:
set {_item} to player's tool
if {_item} is air:
send "test" to player
else:
drop {_item} at player
set {currentpos} to player's location
play sound "block.anvil.place" at volume 1 at pitch 2 to player
i get an error that says else has to be place under if or else if blah blah blah, i know its do with spacing