From WikiChip
/ctcpreply Command - mIRC
< mirc‎ | commands
Revision as of 19:14, 15 June 2017 by ChippyBot (talk | contribs) (Bot: de-linking old mIRC menu)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /ctcpreply command can be used to send a reply to a CTCP request

Synopsis[edit]

/ctcpreply <nick> <ctcp> [message]

Switches[edit]

None

Parameters[edit]

  • <nick> - Nickname of the person to send a response to
  • <ctcp> - Reply type
  • [message] - response message

Example[edit]

;Listen to a TIME CTCP request
ctcp *:TIME:*:{
 
  ;Send two CTCP replays
  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 the standard mIRC\'s CTCP replay
  halt
}

Compatibility[edit]

Added: mIRC v5.02
Added on: 21 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]

[Expand]
v · d · e mIRC commands list