LAMP_SIDE = "bottom" dofile("/git-scripts/utils") 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