This is a global built in package that provides global level interfaces to the program data base.
This function creates a new top level data base node of the given type.
Warning
Users are adviced against storing preference style data in the database. Using registries is the preferred method for
storing such data.
Parameters
nodeid (string)
A data base node identifier
type (string) [optional]
The type of node to create. If this parameter is omitted, an intermediate node will be created. Leaf nodes
can be of types "number", "string", "formattedtext", "image", "dice" or "windowreference".
Return values
(databasenode)
A
databasenode object representing the created node, or
nil if the operation
failed
This function can be used to find a data base node in a global scope based on a global database node identifier.
Parameters
nodeid (string)
A global data base node identifier
Return values
(databasenode)
A
databasenode object representing the given identifier, or
nil if the node
was not found