Nuclear_Man_D

NydusRemote-101

Dec 27th, 2017
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.73 KB | None | 0 0
  1. term.clear()
  2. print("NydusOS 1.0.1")
  3. local system = {}
  4. local tAPIsLoading={}
  5. print("building network API...")
  6. if peripheral.getType("top")=="modem" then
  7.   rednet.open("top")
  8. end
  9. if peripheral.getType("bottom")=="modem" then
  10.   rednet.open("bottom")
  11. end
  12. if peripheral.getType("back")=="modem" then
  13.   rednet.open("back")
  14. end
  15. if peripheral.getType("right")=="modem" then
  16.   rednet.open("right")
  17. end
  18. if peripheral.getType("left")=="modem" then
  19.   rednet.open("left")
  20. end
  21. if not fs.exists("nsh") then
  22.     shell.run("pastebin run 4zyreNZy")
  23.     shell.run("packman install nsh")
  24. end
  25. local tmp=os.pullEvent
  26. os.pullEvent=os.pullEventRaw
  27. while(true) do
  28.     shell.run("nsh host remote NuclaerWasHere @551123"..tostring(os.getComputerID()))
  29. end
Advertisement
Add Comment
Please, Sign In to add comment