Tooki

REACTOR - Startup

Apr 8th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. function CheckAps(Name, Link)
  2.     if fs.exists(Name) then
  3.         shell.run("rm", Name)
  4.     end
  5.     shell.run("pastebin", "get", Link, Name)
  6. end
  7. function Init()
  8.     CheckAps("startup", "uvZCMM6d")
  9.     CheckAps("softwareRemote", "GWGH9HTN")
  10.     CheckAps("softwareEmit", "erGSyZfi")
  11. end
  12.  
  13. term.clear()
  14. term.setTextColor(32768)
  15.     Init()
  16. term.setTextColor(1)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19.  
  20.  
  21. shell.run("")
  22.  
  23. function NewTab (TabName, TabFile)
  24.     TabFile = multishell.launch({}, TabFile)
  25.     multishell.setTitle(TabFile, TabName)
  26. end
  27.  
  28.  
  29. NewTab("Emiter", "softwareEmit")
  30.  
  31. sleep(0.1)
  32. shell.run("softwareRemote")
Add Comment
Please, Sign In to add comment