Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
custom:atcodes [2020/10/04 21:17] – [User Information] typo digital man | custom:atcodes [2020/12/05 17:02] – [System Information] add the new thread-info MSG_THREAD_* codes digital man |
---|
|MSG_UPVOTED | |Current user up-voted status for current message (checkmark) | | |MSG_UPVOTED | |Current user up-voted status for current message (checkmark) | |
|MSG_DOWNVOTED | |Current user down-voted status for current message (checkmark) | | |MSG_DOWNVOTED | |Current user down-voted status for current message (checkmark) | |
| |MSG_THREAD_ID | |Current message thread's thread-id (message number) | |
| |MSG_THREAD_NEXT| |Current message thread's next message number | |
| |MSG_THREAD_BACK| |Current message thread's previous message number | |
| |MSG_THREAD_FIRST| |Current message's first reply message number | |
|FILE_AREA | |Current file area (lib and directory) names | | |FILE_AREA | |Current file area (lib and directory) names | |
|FILE_AREA_DESC | |Current file area (lib and directory) descriptions | | |FILE_AREA_DESC | |Current file area (lib and directory) descriptions | |
|SYSOP | |Name of System Operator | | |SYSOP | |Name of System Operator | |
|SYSAVAIL | |Sysop availability for chat (e.g. "Available" or "Not Available")| | |SYSAVAIL | |Sysop availability for chat (e.g. "Available" or "Not Available")| |
| |SYSAVAILYN | |Sysop availability for chat (e.g. "Yes" or "No")| |
|TFILE | |Total number of files on system | | |TFILE | |Total number of files on system | |
|TIME |SYSTIME |Current system time | | |TIME |SYSTIME |Current system time | |
|ALIAS |NAME, USER |User's alias | | |ALIAS |NAME, USER |User's alias | |
|BDATE | |User's birth date (in "MM/DD/YY" or "DD/MM/YY" format) | | |BDATE | |User's birth date (in "MM/DD/YY" or "DD/MM/YY" format) | |
|BDATE://fmt//| |User's birth date in the specified [[strftime]] format | | |BDATE://fmt//|BIRTH://fmt// |User's birth date in the specified [[strftime]] format | |
| |BDATEFMT |BIRTHFMT |User birthdate input format (i.e. either "MM/DD/YYYY" or "DD/MM/YYYY") | |
| |BIRTH | |User's birth date (in "MM/DD/YYYY" or "DD/MM/YYYY" format) | |
|BYTELIMIT | |User's free credits per day | | |BYTELIMIT | |User's free credits per day | |
|BYTESLEFT | |User's total credits | | |BYTESLEFT | |User's total credits | |
|CENTER | |Middle-align the remaining text on the line | | |CENTER | |Middle-align the remaining text on the line | |
|SYSONLY | |Toggle off/on visibility for non-sysops | | |SYSONLY | |Toggle off/on visibility for non-sysops | |
| |SHOW://ars// | |Turn off the display of the following text for users not meeting the specified [[access:requirements|Access Requirements String]] (without spaces). | |
| |SHOW | |Turn on the display of following text for all users | |
|FILL://ctext// | |Repeat the specified //ctext// (may contain C-escape sequences), filling the current line (to terminal columns - 1) | | |FILL://ctext// | |Repeat the specified //ctext// (may contain C-escape sequences), filling the current line (to terminal columns - 1) | |
|WIDE://text// | |Display specified //text// double-wide, using Unicode "fullwidth" characters if possible | | |WIDE://text// | |Display specified //text// double-wide, using Unicode "fullwidth" characters if possible | |
|U+//code//,//char// | | Send a Unicode character code point, specifying fallback character value in hexadecimal (or ''0'' for //none//) | | |U+//code//,//char// | | Send a Unicode character code point, specifying fallback character value in hexadecimal (or ''0'' for //none//) | |
|U+//code//!//char// | | Send a Unicode character code point, specifying fallback character only to used when no automatic fallback is available | | |U+//code//!//char// | | Send a Unicode character code point, specifying fallback character only to used when no automatic fallback is available | |
| |
| ==== C-Text ==== |
| |
| Some @-code arguments (e.g. //ctext// and ''strftime''-formatted //fmt//) support escape sequences similar to [[wp>Escape sequences in C]], e.g.: |
| |
| ^ Sequence ^ Expands to ^ |
| | ''\a'' | Alarm (BEL, Ctrl-G) | |
| | ''\b'' | Backspace (Ctrl-H) | |
| | ''\e'' | Escape (Ctrl-[) | |
| | ''\f'' | Form-feed (Ctrl-L) | |
| | ''\n'' | Line-feed (Ctrl-J) | |
| | ''\r'' | Carriage-return (Ctrl-M) | |
| | ''\t'' | Horizontal tab (Ctrl-I) | |
| | ''\\'' | ''\'' | |
| | ''\x03'' | Cancel / End of text (Ctrl-C) | |
| | ''\x20'' | Space | |
| | ''\x2D'' | ''-'' | |
| | ''\x3A'' | '':'' | |
| | ''\x40'' | ''@'' | |
| | ''\x7C'' | ''|'' | |
| |
==== Unicode ==== | ==== Unicode ==== |
| |
^Code ^Description ^ | ^Code ^Description ^ |
|MENU:filename |Display a menu file from the ''[[dir:text]]/menu'' directory| | |MENU://filename// |Display a menu file from the ''[[dir:text]]/menu'' directory| |
|CONDMENU:filename|Display a menu file from the ''[[dir:text]]/menu'' directory, only if it exists (conditionally)| | |CONDMENU://filename//|Display a menu file from the ''[[dir:text]]/menu'' directory, only if it exists (conditionally)| |
|TYPE:filename |Display a specific filename (may include [[:config:cmdline#specifiers]]) | | |TYPE://filename// |Display a specific filename (may include [[:config:cmdline#specifiers]]) | |
|INCLUDE:filename |Display a specific filename (may include [[:config:cmdline#specifiers]]) without a trailing CR/LF pair | | |INCLUDE://filename// |Display a specific filename (may include [[:config:cmdline#specifiers]]) without a trailing CR/LF pair | |
|EXEC:module |Execute an in-process module (Baja or JavaScript) from the ''[[dir:exec]]'' directory| | |EXEC://module// |Execute an in-process module (Baja or JavaScript) from the ''[[dir:exec]]'' directory| |
|EXEC_XTRN:code |Execute an external online program (e.g. door) by specifying the internal code| | |EXEC_XTRN://code// |Execute an external online program (e.g. door) by specifying the internal code| |
|SETSTR:str |Sets the current Baja/PCMS command string to //str//| | |SETSTR://str// |Sets the current Baja/PCMS command string to //str//| |
|STR |Display the current Baja/PCMS command string value |\ | |STR |Display the current Baja/PCMS command string value |\ |
|STRVAR:name |Display the contents of a Baja/PCMS command shell string variable, specify //name// in ALL-CAPS unless ''baja -c'' was used((this feature only works for variables defined in command shells)) | | |STRVAR://name// |Display the contents of a Baja/PCMS command shell string variable, specify //name// in ALL-CAPS unless ''baja -c'' was used((this feature only works for variables defined in command shells)) | |
|JS:name |Display the value of a named JavaScript property | | |JS://name// |Display the value of a named JavaScript property | |
| |TEXT://number// |Display the specified string number from the ''[[dir:ctrl]]/[[custom:text.dat]]'' file.| |
===== See Also ===== | ===== See Also ===== |
* [[custom:menu_files|Menu Files]] | * [[custom:menu_files|Menu Files]] |