Addon Details

Watch - Add Favorite


Does this version work for you?
14
w00ts
w00t!2

J3ff's Scripts Manager - Version 2.0 Python and .txt

posted on 2007-11-02 14:15:53
by Jeff91



Description

Make it so you are able to load different scripts on each different map prefix.

Configure With the Keygroup 'es_scripts_db.txt'
ES:
     
    "scripts"
     
    {
     
            "de"
     
            {
     
                    "scriptname"    "script"
     
                    "mycfg.cfg"     "cfg"
     
            }
     
            "cs"
     
            {
     
                    "mycfg.cfg"     "cfg"
     
            }
     
            "gg"
     
            {
     
                    "scriptname"    "script"
     
            }
     
            "zm"
     
            {
     
                    "scriptname"    "script"
     
                    "mycfg.cfg"     "cfg"
     
            }
     
    }


Just insert the scripts name, in the value slot put either script or cfg depending on if it is a script you want load or a .cfg file you want executed. You can load any number of scripts per map type like this:
ES:
     
    "scripts"
     
    {
     
            "de"
     
            {
     
                    "scriptname"    "script"
     
                    "scriptname"    "script"
     
                    "scriptname"    "script"
     
                    "mycfg.cfg"     "cfg"
     
            }
     
    }


This will load all three scripts plus your cfg file on map change...

~J3ff

Version Notes For 2.0 Python and .txt

Updated on: 2008-01-10 13:23:49 EST by Jeff91 (View Zip Contents)
First release with a python copy. Python copy not fully tested .txt copy still included.

~J3ff

( Previous Versions )