View difference between Paste ID: FqiT4jn7 and YnZf1HAR
SHOW: | | - or go back to the newest paste.
1-
local args = { ... }
1+
programName = "reactor"
2-
local programName = "reactor"
2+
programCode = "NY6MU58s"
3-
local programCode = "NY6MU58s"
3+
index = "RMonitor" -- replace this with the name of the file you want to create (needs to be unique)
4-
local index = "ReactorIndex" -- replace this with the name of the file you want to create (needs to be unique)
4+
5-
 
5+
shell.run("rm " .. programName)
6-
if (fs.exists(programName) == false or args[1] == "update") then
6+
shell.run("pastebin get " .. programCode .. " " .. programName)
7-
    shell.run("rm " .. programName)
7+