Since
Google leads to this thread if you search for
ping script mirc, I'd like to share this code.
This script will ping
every IRC network server you're connected to every 60 seconds and also hide
PONG messages, like
* PONG from efnet.port80.se: Anti10053 that are displayed in
mIRC Status window as a response from the server you've just pinged.
on *:START:.timerAnti10053 -o 0 60 scon -at1 raw -q ping Anti10053
on ^*:PONG:if ($2 == Anti10053) haltdef