rungholt

rednetSend

May 17th, 2022
825
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment