Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while(1) do
- id, msg, distance = rednet.receive()
- print(msg)
- if msg == "exit" then
- break
- end
- shell.run(msg)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement