Mining in TM is different because of the tile info being returned over there. Any mining script that just picks a tile instead of tile type will work fine for Ter Mur mining, or lumberjacking.
12x's is one of those. The first run through the runebook will take a long time to complete because it's looking at several locations around you when you recall in. It tries mining each spot around you to determine if it can me mined. Those locations are stored so the second time you cycle through your spots you immediately mine the known locations.