Advertisement
Guest User

startup

a guest
Apr 9th, 2020
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local send = 1000
  2. local rec = 100
  3. local tArgs = { ... }
  4. local modem = peripheral.find("modem")
  5.  
  6. while true do
  7.     local x = read()
  8.     if  x ~= "end()" then
  9.         modem.transmit(send,rec,x)
  10.     else
  11.         break
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement