Posted 08 May 2012 - 11:14 AM
Trying to get a computer to listen for a rednet signal indefinitely until a key is pressed or input is entered.
the code:
Doesn't allow me to break the program…
Also, will using
cut off the output?
the code:
rednet.open(side)
while true do
id, dest = rednet.receive()
if input == "x" then
break -- will stop the while loop
end
end
Doesn't allow me to break the program…
Also, will using
rs.setBundledOutput(side, color, true)
os.startTimer(1)
cut off the output?