Blockland Forums > Modification Help

Deleting a txt via script [Solved]

Pages: (1/2) > >>

jes00:

Is the a way to delete a .txt file in the Blockland folder via script?

FFSO:

fileDelete(location.txt);

That should work

Ipquarx:

I belive you can use either deleteFile(); or fileDelete();
oh darn beat me too it

Port:


--- Quote from: FFSO on December 09, 2011, 10:30:50 AM ---fileDelete(location.txt);

--- End quote ---

fileDelete("location.txt");



--- Quote from: Ipquarx on December 09, 2011, 10:31:12 AM ---I belive you can use either deleteFile(); or fileDelete();
oh darn beat me too it

--- End quote ---

deleteFile doesn't exist.

Ipquarx:


--- Quote from: Port on December 09, 2011, 11:20:28 AM ---deleteFiledoesn't exist.
--- End quote ---
Thats why i said its one of the two that i said.

Pages: (1/2) > >>

Go to full version