The on PING event triggers when a server sends you a PING message to see if you are still connected.
The on PONG even triggers when you receive a PONG reply from the server after sending it a ping.
Format: on <level>:PING:<commands>
Example: on 1:PING:/echo -s $nick sent me a PING
on 1:PING:/notice $me Wake up! The server is PINGing you: $1-
This triggers when the server pings you. The $1- parameters hold the ping message.
on 1:PONG:echo pong reply: $1-
This triggers when the server replies to your ping.
Note: You cannot use this to intercept /pings to your own nickname, this is used internally by mIRC.