put this on your remotes
When someone types !ping on channel !pingme !pinger
this will ping the nick then msg the channel of the ping result.
;;\\updated\\;;
Thanks xDaeMon
One problem you might encounter is when NICK1 used !ping on #CHAN1, then at the same time NICK2 used it also on #CHAN2, the variable %c will be set from the 1st channel then to the 2nd so the ping of NICK1 will show on the 2nd channel.
To solve this, use dynamic variables
set $+(%,ping,.,$nick) $chan
to get the value of the variable, need to evaluate them 2x
$($+(%,ping,.,$nick),2)