sockchat:commands
This is an old revision of the document!
Table of Contents
Commands
This page lists all Sock Chat commands that can be sent through the Message Send packet.
Core
- /afk - Sets the status of the current user to “Away”.
- /ban - Issues a ban on a given user.
- /bans - Retrieves the list of users who are currently banned.
- /create - Creates a new channel.
- /delchan - Removes an existing channel.
- /delete - Removes an existing channel or message.
- /delmsg - Removes an existing message.
- /ip - Retrieves IP addresses of a given user.
- /join - Joins a given channel.
- /kick - Kicks a given user.
- /me - Describes an action.
- /msg - Sends a direct message to another user.
- /nick - Sets a nickname.
- /pardon - Revokes a ban from a given user.
- /pardonip - Revokes a ban from a given IP address.
- /password - Sets a password on the current channel.
- /rank - Sets a minimum required user rank on the current channel.
- /say - Broadcasts a message to all connected clients.
- /who - Lists all users connected to the server or present in a given channel.
Non-existent commands
Attempting to run a command that does not exist may result a nocmd notice being sent to the client. Server implementations forego this and post the issued command as a regular message to whatever channel the client sent it on.
Example
In both of these cases the client issued non-existent command /beans soup
.
Non-existent commands are caught
The user receives the nocmd notice with the formatting field set to beans
without the leading slash.
Non-existent commands are sent as messages
Everyone present in the channel receives a S2C Packet 2: Message Add packet with the Message Body field set to /beans soup
.
See Also
- Notices - Documents responses that may be given to any of these commands.
sockchat/commands.1744636707.txt.gz · Last modified: 2025/04/14 13:18 by flash