Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args={...}
- os.loadAPI("theinsekt/mine2")
- os.loadAPI("theinsekt/turtle2")
- -- check that it's the correct number of
- -- arguments
- if #args~=2 then
- print("Usage: m <direction> <length>")
- return
- end --if
- local dir=args[1]
- local length=tonumber(args[2])
- function m(dir, length)
- return mine2.digLoop(dir, length)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement