Client auto map scripts
When a map loads or restarts, the client will look for the following scripts and run them if found:
For example if the map rotates to battery, the client would look for autoexec_battery.cfg and run it. If autoexec_battery.cfg is not found, it would try to run autoexec_default.cfg instead.
Client auto team/class scripts
When players spawn with a changed team or class, the client will look for the following scripts and run them if found:
These are only run when the team or class changes, they are not run on every spawn.
The files will be executed in following order:
1. autoexec_< teamside >.cfg
2. autoexec_< classtype >.cfg
3. autoexec_< mapname >.cfg