By a request, i only found plugins with hardcoded cfg files for map types, so i made this one.
It´s very simple and works with all types of maps, who have a "_" inside the name, like de_dust.
feed back welcome
get plugin* MapType Configs
*
* Description:
* - executes Map-Type specific Config-Files
*
* Usage:
* - add to your autoexec.cfg: amx_maptype_cfg 1
* - cfg files:
*
* /configs/maps/prefix-default.cfg (if you don´t like, see defines)
* /configs/maps/prefix-TYPE.cfg
*
* Replace TYPE with your type of map, examples:
*
* de_* maps: prefix-de.cfg
* cs_* maps: prefix-cs.cfg
* surf_*maps: prefix-surf.cfg
* and so on...
*
* CVARs:
* amx_maptype_cfg <1/0> - load configs(1) or not(0), default 1
*
* Notes:
*
* add amx_maptype_cfg 0 to your autoexec.cfg to disable it by default,
* but DON'T add it to your amxx.cfg as it will be set on every mapchange
* and you can only change it again with editing the amxx.cfg!
*
* Changelog:
* - v1.0: 2007/04/15
* - first release
* - v1.1: 2007/04/16
* - added: cvar "amx_maptype_cfg", default 1
* - added: logs on/off by define, default off
* - added: load default cfg if no other exists, see defines, default on,
* prefix-default.cfg is needed
* - v1.1b: 2007/04/19
* - changed: strtok() instead of split() (thx VEN)
* - v1.1c: 2007/04/23
* - changed: default settings