From WikiChip
Difference between revisions of "mirc/commands/ctcpreply"
< mirc‎ | commands

(Created page with "The '''/ctcpreply command''' can be used to send a reply to a CTCP request == Synopsis == /ctcpreply <nick> <ctcp> [message] == Switches == None == Parameters == * '''<nic...")
 
Line 10: Line 10:
 
* '''<nick>''' - Nickname of the person to send a response to
 
* '''<nick>''' - Nickname of the person to send a response to
 
* '''<ctcp>''' - Reply type
 
* '''<ctcp>''' - Reply type
* '''[message]''' - respond messa
+
* '''[message]''' - response message
  
 
== Example ==
 
== Example ==

Revision as of 14:42, 22 December 2013

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

Synopsis

/ctcpreply <nick> <ctcp> [message]

Switches

None

Parameters

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

Example

;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

Added: mIRC v5.02

Added On: 21/04/1997

Note: Individual switches were not taken into consideration.

See also