Posted 05 August 2012 - 06:20 AM
Hello,
I am trying to store data in a file in the format
name:password:integer
is it possible to write a function that searches through that file, finds that specific line, and can either copy it or change the line?
or is it easier to
Thanks,
~Matt
I am trying to store data in a file in the format
name:password:integer
is it possible to write a function that searches through that file, finds that specific line, and can either copy it or change the line?
or is it easier to
myTable = {}
myTable[1] = textutils.serialize({name,password,integer})
myTable[2] = textutils.serialize({name,password,integer})
myTable[3] = textutils.serialize({name,password,integer})
et cetera, and search thru the table and look for the needed line, deserialize it and return a result?Thanks,
~Matt