thatparadox

Teleporter

Mar 23rd, 2013
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3.  
  4. rednet.open("top")
  5.  
  6. while true do
  7.    x, y = rednet.receive()
  8.    if y == "true" then
  9.       redstone.setOutput("right", true)
  10.    elseif y == "false" then
  11.       redstone.setOutput("right", false)
  12.    end
  13. end
RAW Paste Data