Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nsp_core = require("nsp_core")
- nsp_turtle = require("nsp_turtle")
- local args = { ... }
- if #args==1 and type(args[1])=="string"then
- local location = nsp_core.unserialize_location(args[1])
- if location == nil then
- print("Location not found")
- else
- nsp_turtle.prime_turtle()
- nsp_turtle.goTo(location)
- end
- else
- print("Please state which location to go to")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement