CTCP Protocol


CTCP (Client-to-client Protocol) is a common protocol implemented by most IRC clients.  It extends the original IRC protocol to allow users to query other clients or channels for specific information.  Mutter implements the CTCP protocol, and supports the following common CTCP commands:

 

CLIENTINFO

Returns an index of CTCP commands that Mutter supports

Example: CLIENTINFO PING SOURCE TIME USERINFO VERSION

 

PING

Measures the delay of the IRC network

Example: PING 0.04865 seconds

 

SOURCE

Returns the location of where to obtain a copy of Mutter

Example: SOURCE www.mutterirc.com

 

TIME

Returns the local date and time

Example: TIME 2016-01-17 11:50:01 Greenwich Mean Time

 

USERINFO

Returns the username string

Example: USERINFO fred

 

VERSION

Returns the IRC client name, version, build, and website

Example: VERSION Mutter IRC client v1.0.4 (Build: 1601605) - www.mutterirc.com

 

The CTCP responses are enabled in Mutter by default and can be managed within the Settings page.  You can also initiate a CTCP request from the Channel User action menu or Private Message action menu, or using the /CTCP command.