Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- term.clear()
- function Var()
- OT=64
- end
- function Check()
- local scrap, message = rednet.receive()
- if message == "DO" then
- OT=colors.orange
- term.setCursorPos(1,1)
- print("Doore geschlossen")
- Signal()
- end
- if message == "DS" then
- OT=64
- term.setCursorPos(1,1)
- print("Doore geoefnet")
- Signal()
- end
- if message == "" then
- end
- end
- function Signal()
- rs.setBundledOutput("bottom", OT)
- Check()
- end
- Var()
- Check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement