From WikiChip
Difference between revisions of "mirc/on events/on pong"
m (Bot: adding missing title) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{mirc title|On Pong - Events}} |
The '''ON PONG''' event is triggered when the server replies with a PONG after the local mIRC client sent a [[Ping - IRC|PING]] response. | The '''ON PONG''' event is triggered when the server replies with a PONG after the local mIRC client sent a [[Ping - IRC|PING]] response. | ||
Revision as of 19:21, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The ON PONG event is triggered when the server replies with a PONG after the local mIRC client sent a PING response.
Synopsis
ON <level>:PONG:<commands>
Parameters
<level>The level for the event to trigger.
<commands>The commands to be performed when the event listener's criteria is met.
Example
Halt mIRC's default display, and echo the pong message to the active window:
ON *:PONG: { echo -a Server PONG: $1- haltdef }
Compatibility
Added: mIRC v5.7
Added on: 02 Feb 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
mIRC on event list