Railgun

if it ain't broke, we'll break it

User Tools

Site Tools


sockchat:commands:afk

This is an old revision of the document!


Table of Contents

/afk

This command is used to mark the client user with “Away” status. Sending any message while in this state will remove this status.

Running this command will also update their user name by prepending a status message to it. This status message can be provided by appending an argument to the command, is to be converted to uppercase and can be up to five characters long with any additional characters being removed. The status message is prepended with < and suffixed with >_. If no status message argument is provided, the string AFK will be used, resulting in a prefix of <AFK>_.

Format

/afk [message?]

Examples

If a user named kp with user ID 248 runs the following command:

/afk

It will update their display name to <AFK>_kp and result in the following sequence of packets being broadcast to all other clients present in the same channel:

10\t248\t<AFK>_kp\tinherit\t1\f0\f0\f0\f0

See Also

sockchat/commands/afk.1744633746.txt.gz · Last modified: 2025/04/14 12:29 by flash