Advertisement
kovakovi2000

Untitled

Apr 1st, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local send = 1337
  2. local rec = 137
  3. local tArgs = { ... }
  4. local modem = peripheral.find("modem")
  5. if #tArgs then print("to use wireless lua prompt, simply type 'wlua' ")
  6. else
  7. while true do
  8. local x = read()
  9. if x ~= "end()" then
  10. modem.transmit(send,rec,x)
  11. else
  12. modem.transmit(send,rec,'end()')
  13. break end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement