$config.read

Reads an entry from a config file
Syntax

$config.read(<id>,<key>[,<default>])

Description
Reads and returns the value associated to <key> in the current section of the config file identified by <id>.
<id> must be a valid config identifier returned by $config.open() If no value is associated with <key> in the current section the return value is an empty string or the string <default> if it has been passed.
See also
Config module documentation

Main index, Function index
KVirc 3.0.0 documentation
Generated by diego at Sat Jul 13 15:37:55 2002