Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- -- receive a message
- local sender_id, message = rednet.receive()
- -- run the command
- shell.run(message)
- end -- end of the infinite loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement