Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local m = peripheral.wrap("right")
- rednet.open("top")
- m.setTextScale(1)
- local PROTOCOL_STR = "gpsl"
- local DRAGON_LAIR_FOUND = "dlf"
- while true do
- local senderId, msg, protocol = rednet.receive(PROTOCOL_STR)
- -- if string.find(msg, DRAGON_LAIR_FOUND) then
- -- end
- print(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement