sockchat:commands:afk
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sockchat:commands:afk [2025/04/14 12:29] – created flash | sockchat:commands:afk [2025/04/14 21:05] (current) – ugc flash | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Running this command will also update their user name by prepending a status message to it. | 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 | + | This status message can be provided by appending an argument to the command, is to be converted to uppercase and can be up to 5 unicode grapheme clusters or 50 bytes long with any additional |
| The status message is prepended with '' | The status message is prepended with '' | ||
| If no status message argument is provided, the string '' | If no status message argument is provided, the string '' | ||
| Line 13: | Line 13: | ||
| /afk [message?] | /afk [message?] | ||
| + | * '' | ||
| ===== Examples ===== | ===== Examples ===== | ||
| + | |||
| + | ==== Without a message argument ==== | ||
| If a user named kp with user ID 248 runs the following command: | If a user named kp with user ID 248 runs the following command: | ||
| Line 19: | Line 22: | ||
| /afk | /afk | ||
| - | It will update their display name to '' | + | It will update their display name to '' |
| 10\t248\t& | 10\t248\t& | ||
| + | |||
| + | ==== With a message argument ==== | ||
| + | |||
| + | If a user named Sword with user ID 100 runs the following command: | ||
| + | |||
| + | /afk Gaming | ||
| + | |||
| + | The argument will be truncated and uppercased to '' | ||
| + | |||
| + | 10\t100\t& | ||
| + | |||
| + | ===== Remarks ===== | ||
| + | |||
| + | * When combined with a nickname set through the [[sockchat: | ||
| + | * Maximum length of the status message might be implementation defined. | ||
| ===== See Also ===== | ===== See Also ===== | ||
sockchat/commands/afk.1744633746.txt.gz · Last modified: by flash
