08-26-2015, 10:54 PM
Hello and welcome to the forum
You forgot to write the file back to the HDD.
It should look something like this when complete:
As you see you also don't have to use the key ID. You can just use the keyname directly.
You forgot to write the file back to the HDD.
It should look something like this when complete:
local IniFile = cIniFile() if (IniFile:ReadFile("fractionlist.ini")) then IniFile:AddKeyName("hi") IniFile:AddValue("hi", "Value1", "32") IniFile:WriteFile("fractionlist.ini") end
As you see you also don't have to use the key ID. You can just use the keyname directly.