Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Synchronet Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
MRO | Mortifis | Re: new colors for text.dat |
July 20, 2019 11:36 PM * |
|||
Re: Re: new colors for text.dat By: Mortifis to MRO on Sat Jul 20 2019 06:11 pm > > one thing is the same as the other. atleast if you do it in the command > > shell, you can drop in a new text.dat with minimal problems. > exactly ... ;LOAD TMs-Text.dat > That way you can just copy text.dat to TMs-text.dat and modify/load that > file without hosing the original text.dat no, i meant you can replace individual text.dat lines in your command shell the following are the commands that illustrate what you and i are referring to. --begin baja docs-- *REPLACE_TEXT <#> <"cstr"> args: num text *------------------------- This function is used to replace a default internal text string (read from the CTRL\TEXT.DAT file) in a shell or module. The first argument (num) is the text number to replace (see TEXT.DAT for the number of the text you wish to replace). The second argument (text) is the C type string to use in place the current one. All text replacements are lost (back to default TEXT.DAT) when the user logs off. Example, to replace the "[Hit a key]" prompt with a different string: REPLACE_TEXT 563 "\1n\1h\1b{\1wPAUSE\1b} " When replacing a TEXT.DAT string that contains %s, %d, or other % specifiers, you will need to change them to %%s, %%d, etc (without changing the order). If you wish to globally replace a string (for all shells and modules), you may want to just edit the CTRL\TEXT.DAT file directly instead. *LOAD_TEXT <"str"> args: filename *------------------- Loads an alternate TEXT.DAT file (from CTRL directory, automatically assuming a .DAT extension for "filename". Only those text items that are different from the current TEXT items will be changed. All changes will only be in effect until the current user logs off or the effects are reversed with the REVERT_TEXT function. The base filename should be something other than just "TEXT" (since that is the default TEXT.DAT that is loaded by SBBS). This function is useful for making multiple languages available to your users. *REVERT_TEXT <# or ALL> args: num *---------------------- This function is used to reverse the effects of a previous call to REPLACE_TEXT or LOAD_TEXT (reverts back to default TEXT.DAT). Example: REPLACE_TEXT 563 "\1n-=[Hit a Key]=- " PAUSE REVERT_TEXT 563 If the argument is the word ALL, then all text strings are reverted to the original TEXT.DAT entries. --- ■ Synchronet ■ ::: BBSES.info - free BBS services ::: * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) |
||||||
|
Previous Message | Next Message | Back to Synchronet Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0821 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |