SetModINISetting

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 set a value in an ini file. It will create a file if one doesn't exist. The ini file will be created/written to in \data\Config. Format for the first parameter is "Filename (without extension)/Section Name/Key Name".

Syntax

[help]
SetModINISetting fileNameSectionKey:string value:varies 

Or:

SetModINI fileNameSectionKey:string value:varies

Example

SetModINI "Quick Trade/General/Version" QTVersion

Will create \data\config\Quick Trade.ini if it does not exist, and set Version = QTVersion variable's value, in the [General] section.

See Also