Jump to content

Home skript


GoBoiee74

Recommended Posts

command /sethome <string>:
    description: Sets your home
    permission: skript.home
    executable by: players
    trigger:
        set {homes::%uuid of player%::%arg-1%} to location of player
        message "Set your home <green>%arg-1%<reset> to <grey>%location of player%<reset>"

command /delhome <string>:
    description: Deletes your home
    permission: skript.home
    executable by: players
    trigger:
        clear {homes::%uuid of player%::%arg-1%}
        message "Deleted your home <green>%arg-1%<reset>"

command /home <string>:
    description: Teleports yourself to your home
    permission: skript.home
    executable by: players
    trigger:
        if {homes::%uuid of player%::%arg-1%} is not set:
            message "You have not set your home <green>%arg-1%<reset> yet!"
        else:
            teleport player to {homes::%uuid of player%::%arg-1%}

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...