(info) Other great resources: Official JS API docs, Scripting Forum

dump()

Dumps text to a log file...

 

filename: "logs/" + script name + ".log"

3.2+

file deleted at end of game (or maybe on next game start)?