Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- event, param1, msg, param3 = os.pullEvent()
- if event=="rednet_message" then
- if msg=="LIGHT ON" then
- redstone.setOutput("back",true)
- elseif msg=="LIGHT OFF" then
- redstone.setOutput("back",false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement