Advertisement
MadScience2728

Transmit Wireless shell

Mar 5th, 2021
1,328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.wrap("left")
  2. modem.open(101)
  3. print("Channel 101 is open")
  4.  
  5. while true do
  6.     print("Shell$: ")
  7.     local message = read()
  8.     modem.transmit(101, 102, message)
  9. end
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement