Code:
alias serverlag {
  .raw -q ping $ticks
}
;
on ^*:PONG:{
  haltdef
  echo -a Serverlag is $calc(($ticks - $2) / 1000 / 2) seconds
}


send $ticks not $server
$2 well be gthe same $ticks value you sent
so i then take the current $ticks subtract the $2 ticks to get round trip time
divide by 2 (i think im ment to do this since its not round trip lag just server lag maybe im not ment to i dont know)
divide by 1000 to get ticks to seconds