Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local sides = require("sides")
- local rs = component.redstone
- while true do
- reds = rs.getInput(sides.back)
- if reds == 0 then
- print("There isn't redstone")
- elseif reds ~= 0 then
- print("There is redstone")
- rs.setOutput(sides.front,15)
- end
- end
- OpenComputers mod version: 1.7.1.43
- Photos of the setup:
- https://prntscr.com/iyzf7g
- https://prntscr.com/iyzf72
- Screenshot of the error:
- https://prntscr.com/iyzg5a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement