Jump to content

anyone know how to fix this?


Recommended Posts

command /test [<offlineplayer>]:
    trigger:
        open chest with 3 rows named "&2&lTest" to player
        format slot 0 of player with green stained glass pane named "&f" to be unstealable
        format slot 1 of player with green stained glass pane named "&f" to be unstealable
        format slot 2 of player with green stained glass pane named "&f" to be unstealable
        format slot 3 of player with green stained glass pane named "&f" to be unstealable
        format slot 4 of player with green stained glass pane named "&f" to be unstealable
        format slot 5 of player with green stained glass pane named "&f" to be unstealable
        format slot 6 of player with green stained glass pane named "&f" to be unstealable
        format slot 7 of player with green stained glass pane named "&f" to be unstealable
        format slot 8 of player with green stained glass pane named "&f" to be unstealable
        format slot 9 of player with green stained glass pane named "&f" to be unstealable
        format slot 10 of player with green stained glass pane named "&f" to be unstealable
        format slot 11 of player with green stained glass pane named "&f" to be unstealable
        format slot 12 of player with green stained glass pane named "&f" to be unstealable
        format slot 14 of player with green stained glass pane named "&f" to be unstealable
        format slot 15 of player with green stained glass pane named "&f" to be unstealable
        format slot 16 of player with green stained glass pane named "&f" to be unstealable
        format slot 17 of player with green stained glass pane named "&f" to be unstealable
        format slot 18 of player with green stained glass pane named "&f" to be unstealable
        format slot 19 of player with green stained glass pane named "&f" to be unstealable
        format slot 20 of player with green stained glass pane named "&f" to be unstealable
        format slot 21 of player with green stained glass pane named "&f" to be unstealable
        format slot 22 of player with green stained glass pane named "&f" to be unstealable
        format slot 23 of player with green stained glass pane named "&f" to be unstealable
        format slot 24 of player with green stained glass pane named "&f" to be unstealable
        format slot 25 of player with green stained glass pane named "&f" to be unstealable
        format slot 26 of player with green stained glass pane named "&f" to be unstealable    
            
        if arg-1 is "test":
            if player is not op:
                send "&cYou don't have permission!"
                cancel event

Link to comment
Share on other sites

1 hour ago, SuccoDiFrutta said:

command /test [<offlineplayer>]:
    trigger:
        open chest with 3 rows named "&2&lTest" to player
        format slot 0 of player with green stained glass pane named "&f" to be unstealable
        format slot 1 of player with green stained glass pane named "&f" to be unstealable
        format slot 2 of player with green stained glass pane named "&f" to be unstealable
        format slot 3 of player with green stained glass pane named "&f" to be unstealable
        format slot 4 of player with green stained glass pane named "&f" to be unstealable
        format slot 5 of player with green stained glass pane named "&f" to be unstealable
        format slot 6 of player with green stained glass pane named "&f" to be unstealable
        format slot 7 of player with green stained glass pane named "&f" to be unstealable
        format slot 8 of player with green stained glass pane named "&f" to be unstealable
        format slot 9 of player with green stained glass pane named "&f" to be unstealable
        format slot 10 of player with green stained glass pane named "&f" to be unstealable
        format slot 11 of player with green stained glass pane named "&f" to be unstealable
        format slot 12 of player with green stained glass pane named "&f" to be unstealable
        format slot 14 of player with green stained glass pane named "&f" to be unstealable
        format slot 15 of player with green stained glass pane named "&f" to be unstealable
        format slot 16 of player with green stained glass pane named "&f" to be unstealable
        format slot 17 of player with green stained glass pane named "&f" to be unstealable
        format slot 18 of player with green stained glass pane named "&f" to be unstealable
        format slot 19 of player with green stained glass pane named "&f" to be unstealable
        format slot 20 of player with green stained glass pane named "&f" to be unstealable
        format slot 21 of player with green stained glass pane named "&f" to be unstealable
        format slot 22 of player with green stained glass pane named "&f" to be unstealable
        format slot 23 of player with green stained glass pane named "&f" to be unstealable
        format slot 24 of player with green stained glass pane named "&f" to be unstealable
        format slot 25 of player with green stained glass pane named "&f" to be unstealable
        format slot 26 of player with green stained glass pane named "&f" to be unstealable    
            
        if arg-1 is "test":
            if player is not op:
                send "&cYou don't have permission!"
                cancel event

you don't need a cancel event. But if you do want to stop the skript you need to use stop

 

 

image.png.bc433d6489d70ad831075fe76809b993.png

 

[VIP] 12/26/20 - 10/27/2021
[PRO] 12/27/21 - Present

 

Link to comment
Share on other sites

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
 Share



×
×
  • Create New...