GetModINISetting

From GECK
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.


A function added by the MCM NVSE plugin.

Description

Will return a value in an ini file. The ini file will be read from \data\Config. Format for the parameter is "Filename (without extension)/Section Name/Key Name". Returns 0 if the file or key is not found.

Syntax

[help]
(varies) GetModINISetting fileNameSectionKey:string 

Or:

(varies) GetModINI fileNameSectionKey:string

Example

set TradeButton to GetModINI "Quick Trade/General/TradeButton"

Will read the value from TradeButton key in \data\Config\Quick Trade.ini's [General] section.

See Also