Okay I'm making it so players can report bugs through an in-game verb and when the world closes it will make a new txt file that saves the variable. However my txt file is blank...
mob/verb
Report_Bugs(msg as message)
bugreport += "[usr]'s bug:
[msg]
"
world
New()
bootcount += 1
Del()
if(bugreport != null)
var/savefile/R = new ("Bug Report [bootcount].txt")
R >> bugreport
But when I tested this, "Bug Report 1.txt" was blank. I'm not too good at savefiles...what did I do wrong? =(
ID:147325
Jul 1 2004, 9:46 pm
|
|
In response to Mobius Evalon
|
|
okay I'll try that. That's much shorter than my code :-)
Also I forgot about the "if(!T)" line. I usually only thing of it on Say/Worldsay/Emote etc. |
text2file() would probably work better in this case.