Difference between revisions of "On ctcpreply"

From Scriptwiki
Jump to: navigation, search
m
 
m (Re-formatted text, added correct format, added examples.)
Line 1: Line 1:
Replies to a [[ctcp|CTCP]] request.
+
The on CTCPREPLY event triggers when a user sends a standard [[ctcp|CTCP]] reply to a [[ctcp|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|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|CTCP]] PING request that you sent.
  
ctcpreply <nick> <reply>
 
  
 
==See Also==
 
==See Also==

Revision as of 00:41, 23 June 2013

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