Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args={...}
- os.loadAPI("theinsekt/turtle2")
- os.loadAPI("theinsekt/mine3")
- local length=tonumber(args[1])
- local width=tonumber(args[2])
- local iters=tonumber(args[3])
- if #args==1 then
- print(mine3.tunnel3(length))
- elseif #args==2 then
- print(mine3.horzU(length,width))
- elseif #args==3 then
- print(mine3.stripMine(length,width,iters))
- else
- print("Wrong number of arguments")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement