dofile("git-scripts.utils") LAMP_SIDE = "bottom" local modemSide = utils.getSideOf("modem") rednet.open(modemSide) rednet.host("reactLamp", "reactLamp") --register as lamp while (true) do id, msg, sth = rednet.receive("reactLamp") redstone.setOutput(LAMP_SIDE, msg == "1") end