Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Setup
- rsside = "bottom"
- scside = "back"
- rdycol = colors.green
- chrcol = colors.red
- --End of Setup!
- --Script - Do not Edit
- monitor = peripheral.wrap(scside)
- while true do
- local event = os.pullEvent("redstone")
- if rs.getInput(rsside) then
- monitor.setBackgroundColor(chrcol)
- else
- monitor.setBackgroundColor(rdycol)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment