Something like saving the ping of every player existing every minute and average out all the players ping into one number.
I have two servers and would like to compare average pings of players.
-- Create a save file (use forum search function or wait somebody else to post it for you) -- Loop everyone in server for k,v in pairs (player(0,"table")) do 	local PingOfPlayer = player(v,"ping") 	-- Place the writing to file here end
savestrp = {} addhook("minute","pingpong") function pingpong(id) 	for id = 1,32 do 	local pingofplayer = player(id,"ping") 	ping = readfile("sys/lua/autorun/ping/totalping.txt", 1)-1+1 		if ping > 0 then 		pingofplayer = pingofplayer + ping / 2 		sping = io.open("sys/lua/autorun/ping/totalping.txt", "w") 		sping:write(""..pingofplayer.."") 		sping:close() 		return 1 		end 	return 1 	end end function readfile(filelocation, linenum) saveline=1 for line in io.lines(filelocation) do savestr[saveline]=line saveline=saveline+1 end return savestr[linenum] end