22.01.2011, 08:55
yes maybe we forgot that :3
i'll add it later as im changing some thing's in fcmd that ****** pointed...
i'll add it later as im changing some thing's in fcmd that ****** pointed...
stock
RemoveTag(file[],line[]) //
{
new
strfile[256],
stringline[100],
File:gangfile = fopen(file, io_read),
File:tempfile = fopen("tmpfile.tmp", io_write);
;
format(stringline,100,"%s\r\n",line);
while(fread(gangfile, strfile))
if(strfind(strfile,stringline, true) != 0)
fwrite(tempfile, strfile);
fclose(gangfile);
fclose(tempfile);
fremove(file);
tempfile = fopen("tmpfile.tmp", io_read);
gangfile = fopen(file, io_write);
while(fread(tempfile, strfile))
fwrite(gangfile, strfile);
fclose(gangfile);
fclose(tempfile);
fremove("tmpfile.tmp");
return true;
}
To use SII it's almost same as SII, but of course somewhat faster... |