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? =(
Copyright © 2025 BYOND Software.
All rights reserved.
text2file() would probably work better in this case.