Posted 26 November 2012 - 05:29 AM
I want to put a program in a string. How would I do that. The programs 40 lines long.
local programname = 'your_program_name'
local content
local file = fs.open(programname)
if file then
content = fs.readAll()
file.close()
end
In this example, the program is stored in the variable content.They can easily save and edit files on your computer, but only while ON your computer. They can't do it from their own computer; you would need to set up sort of an FTP server to do that. There are plenty of FTP programs on the forums, if you search around a bit.I figured out the multi line integar but my other question still remains. Can other people save or edit files on my computer or only on theirs?