Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.redirect(peripheral.wrap("back"))
- term.clear()
- term.setCursorPos(1,1)
- rednet.open("top")
- local name = os.getComputerLabel()
- print(name)
- while true do
- senderId, message, protocol = rednet.receive()
- if protocol == name and senderId == 141 then
- term.clear()
- print(name)
- print(message)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement