As requested by mrkool723 in eventscripts forums [url=http://forums.eventscripts.com/viewtopic.php?t=32064&p=304258#304258][b][link][/b][/url] I released this script loader. It works like my [url=http://addons.eventscripts.com/addons/view/autogungame][b][AutoGunGame][/b][/url] does, but this version is a separate loader+unloader without special GunGame adjustments, so you can use it for any script(s).
Features:[list]
[*]Which script(s) should be auto-loaded on CSL maps
[*]Which script(s) should be auto-unloaded on CSL maps
[*]On which maps should the script(s) be (un)loaded (e.g. whole mapnames like "de_dust", prefixes like "cs_" and/or other maps including strings that you define)
[*]Which mapnames will be ignored by CSL (see config file for more information)
[*]Some config file that will be executed on mapstart on CSL maps
[*]Some config file that will be executed once when returning to non-CSL maps
[*]Should the auto-loaded and auto-unloaded scripts be revoked on non-CSL maps
[/list]
Default configuration happens in cstrike/addons/eventscripts/csl/config.cfg. You can also change options temporarily (until server restart or reloading of the script) through console.
Installation
[i][u]Method 1[/i][/u]
For automatic installing & loading of the script, just type the following in your server console or with rcon:
[code]es_install csl autoload[/code]
After that, either type the following or restart your server
[code]es_load csl[/code]
For automatic installing without auto-loading, type this:
[code]es_install csl[/code]
Configure the Script in addons/eventscripts/csl/config.cfg (to apply changes on server, reload the script, or restart your server)
___________________________________________________________
[i][u]Method 2[/u][/i]
[list=1]
[*]Download the *.zip folder from here
[*]Extract it
[*]Copy the addons folder in your cstrike directory
[*]Open your autorun.cfg in cstrike/cfg (you should have one, otherwise create a blank .txt file and rename it)
[*]Add the line "es_load csl" at the end of the file
[*]Go to cstrike/addons/eventscripts/csl and open the config.cfg if you want to change some settings (self explanatory)
[/list]
Version Notes For 1.2
Updated on: 2010-02-23 17:49:34 EST by scaiyth (View Zip Contents)
[list]
[*]added csl_unloadscripts
[*]csl_scriptnames and csl_auto_unload renamed to be more appropriate, adapted config
[*]reworked function of csl_auto_restore
[*]completely rewrote the (un)loading code and optimized it
[*]cfgs now get executed even when no csl loadscripts are set
[/list]