Menu

ChRegistry

api (7)
AntifreeZZe

ChRegistry (ChREG) is the thing that works like Registry from Windows, but it can preload files and store multiple values in a key.

File Formats

KEY is used to store values.
REG is used to import values.

All formats must have [ChCL] syntax.

Example of REG file:

@IMPORT>local>@I1 @I2 @I3
@I1>sh>regedit addkey <your key here> <your text here>
@I2>lua>chreg.addKey("<your key>","your value")
@I3>lua>chreg.import("<your key>","<your var>","<your value>")

OR

%ft_ebm.com%=chdraw ebm $f
%prog_cpkg_repo.addr%=http://chaos-cc.sf.net/repo/info.php
@IMPORT>lua>chreg.addVarsFrom("$t")

API


MongoDB Logo MongoDB