I have a problem with a script for writing something on a file
I gotta ask, how do i tell the game that on the 1. line of that file is something and on the 2. something else, so i could save 'em into variables
If i have few things that needs to be wrote on that file, and on some event i need the game to read data from the file, how do i define that?

Code:
file = openFile(filename + ".txt", "read")
if(file != -1)
here i dont know what do to...
closeFile(file);
Hopefully someone could explain me...