mob/proc/write()
var/savefile/F = new()
var/txtfile = file("config/config.cfg")
for(var/X in functions)
F["[X]"] << X
fdel(txtfile)
F.ExportText("/",txtfile)
now im wondering how i can load these back onto the list. is there a way to loop through every single thing in the file and add it to the functions list?
Indeed there is. Except I'd change the save line, because it looks like you're associating a value when you don't need to:
Now then:
Lummox JR