Is it possible to get the amount of all registered ranks?
I would like to make a message like this one:
Player is on rank 23 of 1134.
function getlowestrank() 	local dir = "sys/stats/userstats.dat" 	local file = io.open(dir, "rb") 	local res, size = 0, file:seek("end") 	file:seek("set", 17) 	repeat 		file:read("*l") 		res = res + 1 		file:seek("cur", 34) 	until file:seek("cur") >= size 	file:close() 	return res end --testing print("Lowest rank is "..getlowestrank())
file:close()at the end of the function.