Jump to content
  • 0

else error skript spacing


1slo

Question

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

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...