Jump to content

Skript that sends players current location


Mr_KnowOne

Recommended Posts

Well what am going for in this question is if you guys can help make this command:
/location - it would send the players current cords and the dimension their in, but I want to go for, if the player is in "world": then it would provide the cords and as well give the dimension their in. The players location doesn't have to be stored, its just for others to know where their at.

Link to comment
Share on other sites

here you go this is what i came up with what off you said. If it need any thing changed let me know 🙂 

 

options:
	p: &3&lLocation &8| &7



command /location <player>:
	trigger:
		if arg-1 is not set:
			set {_loc} to player's location
			set {_w} to player's world
			send "{@p}You are at &c%{_loc}%&7 in world '&c%{_w}%&7'"
		else:
			set {_loc} to arg-1's location
			set {_w} to arg-1's world
			send "{@p}%arg-1%&7 is at &c%{_loc}%&7 in world '&c%{_w}%&7'"

 

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