Code:
ctcp *:PING:?: {
  echo -t $chan ctcp: $nick › ping
  .ctcpreply $nick PING ....
  haltdef
}


I've tried with $ctime after .ctcpreply $nick PING, but it didn't work correctly, what should I use?