|
on PING/PONG |
|
|
The on PING event triggers when a server sends you a PING message to see if you're 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 just PING'd me! |
||||||||||||
|
Examples |
||||||||||||
|
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 can't use this to intercept /pings to your own nickname, this is used internally by mIRC. |