Jump to content

/ping command


Jayden130

Recommended Posts

Hello, i made a skript that lets you see your ping and how laggy the connection between you and the server is by executing the command /ping.

Feel free to copy and paste or download this and put it on any server.

command /ping:
	trigger:
		if player's ping < 50:
			send "§6Your ping is: %player's ping%§6 ms, no lag." to player
		else if player's ping <125:
			send "§bYour ping is: %player's ping%§b ms, almost no lag." to player
		else if player's ping <300:
			send "§aYour ping is: %player's ping%§a ms, little laggy." to player
		else if player's ping <1000:
			send "§cYour ping is: %player's ping%§c ms, laggy" to player
		else:
			send "§4Your ping is: %player's ping%§4 ms, very laggy." to player
			wait 1 second
			send "§4Your wifi or the server could be laggy or you're far away from the server."

You can always add more or edit messages when you want to.

ping.sk

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