Lejoni icon

ssccrc (update) startup

Lejoni | PRO | 10/24/18 07:44:09 AM UTC | -1 ⭐ | 273 👁️ | Never ⏰ | []
Lua |

520 B

|

None

|

0 👍

/

1 👎

pName = "ssccrc"
pCode = "4GTcyH2e"
 
if not fs.exists("widgets") then
   print("widgets not found downloading now...")
   shell.run("pastebin get u2By4g18 widgets")
end
 
if fs.exists(pName .. "_bak") then
   print("Found an old " .. pName .. " bakup, deleting...")
   shell.run("rm", pName .. "_bak")
end
 
if fs.exists(pName) then
   print("Making a backup of " .. pName)
   shell.run("mv", pName, pName .. "_bak")
end
 
shell.run("pastebin get" ,pCode, pName)
print("Running program: " .. pName)
shell.run(pName)

Comments