Posted 21 October 2012 - 05:39 AM
FIXED :)/>/>
original post-ish
it receives thru a modem and sends down a bundled wire behind it.
when it receives open from modem it then turns on orange then stops not even turning off orange.
original post-ish
Spoiler
i have a simple system and i cant figure out why this isnt working.
function EngStart(side,colour)
redstone.setBundledOutput(side,colour)
os.sleep(.2)
redstone.setBundledOutput(side,colour)
os.sleep(.3)
end
rednet.open("right")
while true do
id,msg = rednet.receive()
if msg == "open" then
EngStart("back",colors.orange)
os.sleep(.1)
EngStart("back",colors.cyan)
os.sleep(.1)
EngStart("back",colors.cyan)
os.sleep(.1)
elseif msg == "close" then
EngStart("back",colors.lightgrey)
EngStart("back",colors.lightgrey)
EngStart("back",colors.magneta)
end
end
it receives thru a modem and sends down a bundled wire behind it.
when it receives open from modem it then turns on orange then stops not even turning off orange.