Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor(colors.yellow)
- print("Turtle Monitoring System")
- term.setTextColor(colors.white)
- local turtleid = 199
- while true do
- local id, message, protocol = rednet.receive("atenefyrturtle")
- if id == turtleid then
- print(turtleid .. " ==> " .. os.getComputerID() .. ": " .. message)
- end
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement