You could have it search for a string. Have it right click the coords around the rift at random, nearest either or so that it has human like interaction then search the menu for the corresponding div functions. I'm not much into scripting but a know a tad bit. But I'm not sure what so ever what...
Do you think you can tweak with the Elder Wisp a bit? Apparently instead of acknowledging that the giant creator is one big Div plot, the bot likes to roam around aimlessly. In fact all the ones I've tried so far do that.