To edit a light:
LIGHT x
if(!strcmp(word, "TYPE")) lspr[num].type = (USHORT)value;
else if(!strcmp(word, "OFFSETX")) lspr[num].light_xoffset = fvalue;
else if(!strcmp(word, "OFFSETY")) lspr[num].light_yoffset = fvalue;
else if(!strcmp(word, "CORONACOLOR")) lspr[num].corona_color = value;
else if(!strcmp(word, "CORONARADIUS")) lspr[num].corona_radius = fvalue;
else if(!strcmp(word, "DYNAMICCOLOR")) lspr[num].dynamic_color = value;
else if(!strcmp(word, "DYNAMICRADIUS")) lspr[num].dynamic_radius = fvalue;