m (bot: cat fixing naming) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''ON CTCPREPLY''' event triggers | + | {{mirc title|On Ctcpreply - Events}} |
+ | The '''ON CTCPREPLY''' event triggers when a user responds to a standard {{mIRC|/ctcp}} command. | ||
== Synopsis == | == Synopsis == | ||
Line 5: | Line 6: | ||
== Parameters == | == Parameters == | ||
− | |||
− | < | + | * '''<level>''' - The corresponding {{mIRC|access levels}} for the event to trigger. |
− | + | * '''<matchtext>''' - The corresponding {{mIRC|on text|matchtext}} for the event to trigger. | |
− | + | * '''<commands>''' - The commands to be performed when the event triggers | |
== Example == | == Example == | ||
− | Echo, to the active window, the reply a user gives to a | + | Echo, to the active window, the reply a user gives to a ctcp version request. |
<source lang="mIRC">ON *:CTCPREPLY:VERSION*:echo -a $nick $+ 's IRC client is: $1-</source> | <source lang="mIRC">ON *:CTCPREPLY:VERSION*:echo -a $nick $+ 's IRC client is: $1-</source> | ||
Line 19: | Line 19: | ||
== See Also == | == See Also == | ||
− | * | + | * {{mIRC|/ctcp}} |
− | * | + | * {{mIRC|/ctcpreply}} |
{{mIRC on event list}} | {{mIRC on event list}} | ||
[[Category:mIRC on events|ctcpreply]] | [[Category:mIRC on events|ctcpreply]] |
Latest revision as of 15:12, 30 January 2020
The ON CTCPREPLY event triggers when a user responds to a standard /ctcp command.
Synopsis[edit]
ON <level>:CTCPREPLY:<matchtext>:<commands>
Parameters[edit]
- <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[edit]
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[edit]
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[edit]
A on Action, on Active, on Agent, on Appactive B on Ban C on Char, on Chat, on Chatclose, on Chatopen, on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns |
J on Join K on Keydown, on Keyup, on Kick M on Midiend, on Mode, on Mp3end |
Q on Queryclose, on Queryopen, on Quit S on Sendfail, on Serv, on Servclose, on Servermode, on Serverop, on Servopen, on Signal, on Snotice, on Sockclose, on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on Usermode |