Is there a way to make a conditional autoexec/kartexec file?

LolSauce

Member
I've recently made autoexec files for both SRB2 and SRB2 Kart. Is there any way to make these only function when a certain command is entered? Something like "launchaddons 1" or similar to how typing "banana" on the title screen unlocks extra tracks.
 
Rename them so they end in txt instead of cfg, then use the exec console command. For example, if you rename it addons.txt, you would run exec addons.txt.

If you wanted to get fancy, you could then create a new autoexec.cfg that contains nothing but alias launchaddons "exec addons.txt". This basically lets you add a custom console command; you would just run launchaddons in the console and your commands in addons.txt would run.

Check the wiki article on console commands for more info.
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top