Advertisement
mike229876

Untitled

Feb 28th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = peripheral.wrap("right")
  2. x.setAutoCollect(true)
  3. lvld = 30
  4. while true do
  5. if (x.getLevels()>30) or (x.getLevels()==30) then
  6. turtle.select(2)
  7. turtle.trasferTo(1, 1)
  8. turtle.select(1)
  9. x.enchant(30)
  10. turtle.dropDown(1)
  11. end
  12. if x.getLevels()<lvld then
  13. print("I have ".. x.getLevels() .." levels")
  14. sleep(1)
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement