Code: Select all
* SC WriteFile: Added two parameters to control the position and length of the data
written to the file.
Syntax: writefile(filename, data, [on_exist], [mode], [start=1], [numbytes=-1])
start: Start writing at this byte position.
Defaults to 1 which is the very beginning.
Note: Writing here is always overwriting, not inserting!
numbytes: Write this number of bytes.
Defaults to -1 which means: write everything passed in the data argument.
Example:
writefile(, "abc", , , 3, 2); //writes "ab" at pos 3 to the currently selected file
Now one can be a master of hiding own info by "adding" it to other files.
