The recallfromnamedrunebook function keeps getting stuck. I have it as my first called function in the script. It gets stuck here after a successfull recall to the correct rune and continues in an endless loop.
while true do
if spellcast:TM_AdvJournalScan("valid", false, "that location is", "something is blocking", "your spirit lacks") == true then
spellcast:TM_AdvJournalSync()
if locindex == locindexend then
if UO.ContName == "generic gump" and UO.ContSizeX == 452 and UO.ContSizeY == 236 then
UO.Click(UO.ContPosX + 120, UO.ContPosY + 60, false, true, true, false) -- close the book
wait(200)
return true
end
end
locindex = locindex + 1
if locindex > locindexend then
return true
end
break
end