Jump to content
  • 0

I'm having trouble with my skript


D4rkLogic

Question

1 answer to this question

Recommended Posts

  • -1

I'm not sure how to make the move thing, but here's a skript I didn't make

 

 

command /sethome:
    trigger:
        if player has permission "command.home":
            set {home.%player%} to location of player
            message "<gray>Home set succesfully"

command /home:
    trigger:
        if player has permission "command.home":
            if {home.%player%} is not set:
                message "<light red>You have not set your home!"
                stop
        teleport player to {home.%player%}
        message "<gray>Teleported to your home"

command /delhome:
    trigger:
        if player has permission "command.home":
            delete {home.%player%}
            message "<gray>Home removed succesfully"

 

imgonline-com-ua-resize-CNNkL1drx5M-removebg-preview.png.d6a8ae8b5eb862005fb056c21f934200.png

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
×
×
  • Create New...