TIMAS_Bro

Phone-Creator

Jan 3rd, 2024 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. local args = {...}
  2. function dw(id,name)
  3. shell.run("pastebin","get",id,"/disk/"..name)
  4. end
  5. function writeVar(n,v)
  6. local file = fs.open("disk/.variables/"..n,"w")
  7. file.write(v)
  8. file.close()
  9. end
  10. if #args == 2 then
  11. side = args[1]
  12. nick = args[2]
  13. disk.setLabel(side,"Telefon - "..nick)
  14. dw("NFrPqKQd","/tos/tos")
  15. dw("c9p7S024","startup")
  16. dw("dcBsGCxd","/os/os")
  17. dw("vuDezp7C","/upd/upd")
  18. dw("sSF7NPYC","/lg/lg")
  19. dw("758xHmMw","/apps.json")
  20. dw("4nRg9CHU","json")
  21. dw("iarJ35zf","/uap")
  22. dw("QYvNKrXE","/Base64")
  23. dw("yzD11Es1","/setting/settings")
  24. shell.run("cp","colors","/disk/.variables/color")
  25. dw("zh19pyhy","/files/files")
  26. dw("dp5ri2TJ","/archive/archive")
  27. writeVar("color","lightGray")
  28. writeVar("upl_col","gray")
  29. writeVar("upl_sym"," ")
  30. writeVar("dwl_col","gray")
  31. else
  32. error("Syntaksis: creator <side> <nick>")
  33. end
Add Comment
Please, Sign In to add comment