title: Javascript edit external file
body: <p>Okay so I'm trying to make a script that can edit an external .txt file. I want to be able to do something like /name John Doe and it saves that name in the file that the command is supposed to edit.</p>
  
  <p>Another example would be I have a file called List.txt associated with the command /todo, whenever I do /todo <em>*</em> it adds whatever came after the command to the List.txt file.</p>
  
  <p>Is there any way I can do this in javascript?</p>