term.clear()
print("NydusOS 1.0.1")
local system = {}
local tAPIsLoading={}
print("building network API...")
if peripheral.getType("top")=="modem" then
rednet.open("top")
end
if peripheral.getType("bottom")=="modem" then
rednet.open("bottom")
end
if peripheral.getType("back")=="modem" then
rednet.open("back")
end
if peripheral.getType("right")=="modem" then
rednet.open("right")
end
if peripheral.getType("left")=="modem" then
rednet.open("left")
end
if not fs.exists("nsh") then
shell.run("pastebin run 4zyreNZy")
shell.run("packman install nsh")
end
local tmp=os.pullEvent
os.pullEvent=os.pullEventRaw
while(true) do
shell.run("nsh host remote NuclaerWasHere @551123"..tostring(os.getComputerID()))
end
Comments