First post, by Terrapin
- Rank
- Newbie
Hey Vogonites,
I've been dabbling in conf files for a while now and have been using the 3D Realms Anthology .bat and .conf files to create my own automated DOSbox 'scripts?'
Anyways, I'm looking to build a few lists within the autoexec conf's. I know 'how' to build a list now (via copy and paste 🤣, with a few modifications), but I'm looking to build lists within lists.
Example:
[Game Name]
by [Developer Info]
1. Commander Keen 1
2. Commander Keen 2
3. Commander Keen 3
4. Commander Keen Mods
5. Exit
End Example.
When pressing 4, I would like to be taken to a separate menu that would allow me to choose different mods.
Here is the code/strings behind the menu itself.
Mount C ".."C:clsecho.echo [29;1m Commander Keen in: Invasion of the Vorticonsecho [30;1m by Apogeeecho.echo [30;1m NOTE: To switch between windowed and full-screen press ALT+ENTERecho.echo [32;1m 0. Part 0 - Printed To Plutoecho [32;1m 1. Part 1 - Marooned on Marsecho [33;1m 2. Part 2 - The Earth Explodesecho [34;1m 3. Part 3 - Keen Must Die!echo [34;1m 4. Modsecho [31;1m 5. Exitecho [0mchoice /c012345 /s Choose your episode: /necho.if errorlevel == 5 goto exitif errorlevel == 4 goto e4if errorlevel == 3 goto e3if errorlevel == 2 goto e2if errorlevel == 1 goto e1if errorlevel == 0 goto e0:e0call KEEN0.batexit:e1KEEN1.exeexit:e2KEEN2.exeexit:e3KEEN3.exeexit:e4exit:exitexit
Where ':e4' is, would I be able to copy and paste the list portion without the script getting confused with the other entries in the list, or would I need to add any other specific commands to let the system know that ':e4' is a separate, contained list??