Es keygroupload
|
OverviewSyntax: Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.Variation of this command that doesn't expand variables: {{{x}}} DescriptionLoades a keygroup from disk into memory. Parameters
ExamplesSay you have make a file called es_mykeygroup_db.txt (Notice it must be prefixed with es_ and suffixed with _db and it must be a .txt file). We'll put that file in cfg/events/ and then let's just stuck some information in it:
"mykeygroup"
{
"key1"
{
"keyvalue" "value"
}
}
es_keygroupload mykeygroup This will load that keygroup into memory so we can use it to retrieve keyvalues and add/delete keys, etc.
NotesWith the newer script addons Mattie added the possibility of loading keygroups from the addons/eventscripts/scriptname/ directory to do this simply use: es_keygroupload keygroup |scriptname
See also
External linkses_xkeygroupload
|
