If you`re friends ask you to ping them just use this. All they have to do is write !ping in a channel. Just put this in the remote section (Press Alt+R)
on *:text:!ping:#: { ctcp $nick ping | notice $nick I`m Pinging you. Please wait for result. }
on *:CtcpReply:ping*: { notice $nick Your Ping is $calc($ctime - $2) $+ seconds }