AdventurousMR

Modems - msg.lua

Jan 5th, 2021 (edited)
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. term.setCursorPos(1,1)
  2. local args = {...}
  3. local input = args[1] or read()
  4. local modem = peripheral.find("modem")
  5. modem.open(0)
  6. modem.transmit(0, 1, input)
  7. shell.run(".screens")
  8.  
  9.  
Add Comment
Please, Sign In to add comment