An advanced tool for executing specific config files based on regular expression patterns matched with the current map name.
Think of it, you can easily have a config file executed for all maps starting with "ky_*", "fy_*" and so on. Actually, there really is much more to it than that. Read the ini file for info on how to set it up.
This is an example line from the ini file:
Quote:
^de_ addons/amxmodx/configs/configs_de.cfg
|
It executes that cfg file on all maps that begin with de_ ...
You could add "(?i)ice addons/amxmodx/configs/configs_ice.cfg" to have it execute that file on all maps containing ice (in their names;-)). The (?i) part is to make the pattern case
insensitive.
Requires the REGEXP module. Enable it in configs/modules.ini.
Note: you can use the command "amx_regex <string> <pattern>" to try patterns out before you enter them into your ini file.
Syntax of the Perl Compatible Regular Expressions, PCRE:
http://www.perldoc.com/perl5.8.0/pod/perlre.html