A very simple example of reading a value from the registry, in this case a string:
CODE
Reg = TLuaRegistry();
if Reg:Open(Reg.LOCAL_MACHINE,"SOFTWARE\\Intellipool") == true then
sValue = "";
bOK,sValue = Reg:ReadValue("test",sValue);
print(sValue);
end
If you need something more advance, please drop me a mail, we lack a good Registry tutorial like script so I might can find some time for doing that.