If I go the route for working this script out of the house, I'll re-write it in. As it stands, it works at a bank. Crafts a bag full of runebooks, checks them for Super-Slayers, bags them, Recalls to the Library... then won't open up the Gump from the NPC. Then it'll recall back to the bank and repeat.
Everything except for the NPC works so far. But I'll get it.
sub library
gosub TM_TravelFromRunebook RE 11 12 %runebookid
finditem %npc
set %lobjectid #findid
event macro 17 0
wait 10
set %x #contposx + 40
set %y #contposy + 165
click %x %y ; Donate a Bag
set #ltargetid %dump_bag
while #targcurs <> 1
event macro 22 0
wait 10
set %x #contposx + 355
set %y #contposy + 340
click %x %y ; Donate ALL
wait 10
gosub TM_TravelFromRunebook RE 4 5 %runebookid
gosub reopen_bags
return