Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --The side the elevator block is (or the redstone line going to the block)
- -- ( "bottom" | "top" | "back" | "front" | "right" | "left" )
- elevatorSide = "right"
- -- The side the Wireless Modem sits on the Computer
- -- ( "bottom" | "top" | "back" | "front" | "right" | "left" )
- rednetSide = "top"
- term.clear()
- print("The computer ID is: "..os.getComputerID())
- while true do
- rednet.open(rednetSide)
- rednet.receive()
- rs.setOutput(elevatorSide, true)
- sleep(1)
- rs.setOutput(elevatorSide, false)
- end
Advertisement
Add Comment
Please, Sign In to add comment