Other great resources: Official JS API docs, Scripting Forum
Â
filename:Â "logs/" + script name + ".log"
3.2+
file deleted at end of game (or maybe on next game start)?