From WikiChip
Difference between revisions of "mirc/on events/on ping"
< mirc‎ | on events

m (bot: sort-key added to category)
m (PatrolBot moved page On ping - mIRC to mirc/on events/on ping: per new naming convention)
(No difference)

Revision as of 02:11, 13 August 2014

The ON PING event is triggered when the server sends you a PING to see if you are still connected.

Synopsis

ON <level>:PING:<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 ping message to the active window:

ON *:PING: {
  echo -a Server PING: $1-
  haltdef
}

Compatibility

Added: mIRC v5.6
Added on: 03 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also