-
Introduction -
IRC Commands -
ACCESS -
ADMIN -
AUTH -
AWAY -
BATCH -
CAP -
CAPTCHA -
CHATHISTORY -
CHGPASS -
CONNECT -
CONTACT -
CREATE -
DATA -
DEVICE -
DIE -
EVENT -
INFO -
INVITE -
IRCX -
ISIRCX -
ISON -
JOIN -
KICK -
KILL -
LINKS -
LIST -
LISTX -
LUSERS -
MEMO -
MODE -
MOTD -
NAMES -
NICK -
NOTICE -
OBJECT -
OPER -
PART -
PASS -
PING -
PONG -
PRIVMSG -
PROP -
QUIT -
REGISTER -
REHASH -
REPLY -
REQUEST -
RESET -
SAJOIN -
SAMODE -
SANICK -
SAPART -
SILENCE -
SQUIT -
STATS -
STOP -
TAGMSG -
TIME -
TOPIC -
TRANSCRIPT -
UMODE2 -
UNREGISTER -
USER -
USERHOST -
USERS -
VERIFY -
VERSION -
WALLOPS -
WATCH -
WHISPER -
WHO -
WHOIS -
WHOWAS
CONTACT
The CONTACT command is used to manage a server-side contact list, similar to a buddy list in instant messaging clients. It leverages the WATCH list for contact presence (status).
Managing Contacts
The CONTACT command uses subcommands to perform various actions:
Listing Contacts
Usage: CONTACT LISTLists your current contacts.
Adding or Editing Contacts
Usage: CONTACT ADD | EDIT <target_nick> <category> <alias><target_nick> The nickname of the contact to add or edit.
<category> A category for grouping contacts (e.g., family, co-workers, friends).
<alias> A custom name to display for the contact in your list.
Acknowledging, Accepting, or Rejecting Contact Requests
Usage: CONTACT ACK | ACCEPT | REJECT <target_nick><target_nick> The nickname of the user who sent the contact request.
Searching for Contacts
Usage: CONTACT SEARCH <query><query> A search query using key-value pairs. Supported searchable fields (using
* for wildcard and ? for single character matching) are:NAMEThe account name (Nick).FIRSTNAMEThe first name of the contact.LASTNAMEThe last name of the contact.EMAILThe email address of the contact.PHONEThe phone number of the contact.GENDERThe gender of the contact.AGEThe age of the contact.MARITALSTATUSThe marital status of the contact.COUNTRYThe country of the contact.REGIONThe region of the contact.CITYThe city of the contact.COMPANYNAMEThe name of the company the contact works for.DEPARTMENTThe department the contact works in.JOBTITLEThe job title of the contact.OCCUPATIONThe occupation of the contact.WEBSITEThe website of the contact.
LANGUAGELanguage code (e.g., EN).INTERESTKeyword/tag search.KEYWORDKeyword search.STATUSAll, Offline, Online, Here, GoneLIMITLimit results
NAME=*John*,LANGUAGE=en,LIMIT=10Deleting a Contact
Usage: CONTACT DELETE <target_nick><target_nick> The nickname of the contact to delete.