Talk:Computer/@comment-99.102.177.220-20120811123456/@comment-5402784-20120813081330

Yes, you can do something called redprobe. It looks at all inputs and detects if they are on.

Say if the input to the left was on, you would want to sound an alarm through the back. The coding would be:

redprobe

if input "left" = true then

redstone.setOutput("back", true )

sleep(10)

redstone.setOutput("back", false )

end