Jump to content

Warp [SKRIPT]


Smiley_Guy_

Recommended Posts

Quote

 

command /setwarp [<text>]:

    permission: setwarp

    trigger:

        if arg-1 is set:

            set {warp::%arg-1%} to location of player

            send "&7Set warp: &c%arg-1%&7 to your location!" to player

        else:

            send "&7Please enter a valid name for the warp!" to player

 

command /warp [<text>]:

    trigger:

        if arg-1 is set:

            if {warp::*} contains "%arg-1%":

                teleport player to {warp::%arg-1%}

                send "&7Teleported to warp &c%arg-1%&7!" to player

            else:

                send "&7Warp doesn't exist!" to player

        else:

            send "&7Warp doesn't exist!" to player 

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

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