Include as much detail as possible i.e dash version, the functions of the code and screenshots if possible when posting your code snippits and tweaks.
PLEASE use a slightly larger and bold typeface than normal for the heading of your code and use the CODE tags for the actual code.
function SetLEDColor() //Exiles
{
var IniFile = new Settings;
IniFile.SetIniSection( "Sys Config" );
var LeDCoLoReNa = IniFile.GetIniValue( "CHANGELED" );
var LeDCoLoRst = IniFile.GetIniValue( "LEDCOLOR" );
var LeDCoLoRs = ReturnInteger(LeDCoLoRst);
if (LeDCoLoReNa == "true") {
if (LeDCoLoRs==0) { theConfig.SetLED(0); }
else if (LeDCoLoRs==1) { theConfig.SetLED(1); }
else if (LeDCoLoRs==2) { theConfig.SetLED(2); }
else if (LeDCoLoRs==3) { theConfig.SetLED(3); }
else if (LeDCoLoRs==4) { theConfig.SetLED(4); }
else if (LeDCoLoRs==5) { theConfig.SetLED(5); }
else if (LeDCoLoRs==6) { theConfig.SetLED(6); }
else if (LeDCoLoRs==7) { theConfig.SetLED(7); }
else { theConfig.SetLED(

; }
}
}