Author Topic: Deleting a txt via script [Solved]  (Read 1443 times)

Is the a way to delete a .txt file in the Blockland folder via script?
« Last Edit: December 09, 2011, 03:39:16 PM by jes00 »

fileDelete(location.txt);

That should work

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

fileDelete(location.txt);

fileDelete("location.txt");



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

deleteFile doesn't exist.

deleteFiledoesn't exist.
Thats why i said its one of the two that i said.

Thats why i said its one of the two that i said.
You were implying that both functions could be used.

you can use either deleteFile(); or fileDelete();

fileDelete(location.txt);

That should work
Thanks, I'll test it in a little. *Topic Locked.*

EDIT: Thanks! It worked.
« Last Edit: December 09, 2011, 03:39:45 PM by jes00 »