ReadINI
From the Scripting Manual
function ReadINI(FileName, Section, Key, DefaultValue: string): string; Parameter Info: FileName (String): File located in your Soldat Server folder. Section (String): Section to be read from the INI. Key (String): Key to be read from the INI. DefaultValue (String): Default value to return if an error occurs. Description: This function will read a INI (FileName) located in your Soldat Server folder and return Key. Section is the text in between the [square brackets] Key is the text to the left of "=". Example "MyKey=omfg", MyKey will be the Key and omfg will be the returned value.
Examples
WriteLn('Your server name is '+ReadINI('soldat.ini','NETWORK','Server_Name','*ERROR*'));