Guest User

Reactor information wireless [Server]

a guest
Oct 14th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("back")
  2. rednet.send(19, "request")
  3. id, message = rednet.receive()
  4. print ("Reactor Computer " .. id .. " answered")
  5. print ("-" .. message .. " ")
  6. i, m = rednet.receive()
  7. print ("-" .. m .. " ")
  8. id2, m2 = rednet.receive()
  9. print ("-" .. m2 .. " ")
  10. os.sleep(4)
  11. term.clear()
  12. term.setCursorPos(1,1)
  13. error()
  14.  
  15. -- This is some simple code i made to get information about a Big Reactor wireless using a Pocket computer.
  16. -- Place a computer with a wireless modem on the left side and the Computercraft Big Reactor port right behind it.
  17. -- UPDATE! you need to input the right computer IDs in both programs respectivly
  18. -- The Pocket computer program is at /AxrPeUtZ
  19. -- Made by Dukrobber
Advertisement
Add Comment
Please, Sign In to add comment