Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- id,msg = rednet.receive()
- print(msg)
- if (msg == "up") then
- redstone.setOutput("top", true)
- redstone.setOutput("bottom", false)
- elseif (msg == "down") then
- redstone.setOutput("top", false)
- redstone.setOutput("bottom", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment