The simple script
local args = {...}
write("Hello\n")
write(args[1])
args[1] = "Hello\n"
write(args[1])
How to run it
test Hello\n
What happens
The first write command (which is hard coded) is written to the console and a new line is added because of '\n'
The second command (which comes from runtime args) is written to the console and the new line character is written instead of a new line added
The third write command (which is a hard code overwriting the arg) is written to the console and a new line is added
An image example: http://puu.sh/2fHaX
Additional Info
Upon some further testing I think that the string processing seems to not process escape characters when they are arguments, put this code after "write(args[1]"
write(tostring((args[1]:gmatch([[\n]])) ~= nil))











