This command is used to change the value of an .ini file setting.
Syntax
INI_SET "file_path\ini_file_name", "section", "ini_setting", "value"
If you specify only an ini_file_name without the file_path, GainSeeker will look for this file in your Windows Folder.
If the ini_file_name is not found in the specified file_path, it will be created there.
.ini files use square brackets [ ] to specify the name of each section. Do not include these brackets when specifying the "section" parameter.
.ini files store information in the format ini_setting=value. Do not include the Equals symbol when specifying the "ini_setting" parameter.
Return value
This command returns the number 0.
Notes
If an .ini file is larger than 64KB (65,536 bytes), some operating systems may not be able to correctly write settings at the end of the file (anything beyond the 64KB limit).
GainSeeker converts three backslashes ( \\\ ) to two ( \\ ) for literal (UNC) filename parameters (for example: \\\hsdc01xz\data\xfer\mtc.ini). If you were to instead use two backslashes as in this example, \\hsdc01xz\data\xfer\mtc.ini , it results in a filename of \hsdc01xz\data\xfer\mtc.htm , which is invalid as a UNC. This is because the double backslash is considered an escape sequence, and the system auto-converts it to a single backslash.
However, if the filename parameter is a variable (for example: MySvar "Path"), use should only use two backslashes. Using three slashes in this event causes an error.
If you are upgrading from GainSeeker version 8.0 or earlier and using UNC paths, you must update your templates to reflect this.
Example
INI_SET "Cms.ini", "qa/s var", "email_override", "3"
This formula sets "email_override=3" in the "[qa/s var]" section of Cms.ini (in the Windows folder).