Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("bottom")
- while true do
- event,id,msg = os.pullEvent()
- if(msg=="open") then
- redstone.setAnalogOutput("top",15)
- end
- if msg == "close" then
- redstone.setAnalogOutput("top",0)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement