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

(Created On ping event - mIRC)
 
(See Also)
Line 22: Line 22:
  
 
== See Also ==
 
== See Also ==
[[On pong - mIRC|ON PONG]]
+
* [[On pong - mIRC|ON PONG]]
  
 
[[Category:mIRC on events]]
 
[[Category:mIRC on events]]

Revision as of 22:20, 25 June 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/06/99

See Also