Both sides previous revisionPrevious revisionNext revision | Previous revision |
custom:atcodes [2023/09/13 18:57] – [User Information] Add PROT and PROTNAME (new) digital man | custom:atcodes [2024/09/25 12:02] (current) – [Terminal Information / Control] Add PETGRFX @-code digital man |
---|
Synchronet sysop-posted messages, text and menu files, and some lines in the ''[[dir:ctrl]]/[[text.dat]]'' file may contain special //Message Variables//, also called //@-codes// ("at codes", some BBS authors and sysops refer to these types of codes as "@ Macros" or "@ Variables" or "MCI codes"((and not because of the defunct phone company))). @-codes may also be displayed using the ''bbs.atcode()'' [[JavaScript]] method. | Synchronet sysop-posted messages, text and menu files, and some lines in the ''[[dir:ctrl]]/[[text.dat]]'' file may contain special //Message Variables//, also called //@-codes// ("at codes", some BBS authors and sysops refer to these types of codes as "@ Macros" or "@ Variables" or "MCI codes"((and not because of the defunct phone company))). @-codes may also be displayed using the ''bbs.atcode()'' [[JavaScript]] method. |
| |
@-codes are called such because they begin and end with the ''@'' (ASCII 64) ("at") character. The code names themselves (sandwiched between the @'s) must be entered using only ''UPPERCASE'' letters. Some additional symbols and numbers may also be included in the @-code, but never a space. | @-codes are called such because they begin and end with the ''@'' (ASCII 64) ("at") character. The code names themselves (sandwiched between the @'s) must be entered using only ''UPPERCASE'' letters((Exception: text string IDs used as @-codes are typically mixed-case)). Some additional symbols and numbers may also be included in the @-code, but never a space. |
| |
Some of the @-codes supported in Synchronet have unusual names or aliases specifically for //PCBoard// and/or //Wildcat!// BBS Software compatibility. Although this compatibility with these other BBS packages is less of a concern these days, the unusual code names remain. | Some of the @-codes supported in Synchronet have unusual names or aliases specifically for //PCBoard// and/or //Wildcat!// BBS Software compatibility. Although this compatibility with these other BBS packages is less of a concern these days, the unusual code names remain. |
|MSG_TO | |Current message to-user name/number/address| | |MSG_TO | |Current message to-user name/number/address| |
|MSG_TO_NAME | |Current message to-user name| | |MSG_TO_NAME | |Current message to-user name| |
| |MSG_TO_FIRST | |Current message to-user "first" name| |
|MSG_TO_EXT | |Current message to-user extension (number)| | |MSG_TO_EXT | |Current message to-user extension (number)| |
|MSG_TO_NET | |Current message to-user network address| | |MSG_TO_NET | |Current message to-user network address| |
|MSG_FROM | |Current message from-user name/number/address| | |MSG_FROM | |Current message from-user name/number/address| |
|MSG_FROM_NAME | |Current message from-user name| | |MSG_FROM_NAME | |Current message from-user name| |
| |MSG_FROM_FIRST | |Current message from-user "first" name| |
|MSG_FROM_EXT | |Current message from-user extension (number)| | |MSG_FROM_EXT | |Current message from-user extension (number)| |
|MSG_FROM_NET | |Current message from-user network address| | |MSG_FROM_NET | |Current message from-user network address| |
|NEWFILETIME | |Date and time of user's last new file scan (see LASTNEW) | | |NEWFILETIME | |Date and time of user's last new file scan (see LASTNEW) | |
|NETMAIL | |User's personal email or netmail address (new in v3.18c) | | |NETMAIL | |User's personal email or netmail address (new in v3.18c) | |
| |NODE_USER | |User's alias or "UNKNOWN USER" if the current node is in anonymous mode (new in v3.20)| |
|NOTE |MEMO1 |User's note (new in v3.18c) | | |NOTE |MEMO1 |User's note (new in v3.18c) | |
|PAGER | |Chat pager enabled status (e.g. "On" or "Off")| | |PAGER | |Chat pager enabled status (e.g. "On" or "Off")| |
|ASCII | |ASCII terminal character set ('On' or 'Off')| | |ASCII | |ASCII terminal character set ('On' or 'Off')| |
|PETSCII | |CBM/PETSCII terminal emulation ('On' or 'Off')| | |PETSCII | |CBM/PETSCII terminal emulation ('On' or 'Off')| |
| |PETGRFX | |Send special character (142) to enter UPPER/GRAPHICS character set mode on PETSCII terminals| |
|UTF8 | |UTF-8 terminal character set ('On' or 'Off')| | |UTF8 | |UTF-8 terminal character set ('On' or 'Off')| |
|COLOR | |Color terminal support ('On' or 'Off')| | |COLOR | |Color terminal support ('On' or 'Off')| |
|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 | |
|!//x// | | Execute the terminal/attribute control sequences for one or more [[Ctrl-A Codes]] (operands) represented by //x//| | |!//x// | | Execute the terminal/attribute control sequences for one or more [[Ctrl-A Codes]] (operands) represented by //x//| |
| |MNE://low// | | Set Mnemonic string "low" attribute (color) using ''[[config:attr.ini]]'' syntax for "low" attribute code; the "high" attribute is set to the same color with the "high intensity" bit flipped | |
| |MNE://low//://high// | | Set Mnemonic string "low" and "high" attributes (colors) | |
| |MNE://low//://high//://cmd// | | Set Mnemonic string "low", "high" and "command" attributes (colors) | |
| |RAINBOW://pattern// | | Set the rainbow attribute pattern with colon-separated attributes, using ''[[config:attr.ini]]'' syntax (e.g. ''RAINBOW:R:RH:B:BH:G:GH:C:CH'') | |
==== C-Text ==== | ==== C-Text ==== |
| |