Do you people even read the posts? Neither that nor ATMA's has ANYTHING to do with what he asked.


Code:
alias ping {
  .set $+(%,ping.,$1,.,$cid) $ticks
  ctcp $1 PING
}

on *:ctcpreply:ping *:{
  echo -a $form.ctcp_rep($nick, PING, $calc(($ticks - $eval($+(%,ping.,$nick,.,$cid),2))/1000) seconds)
  unset $+(%,ping.,$nick,.,$cid)
  halt
}


That should work correctly.