From WikiChip
mirc/on events/on pong
< mirc‎ | on events
Revision as of 23:08, 3 July 2014 by PatrolBot (talk | contribs) (Bot: Adding a template (template:mIRC on event list))

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/02/2000

See Also