On ctcpreply

From Scriptwiki
Revision as of 00:41, 23 June 2013 by Cail (talk | contribs) (Re-formatted text, added correct format, added examples.)

Jump to: navigation, search

The on CTCPREPLY event triggers when a user sends a standard CTCP reply to a CTCP that you initiated.

on <level>:CTCPREPLY:<matchtext>:<commands>

Examples:

on 1:CTCPREPLY:VERSION*:/echo $nick is using IRC client: $1-

This is triggered when a client replies to a CTCP VERSION request that you sent.


on 1:CTCPREPLY:PING*:/echo $nick replied to my ping!

This is triggered when a client replies to a CTCP PING request that you sent.


See Also