This script will search the screen for an acceptable "tamable" pet, walk to the pet, and will keep trying to tame it until tame. Once tamed, it will rename the pet (default: Squirrel, you can change this) and will repeat.
You can sit yourself on Dagger Isle and it will keep taming for you while running this.
You can sit yourself on Dagger Isle and it will keep taming for you while running this.