Hi all,
I am trying to use the Notepad functionality of LUA for the first time, and have run into an issue which I have not been able to figure out.
When I try to begin a newline with \r\n in my code, such as with
AppendToNotepad("Stats", "Here are some Stats\r\nHere are some more stats")
I get this error
Compile error
World: Aardwolf
Immediate execution
[string "Alias: "]:7: unfinished string near '"Here are some Stats'
If I remove the \r\n it works great, but I can't get a newline.
Is there something I'm missing to get this to work?
Thanks.
I am trying to use the Notepad functionality of LUA for the first time, and have run into an issue which I have not been able to figure out.
When I try to begin a newline with \r\n in my code, such as with
AppendToNotepad("Stats", "Here are some Stats\r\nHere are some more stats")
I get this error
Compile error
World: Aardwolf
Immediate execution
[string "Alias: "]:7: unfinished string near '"Here are some Stats'
If I remove the \r\n it works great, but I can't get a newline.
Is there something I'm missing to get this to work?
Thanks.