Difference between revisions of "On pong"
From Scriptwiki
m |
|||
Line 13: | Line 13: | ||
== See Also == | == See Also == | ||
− | + | * [[On_ping|On ping event]] to react to ping event. | |
[[Category:Events]] | [[Category:Events]] |
Latest revision as of 09:57, 2 July 2007
The on PONG even triggers when you receive a PONG reply from the server after sending it a ping.
on <level>:PONG:<commands>
Read access levels to get more info about the <level> field.
Note that you can't use this to intercept /pings to your own nickname, this is used internally by mIRC.
Example
on *:PONG: { echo -a Got a pong from the server: $1- }
This example would trigger on every pong and echo it to the active window.
See Also
- On ping event to react to ping event.