I attached a version of the script I'm currently using, slightly modified. The script has to run from within the data directory, so that var/players.txt is the player stats file. Furthermore, you need to add
Code: Select all
include everytime_switch.cfg
One caveat: make sure that your two config files have ALL settings the way you want them; for example, I had it that fortress.cfg set the maximum number of teams to 2, but sumo.cfg forgot to raise it to 16 again. The result was that the first sumo sessions worked, but when a switch to fortress and back to sumo happened, only two could play.
A quirk in all released versions is that players.txt is written to too late. All changes the script makes will come one round later than desired.