-- download at MT.QZX.COM (is_loaded.lua) -- node detector needs to read from a mapblock without luacontrollers -- use a blinky plant on any other side to wake up after mapblock is loaded local o = "a" -- output side local c = "loaded" -- node detector channel, node = "" local t = 10 -- seconds between checks if event.type == "program" or (event.type == "on" and string.lower(event.pin.name) ~= o) then if port[o] == false then port[o] = true interrupt(t, "tick") end elseif event.iid == "tick" then digiline_send(c, "GET") elseif event.channel == c then local node = event.msg if node ~= "ignore" then port[o] = true interrupt(t, "tick") else port[o] = false end end