It seems a "tab" in CC is just 2 spaces, whereas a tab in notepad++ is an actual indent.
Here's an updated version of the code:
print("starting program")
sleep(1)
rednet.open("back")
fuel = false
function alert()
while true do
sleep(0.01)
event, p1 = os.pullEvent("trigger")
if p1 then
rs.setOutput("left", true)
sleep(0.3)
rs.setOutput("left", false)
sleep(0.3)
end
end
end
function aCheck()
while true do
id, msg = rednet.receive()
if id then
print(id.." said "..msg)
end
if id == 7 and msg == "fuelLow" then
os.queueEvent("trigger", true)
elseif id == 7 and msg == "fuelGood" then
os.queueEvent("trigger", false)
end
sleep(0.01)
end
end
while true do
parallel.waitForAny(alert, aCheck)
print("Something went wrong.")
end
Now the only potential problem is it only runs the redstone blink once per event, however the computer telling it what to do should be essentially spamming the trigger as long as its needed so it's not really that big a problem.
That, and I can't think of an effective worth-while solution to it.



