Bubbs

TurtleRecieveCommand.lua

Dec 2nd, 2020 (edited)
401
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- opens a connection to the rednet
  2. rednet.open("left")
  3.  
  4. -- will wait 20 seconds then timeout
  5. id, message = rednet.receive(20)
  6.  
  7. -- runs the selected software with args
  8. shell.run(message)
RAW Paste Data