Created Scripts (markdown)

Pk11
2019-11-02 20:11:03 -05:00
parent 75cbd087ae
commit 7f81628d40
+25
@@ -0,0 +1,25 @@
After the info section, you can have as many individual scripts in your file as you want. These need a name and all of the functions you want to run in the script, you can find info on all the functions you can use in the `Functions` section of the sidebar.
Here is an example of a script that will download a file and then delete it
```json
{
"info": {
"title": "Download & Delete",
"description": "Download a file and then delete it",
"version": "1"
},
"Download & Delete": [
{
"type": "downloadFile",
"file": "https://github.com/Universal-Team/extras/raw/master/builds/LeafEdit/LeafEdit.3dsx",
"output": "sdmc:/LeafEdit.3dsx",
"message": "Downloading LeafEdit.3dsx"
},
{
"type": "deleteFile",
"file": "sdmc:/LeafEdit.3dsx",
"message": "Deleting LeafEdit.3dsx"
}
]
}
```