Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("file:")
- cryptfile = read()
- file = fs.open(cryptfile, "r")
- string = file.readLine()
- file.close()
- shell.run("delete", cryptfile)
- file = fs.open(cryptfile, "w")
- newstring = ""
- for i=1, #string do
- char = string.sub(text, i,i)
- if char = "&" then
- file.writeLine(newstring)
- newstring = ""
- else
- newstring = newstring..char
- end
- end
- file.writeLine(newstring)
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment