Ok, another newbie question... I'm trying to add some stuff before the user gets the login screen, but can't find it... I need something to execute before prompt 000 executes, but can't find what executes prompt 000... thanks
So, PRELOGIN is the Default login sequence menu - which as you've figured out is what the user sees right AFTER username & password...
To answer your question, there are ways to get to the user before the login procedure, and even before any Matrix menu you may or may not use. The ones I know about, and use, are:
startup.mps
connect.mps
These are written in the Mystic scripting language, which is Pascal-like and pretty powerful. Unlike menus, you code MPL using some text editor and then must compile the .mps into a Mystic-executable .mpx.
You'd place either in /mystic/themes/default(or other)/scripts directory and then run the /mystic binary file called 'mplc', like this:
cd ~/mystic/themes/default/scripts
~/mystic/./mplc startup.mps
(With your paths, of course - and if running Windows, my commands would be a tad different...)
Lemme grab some info on both startup.mps and connect.mps for ya:
Mystic will now execute connect.mps which will be ran before any terminal detection or codepage questions (startup.mps is executed after those things).
Furthermore, you can DEEPLY customize your BBS using MPS, Python or MPY - which is Mystic Python Language... its a rabbit hole, but theres some great tutorials by Black Panther available on my BBS in the RCS Mods file area...
theres Mystic MPL documentation, too - even tho its a bit old. I have it on 2o, but could send you the most updated version if you like... I'm willing to chat w/ you about MPL, if you email me on 2o.
Last, I could send you MY startup.mps and connect.mps to show you an EXAMPLE of things that you can do with it - and by logging into 2o, you could kinda SEE it happening in real time. :P
Hope this helped a bit, and not an advert but... 20ForBeers.com:1337 if you wanna grab those Black Panther tutorials.
LAST, xqtr also has MPL tutorials AND a full MPY function documentation - both are available in the xqtr Mods file area on 2o...
|07p|15AULIE|1142|07o
|08.........
--- Mystic BBS v1.12 A47 2021/12/24 (Raspberry Pi/32)
* Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)