Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = { ... }
- if args[1] == "restart" then
- fs.delete("program.turti.stack")
- os.reboot()
- elseif args[1] == "deleteStorage" then
- for _, file in ipairs(fs.list("program.turti_persistent")) do
- fs.delete("program.turti_persistent/" .. file)
- end
- print("success")
- elseif args[1] == "identify" then
- if args[2] == "item" then
- if args[3] then
- turtle.select(tonumber(args[3]))
- end
- print(turtle.getItemDetail().name)
- end
- elseif args[1]=="inspectStack" then
- local core = require("core")
- print("inspectStack", core.printTable)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement