mob
verb
Save2Text(savefile as text, textfile as text)
var/savefile/edit = new(savefile)
var/txt = file(textfile)
edit[ckey] << usr
edit.ExportText("/",txt)
Text2Save(textfile as text, savefile as text)
var/savefile/edit = new(savefile)
var/txt = file(textfile)
edit.ImportText("/",txt)
edit[ckey] >> usr
I dont get it.I dont see anything wrong wiht it at all but I still cant get it to work.
heres the error i got.
chrisshehu.sav:1: unexpected character (ascii 16)
chrisshehu.sav:1: unexpected character (ascii 0)
chrisshehu.sav:1: unexpected character (ascii 0)
chrisshehu.sav:1: unexpected character (ascii 0)
chrisshehu.sav:1: unexpected character (ascii 1)
chrisshehu.sav:1: unexpected character (ascii 1)
chrisshehu.sav:1: unexpected character (ascii 0)
chrisshehu.sav:1: unexpected character (ascii 0)
chrisshehu.sav:1: unterminated text (expecting ')
BYOND Error: failed to parse savefile text at line 1 (reading ''''): expecting ;</<>
ID:173704
![]() Nov 28 2003, 6:41 am (Edited on Nov 28 2003, 6:46 am)
|
|
![]() Nov 28 2003, 9:30 am
|
|
At what point are you getting the error?
|