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

First Program: Branch Mining Script

Started by MmPMSFmM, 10 August 2013 - 10:57 AM
MmPMSFmM #1
Posted 10 August 2013 - 12:57 PM
Hello!

This is my first script (at the time of posting version 46 billiard something), It's a simple branch mining script (Not like there aren't enough branch mining scripts already…). And uses a single argument to determine how far it has to dig. And you may want to grab as sword and some torches as it does not plant torches.
It's available here:

http://pastebin.com/JZQzeMSQ

Goodbye!
TheThirdPerson #2
Posted 13 August 2013 - 02:00 AM
I haven't tried it but looking through the code it seems you have a problem with your frontGo function on line 78. You do attackUp here when it seems like you just want attack.
MmPMSFmM #3
Posted 16 August 2013 - 08:28 AM
I haven't tried it but looking through the code it seems you have a problem with your frontGo function on line 78. You do attackUp here when it seems like you just want attack.
Ah, I see… Or at least. Now I do…

Yeah, I fixed it.