instead of using fputs which will just add to the line that is already there try this..
Code:
new msg[256]
format(msg,255,"; %s",text);
replace(text, 511, text, msg)
write_file(file, text, line - 1)
this should replace the line with the same text that was parsed and add the ; in front
__________________