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

m (Bot: adding missing title)
Line 1: Line 1:
{{mIRC Guide}}
+
{{mirc title|On Ctcpreply - Events}}
 
The '''ON CTCPREPLY''' event triggers when a user responds to a standars {{mIRC|/ctcp}} command.
 
The '''ON CTCPREPLY''' event triggers when a user responds to a standars {{mIRC|/ctcp}} command.
  

Revision as of 20:12, 15 June 2017

The ON CTCPREPLY event triggers when a user responds to a standars /ctcp command.

Synopsis

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

Parameters

  • <level> - The corresponding access levels for the event to trigger.
  • <matchtext> - The corresponding matchtext for the event to trigger.
  • <commands> - The commands to be performed when the event triggers

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