From WikiChip
mirc/on events/on ctcpreply
< mirc‎ | on events
Revision as of 21:44, 26 July 2014 by PatrolBot (talk | contribs) (bot: sort-key added to category)

The ON CTCPREPLY event triggers after a user's client responds to a /ctcp command. The CTCP requests page discusses, in detail, common CTCP requests.

Synopsis

ON <level>:CTCPREPLY:<matchtext>:<commands>

Parameters

<level>The level for the event to trigger.

<matchtext>The text that to be matched. Can also be a wildcard.

<commands>The commands to be performed when the event listener's criteria is met.

Example

Echo, to the active window, the reply a user gives to a Ctcp version request.

ON *:CTCPREPLY:VERSION*:echo -a $nick $+ 's IRC client is: $1-

Compatibility

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also