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
Question
1slo
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
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now