Advertisement
rungholt

rednetSend

May 17th, 2022
664
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.find("modem", rednet.open)
  2. while true do
  3.     input = read()
  4.     rednet.send(4, input)
  5.     if input == "exit" then
  6.         break
  7.     end
  8. end
Advertisement
RAW Paste Data Copied
Advertisement