appendfile
Appends data to the end of a file, creating it if absent.
function appendfile(pathpathstringPath to the file.: string, datadatastringThe content to append.: string): ()Usage
Append to a log
appendfile("log.txt", os.date() .. " -- joined game\n")