Re: text.dat - possible to split ansi top and bottom lines from MsgSubj an
By: Trikester to GitLab issue in main/sbbs on Wed Jun 29 2022 13:52:41
I started trying to work on text.dat, and then exec/load/text.js to add in text lines for the top and bottom graphic header lines, but I think there's more to the picture than what I'm seeing (hardcoded items elsewhere, I guess)?
Which item in text.dat are you looking at?
Have you looked at 065?
Did you know you can use bbs.replace_text() to overwrite the in memory text that's loaded from text.dat? for example bbs.replace_text(55,"Dunno what I just replaced");
Once you're done, you can revert it back with bbs.revert_text(55);
Finally, you can load in an alternate text.dat file using bbs.load_text('filename'); It will load from ctrl and automatically add the .dat suffix.
Of course, text is often a template so you may not always be able to re-order what is displayed. There might be a way but someone else may know.
Anyway, hope that helps.
---
þ Synchronet þ End Of The Line BBS - endofthelinebbs.com