Project

General

Profile

Actions

Ctcpreply » History » Revision 5

« Previous | Revision 5/7 (diff) | Next »
Per Amundsen, 10/05/2015 01:02 AM


Added in 1.9.0

/ctcpreply <nick> <ctcp> [message]

Sends a reply to a ctcp query.

Parameters

<nick> - The nick to reply.
<ctcp> - The ctcp result to reply.
[message] - The ctcp result message to reply.

Example

; Listen to a TIME CTCP request.
ctcp *:TIME:*:{

  ; Send two ctcp replies.
  /ctcpreply $nick TIME Current time: $time(hh:nn:ss TT (ZZZ))
  /ctcpreply $nick TIME Current Data: $time(dddd $+ $chr(44) mmmm dd $+ $chr(44) 2009)

  ; Stop AdiIRC's standard ctcp reply.
  halt
}

Updated by Per Amundsen over 8 years ago · 5 revisions

Also available in: PDF HTML TXT