Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = os.getComputerLabel()
- if name == "" then
- print("This turtle is unnamed. Use:")
- print("label set newname")
- print("Breaking unnamed turtle will discard its memory!")
- else
- print(os.getComputerLabel().." greets you!")
- end
- if fs.exists("_status") and fs.exists("_area") then
- f = fs.open("_status", "rb")
- m = f.read()
- f.close()
- print("Mode "..m)
- if m == 1 then
- shell.run("quarry")
- elseif m == 2 then
- shell.run("orequarry")
- elseif m == 3 then
- shell.run("cut")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment