Hashtagaming

flintify (from SethBling)

Dec 28th, 2012
1,062
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local args = {...}
  2.  
  3. if #args >=1 then
  4.   local slot = tonumber(args[1])
  5.  
  6.   if slot and slot >=1 and slot <=16 then
  7.     turtle.select(slot)
  8.   end
  9. end
  10.  
  11. while true do
  12.   if not turtle.place() then
  13.     break
  14.   end
  15.   if not turtle.dig() then
  16.     break
  17.   end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment