This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
WhiteWolf1423's profile picture

[Lua] Need help with quite simple script (I guess)

Started by WhiteWolf1423, 22 March 2013 - 09:49 AM
WhiteWolf1423 #1
Posted 22 March 2013 - 10:49 AM
So basically I'm playing FTB mindcrack and I really wanna setup a automatic enchanting turtle!
I assume this wouldn't be the hardest thing to do because all I want it to do is basically pick a book up from a chest underneith it.
enchant it if it's level 30 or higher and drop the book down in the chest underneith it again (Of course I'll have filters to pull out the enchanted books)
If anyone could help me with this (A complete code would be lovely!) That'd be freaking awesome!

- Lucas
Lyqyd #2
Posted 22 March 2013 - 10:55 AM
Please post the code you have so far and any errors or unexpected behavior you're having with it. If you're looking for complete code, check out the Programs section, and the Turtle Programs subsection.
WhiteWolf1423 #3
Posted 22 March 2013 - 12:23 PM
I barely have any code that'd be worth posting… I have no idea what I'm doing when it comes to Lua. Also sorry for miss placing the thread. Thought it'd be here since it's me "requesting help from a experienced Lua coder"

- Lucas
Lyqyd #4
Posted 22 March 2013 - 07:14 PM
Ahh, I can see how the mistake would arise. This section is for getting help fixing your existing code. However, I know that there are XP turtle auto-enchanting programs out there. You may be better off using one of them. I haven't personally used or even looked very much at either of the programs at those links, but one of them may do what you're looking for, or something similar enough that you can use it, at least.
WhiteWolf1423 #5
Posted 22 March 2013 - 08:38 PM
I'll try and do that! Thanks for helping out.

- Lucas