mob Write() var/savefile/F = new ("[usr.fname].sav") ..() F["fname"] << usr.fname F["fsex"] << usr.fsex F["fage"] << usr.fage F["posts"] << usr.posts F["rank"] << usr.rank F["password"] << usr.password return Read() label1 var/name=input("Enter your name.","","Submit","Cancel")as text if("Cancel")return var/savefile/F = new ("[name].sav") label2 var/pass=input("Enter your password.","","Submit","Cancel")as text if("Submit") if(pass!=usr.password) alert("Invalid Password") goto label2 if("Cancel")goto label1 F["fname"] >> usr.fname F["fsex"] >> usr.fsex F["fage"] >> usr.fage F["posts"] >> usr.posts F["rank"] >> usr.rank F["password"] >> usr.password return
When I call this code in a verb (Calling Write() in a verb) it says
runtime error: bad file proc name: Write (/mob/Write) usr: the ee (/mob) src: the ee (/mob) call stack: the ee (/mob): Write() the ee (/mob): register()
Anyone know what to do?</<></<></<></<></ <></<>