ID:175027
 
Well I need help with the world.log function.
I know how to use it...
world.log << "This text is being logged."
but is there anyway to check the logs and if so how?
I've tried...
usr << world.log
usr << "[world.log]"
and they have both done nothing.
world/log = 'file.txt.'

or
World/New()/log = 'file.txt'


the quotes may be wrong. They may have to be "s. I dunno, I could never set my log, something always went wrong...
In response to Airjoe
They would have to be "s. ' quotes are reserved for things like .dms, .dmis, etc.
In response to Jon88
Or more accurately, single quotes are for resource files, that will be packaged in the game's .rsc file. Double quotes are for everything else; for example, savefiles and log files; that you don't necessarily want to be distributed to everyone who downloads the game.