Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw;
- term.clear()
- rednet.open("back")
- while true do
- id,msg = rednet.receive()
- if msg == "Open" then
- redstone.setOutput("right",true)
- elseif msg == "Close" then
- redstone.setOutput("right",false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement