Advertisement
massacring

Dig

Jul 20th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. local direction = arg[1]
  2. if direction == "up" or direction == "u" then
  3.     turtle.digUp()
  4. elseif direction == "down" or direction == "d" then
  5.     turtle.digDown()
  6. else
  7.     turtle.dig()
  8. end
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement