IniReadRef

From the Oblivion ConstructionSet Wiki
Revision as of 15:25, 26 February 2008 by imported>Speedo (New page: {{Beta}} A command for Pluggy. '''Syntax:''' <pre> (Value:ref) IniReadInt FileStringID:long SectionStringID:long KeyStringID:long DefaultValu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


A command for Pluggy.

Syntax:

(Value:ref) IniReadInt FileStringID:long SectionStringID:long KeyStringID:long
                       DefaultValue:ref

Note: All arguments should be on the same line.

Finds the specified Key in an Ini file and returns its Value as a reference.

  • DefaultValue must be a local ref variable.
  • If the Key is not found, DefaultValue is returned.