// Adaptative bank robbery server, it runs the mapcycle that fit the number of human players // default starting config //bot_nochat 0 // Load map cycles files exec mapcycle_small_br.cfg exec mapcycle_medium_br.cfg exec mapcycle_big_br.cfg set auto_mapcycle "vstr mapcycle_small_br" set g_mapcycles "mapcycle_small_br mapcycle_medium_br mapcycle_big_br" // in this config, only bank robbery map are loaded set mapcycle "vstr auto_mapcycle" // select your starting mapcycle // Events exec clear_event.cfg set onEvent_playerDownTo0_do "bot_minplayers 0 ; kickbots ; bot_nochat 1" // save server resources: when no human player are online, bots are removed set onEvent_playerUpTo1_do "bot_minplayers 4 ; bot_nochat 0" set onEvent_playerDownTo1_do "bot_nochat 0" // bot chat when there is only one human player online set onEvent_playerUpTo2_do "bot_nochat 1" set onEvent_playerDownTo5_do "set auto_mapcycle vstr mapcycle_small_br ; set mapcycle vstr auto_mapcycle" set onEvent_playerUpTo7_do "set auto_mapcycle vstr mapcycle_medium_br" set onEvent_playerDownTo10_do "set auto_mapcycle vstr mapcycle_medium_br" set onEvent_playerUpTo12_do "set auto_mapcycle vstr mapcycle_big_br" set nextmap vstr mapcycle vstr nextmap