MrKey2b

startup

Nov 1st, 2023 (edited)
789
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.93 KB | None | 0 0
  1. -- Program MRKEY2B EDF CC
  2.  
  3. function update_pastebin()
  4.     -- PASTEBIN --
  5.     local startup_link = "nNqctXc3"
  6.     local config_link = ""
  7.     local utils_link = ""
  8.     local global_db_link = "pV4CtwUM"
  9.  
  10.     -- CHECK DEPENDENCY FILES --
  11.     if fs.exists("startup") then
  12.         fs.delete("startup")
  13.     end
  14.  
  15.     if fs.exists("config") then
  16.         fs.delete("config")
  17.     end
  18.  
  19.     if fs.exists("utils") then
  20.         fs.delete("utils")
  21.     end
  22.  
  23.     if fs.exists("global_db") then
  24.         fs.delete("global_db")
  25.     end
  26.     -- GET PASTEBIN --
  27.     shell.run("pastebin get "..startup_link.." startup")
  28.     --shell.run("pastebin get "..config_link.." config")
  29.     --shell.run("pastebin get "..utils_link.." utils")
  30.     shell.run("pastebin get "..global_db_link.." global_db")
  31. end
  32.  
  33. -- IMPORT DEPS --
  34. function update_import()
  35.     config = require("config")
  36. --    utils = require("utils")
  37. end
  38.  
  39. update_pastebin()
  40. update_import()
Advertisement
Add Comment
Please, Sign In to add comment