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

m (bot: cat fixing naming)
Line 1: Line 1:
 +
{{mIRC Guide}}
 
The '''ON CTCPREPLY''' event triggers after a user's client responds to a [[/ctcp command - mIRC|/ctcp command]]. The [[CTCP requests]] page discusses, in detail, common [[CTCP]] requests.
 
The '''ON CTCPREPLY''' event triggers after a user's client responds to a [[/ctcp command - mIRC|/ctcp command]]. The [[CTCP requests]] page discusses, in detail, common [[CTCP]] requests.
  

Revision as of 11:31, 24 October 2014

Template:mIRC Guide 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