Cardwell

Reciever

May 23rd, 2022 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. --ToggleReciever
  2. rednet.open("bottom")
  3. local mottafra = 0
  4. local output = "back"
  5. local state = 0
  6.  
  7. while true do
  8.     id, msg = rednet.receive()
  9.     print("")
  10.     print("Fra "..id)
  11.     print(msg)
  12. end
Add Comment
Please, Sign In to add comment