User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

on_send_ctcp [2006/08/29 16:08] (current)
Line 1: Line 1:
 +[[on]] [<​modes>​]send_ctcp [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +This hook is triggered whenever the client sends a [[CTCP]] request or reply to
 +another client.
 +|$0 |"​PRIVMSG"​ for requests, "​NOTICE"​ for replies|
 +|$1 |nick the [[CTCP]] is being sent to|
 +|$2 |type of [[CTCP]] being sent|
 +|$3- |optional arguments to the [[CTCP]] being sent|
 +To show the user when a CTCP request is sent:
 +   on -send_ctcp "​PRIVMSG *" {
 +      xecho -b Requesting a CTCP $2 from $1: $3-
 +   }
on_send_ctcp.txt ยท Last modified: 2006/08/29 16:08 (external edit)