Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- print("Waiting for message")
- id, message = rednet.recive()
- if id == 5 and message == "shear" then
- shell.run("shear")
- else
- print("Invalid command/message")
- end
Advertisement
Add Comment
Please, Sign In to add comment