Thanks Beastygirl, works great! I'm using it on a modified English client. There are a few little glitches though, the most major of which has to do with trying to avoid mob traps.
Periodically my character will use that programming (either because it's stuck on something, or for other reasons I haven't isolated yet), but it will just continue that "run, turn, back up" routine over and over. This aggros a bunch of mobs, which the character never fights, and also tends not to heal.
This only happens some of the time, sometimes it does the "avoid" routine just once and then attacks the nearest mob, as it should. I'm just wondering what could be done to eliminate this problem? It should only ever run the "avoid" sequence one time I would think, and then run the "attack nearest mob" sequence.
Anyway, thanks again for your work on this!