| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| custom:atcodes [2026/01/20 19:23] – [User Information] Add ADDR2 and PROTOCOOL digital man | custom:atcodes [2026/02/22 22:21] (current) – [Format Parameters] add a space where a space should be nelgin |
|---|
| === Formatted-Time Parameter === | === Formatted-Time Parameter === |
| |
| Some Time and Date related @-codes support a format parameter string that can include[[strftime]] specifiers. | Some Time and Date related @-codes support a format parameter string that can include [[strftime]] specifiers. |
| |
| For example, the code ''@DATE:%Y-%m-%d\x20%H:%M:%S@'' would produce output similar to: | For example, the code ''@DATE:%Y-%m-%d\x20%H:%M:%S@'' would produce output similar to: |
| |TRUNCOFF | |Mark the end of a truncated text block (turn off long-line truncation) | | |TRUNCOFF | |Mark the end of a truncated text block (turn off long-line truncation) | |
| |WORDWRAP | |Word-wrap long lines in the following text | | |WORDWRAP | |Word-wrap long lines in the following text | |
| |WRAPOFF | |Mark the end of a word-wrapped text block | | |WRAP | |Ungracefully-wrap long lines in the following text | |
| | |WRAPOFF | |Mark the end of a word-wrapped / ungracefully-wrapped text block | |
| |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 | |
| |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 (e.g. settable via ''bbs.command_str'' JavaScript property) | |
| |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 | | |OPTEXT |Display the value of the ''bbs.optext'' JavaScript property | |
| | |JS://name// |Display the value of a named JavaScript property in the global namespace or the JavaScript scope object passed to the ''console.printfile()'' or ''bbs.menu()'' JavaScript methods | |
| |TEXT://number// |Display the specified string number from the ''[[dir:ctrl]]/[[custom:text.dat]]'' file.| | |TEXT://number// |Display the specified string number from the ''[[dir:ctrl]]/[[custom:text.dat]]'' file.| |
| |Text-ID |Any text string ID (e.g. from the ''[[dir:ctrl]]/[[custom:text.dat]]'' file) can be specified via an @-code | | |Text-ID |Any text string ID (e.g. from the ''[[dir:ctrl]]/[[custom:text.dat]]'' file) can be specified via an @-code | |