slightly different is this one, I got it from the board here before the fire
I wish I could remember who posted it..
alias ping .raw PRIVMSG $$1 : $+ $chr(1) $+ PING $ticks $+ $chr(1)
on *:CTCPREPLY:PING*: {
var %ping = $calc(($ticks - $2) / 1000) Seconds
echo -a $+($nick,'s) $1 is %ping
.notice $nick Your $1 is %ping
haltdef
}
make sure you dont have another "ping" alias anywhere