Advertisement
thatparadox

Teleporter

Mar 23rd, 2013
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement