On map start it sets a mapcycle to a custom file "data/lastmaps.txt" without recently played maps & writes down excluded maps to the file "data/lastmaps_array.txt" to be loaded when the server restart.
CVAR
sm_lastmaps
Number of recent maps to exclude (7 default).
Commands
lastmaps
Recently played maps that will be excluded from the map vote.
Changelog
20/06/2023 (1.5)
Initial release.
13/07/2023 (1.6)
Bug fix that caused the array file to store one extra map.
02/02/2024 (1.7)
Fixed compiler 1.11 warnings.
Last edited by `666; 02-01-2024 at 19:42.
Reason: Fixed compiler 1.11 warnings.