Blockland Forums > Modification Help
Text document commands?
(1/1)
halcynthis:
Im makeing a script that i could use this on. I have no clue what the errors are in it, which is why im here. Please fix it if you can. Heres the script:

%text = new scriptObject();
%text.openToAppend("Add-Ons/chat_c/test");
%text.writeLine("Test");
%text.close();

Also, could someone also post the rest of the functions that work with this?
herb:

--- Code: ---%text = new fileObject();
%text.dump();
--- End code ---
Headcrab Zombie:
FileObject, not ScriptObject
MegaScientifical:
Don't try writing into a .zip file. I accidentally exported into a .zip, and it made some weird ass error I made a quick fix for. I don't know how to fix it, but it made some ghost file that doesn't exist, but is attributed to the .zip even if I remake it, and thus causes Blockland to error even though it's not there.
Navigation
Message Index

Go to full version