local modem = peripheral.wrap("top")

local channel = 65533
local repeaterID = 260


if not modem.isOpen(channel) then
    modem.open(channel)
end

while true do
    local e, modemSide, senderChannel, replyChannel, message, distance = os.pullEvent("modem_message")
    if replyChannel == repeaterID then
        print(textutils.serialize(message))
    end
end

