mbbsemu:configuration:text_variables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mbbsemu:configuration:text_variables [2021/02/07 17:28] – [Using Notepad++] tuday | mbbsemu:configuration:text_variables [2023/10/06 23:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
MBBSEmu / MajorBBS have several text variables that you can embed into menus or text blocks. A text variable is a field that your systems fills automatically every time it is output to a user -- for example, if you use the text variable '' | MBBSEmu / MajorBBS have several text variables that you can embed into menus or text blocks. A text variable is a field that your systems fills automatically every time it is output to a user -- for example, if you use the text variable '' | ||
- | **(Note: Text Variables in menus currently supported, text blocks | + | **(Note: Text Variables |
===== Using BBSDRAW.EXE ===== | ===== Using BBSDRAW.EXE ===== | ||
Line 17: | Line 17: | ||
===== Using Notepad++ ===== | ===== Using Notepad++ ===== | ||
- | [[https:// | + | [[https:// |
First let's break down the basic format of a Text Variable in MBBSEmu / MajorBBS: | First let's break down the basic format of a Text Variable in MBBSEmu / MajorBBS: | ||
- | <SOH> < | + | '' |
* **(1 Byte)** '' | * **(1 Byte)** '' | ||
* **(1 Byte)** '' | * **(1 Byte)** '' | ||
- | * N = None, and will also ignore padding | + | * N = None, and will ignore padding |
* C = Center | * C = Center | ||
* L = Left | * L = Left | ||
* R = Right | * R = Right | ||
- | * **(1 Byte)** '' | + | * **(1 Byte)** '' |
+ | * # of spaces to pad is ASCII value of character minus 32 | ||
+ | * Example 1: '' | ||
+ | * Example 2: '' | ||
+ | * Example 3: '' | ||
+ | * If the padding # is greater then the length of the replaced text variable it will be ignored | ||
+ | * [[https:// | ||
* **(X Bytes)** '' | * **(X Bytes)** '' | ||
* **(1 Byte)** '' | * **(1 Byte)** '' | ||
+ | **To add a Text Variable:** | ||
+ | - Insert SOH byte ('' | ||
+ | - Enter your Justification (N,C,L,R) | ||
+ | - Enter your padding character (Unless you picked " | ||
+ | - Enter the name of your Text Variable (List below) | ||
+ | - Insert SOH byte | ||
- | Example in Notepad++: {{: | + | **Example:** {{: |
+ | |||
+ | **Character Panel for Reference:** {{: | ||
- | To add a Text Variable you will need | ||
===== Text Variable List ===== | ===== Text Variable List ===== | ||
Line 48: | Line 61: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | + | | '' |
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
| '' | | '' | ||
- | | '' | + | | '' |
| '' | | '' | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
mbbsemu/configuration/text_variables.1612718914.txt · Last modified: 2023/10/06 23:40 (external edit)