ID:175458
 
world
New()
..() //do any other user-provided things first
log = file('log.txt')


however, nothing is ever written in the log, even tho throughout my codes i have world.log << "stuffhere"

ex:
mob
verb
say(t as text)
world << "[usr] : [t]"
world.log << "[usr] said: [t]"

or just stuff like that.....but nothing is ever recorded/written in my log file......anyone know why?
Maybe you have to set world/log to a file in double quotes? (I'm just taking a wild guess here, I'm probably wrong. =P )

log=file("log.txt")
In response to Crispy
mob
verb
say(t as text)
world << "[usr] : [t]"
text2file("[usr] said: [t]","log.txt")

Try that.
In response to Jinjo21
That'll work, it just won't output to world.log. Which, come to think of it, is probably good... so never mind me. =P
In response to Crispy
well, i could make a new file, and change abour an infinate number of things from world.log to "file" << "whatever". But nobody knows how to make this work???

Crispy's Idea didn't work. Thanks for trying.