Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Automatisches Empfangen von Nachrichten
- term.clear()
- term.setCursorPos(1,1)
- local modem = peripheral.wrap("right")
- rednet.open("right")
- print("Reciever v.1.0")
- print("")
- print("Abbruch mit halten von STRG + T")
- sleep(5)
- term.clear()
- term.setCursorPos(1,1)
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Reciever v.1.0")
- event, modemSite, senderChannel, replyChannel, message = os.pullEvent("modem_message")
- print("")
- print(message)
- print("Kanal: "..senderChannel)
- print("")
- end
Advertisement
Add Comment
Please, Sign In to add comment