Decided to post my version of the script public in case anyone is interested in trying it. I appreciate both Mackus and notAres for posting their's, however Mackus' is fairly slow and I didn't have much luck with the features of Are's.
NOTE: If you don't include all the movespeed buffs I use, the move timers are going to be all screwed up. Adjust load timers as needed but I do not recommend lowering the leave timer below 12 seconds unless your character can survive the hits from the mobs easily.
Setup:
Mouse1: Mark of Death
Mouse 2: Elementral Arrow - Ball Lightning
1: Caltops: Torturous Ground
2: Smokescreen: Lingering
3: Prep
4: Companion: Ferrets
Boots: 10% or higher move speed
Pickup Radius: +5m
Passives: Hot Pursuit and Tactical Advantage, other is optional.
Changes:
*SOMEWHAT IMPORTANT: I changed to ball lightning (so I recommend against nether tentacles) and made the script fire to the right slightly longer than it needs to in order to destroy the desk that spawns there. I found that the desk and chair were causing pathing issues for the ferrets and I would miss sometimes 1000+ stacks of gold lying on the ground because my ferrets couldnt get there. I would suggest adjusting your "fire right" timer as needed so that you fire at least 1 more ball to right than is necessary to destroy that desk.
*I changed the first waypoint slightly to avoid monsters much more often and get stuck less
*Most wait timers are generally shortened. I retained the "greater than death" leave game timer. I tried Ares' code for death detection but I found that sometimes it wouldn't work properly and the script would get jacked up.
*I changed repairs to occur every 10th game instead of on detection. In the long run this amounts to very little time, but I had found occasionally that the pixel detection would malfunction and my script would loop indefinitely with no gear.
*I implemented rare/legendary/set detection. Once again I tried Ares' but I think the default pixel detection just wouldn't work on my PC. I'm sure Ares' works, but on my PC I watched it completely ignore a legendary lying on the ground and move on.
*I changed the rune on caltrops, and changed it so you drop one around yourself as you TP. This seemed to reduce my deaths while townportaling significantly.
*I slightly modified the smokescreen times to avoid dying just before entering the cellar just in case a mob spawned right there.
*I modified the pick up pathing to be shorter and more natural.
Mackus' Gold Farm [Mod: Jakesmurf] - Pastebin.com