Refills runebooks/tomes in backpack, nearby, and in chests Modified version of the Jaseowns script
Refill Runebooks.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/52af1bc1-b488-400c-9a06-095c9f37b5c5 for latest2# Automation by Jaseowns3## Script: Refill Runebooks4## Created by: jfrostp#05#############################################6 7# Refills runebooks/tomes in backpack, nearby, and in chests8# Modified version of the Jaseowns script9 10@setvar! globalTimeout 65011 12# Set this to the serial of a chest if you don't carry recall scrolls in your backpack13setvar! recallScrollsChest 014 15@clearsysmsg16@cleardragdrop17@clearignore18 19setvar! recallScrolls 020if recallScrollsChest != 021 if findtype 8012 recallScrollsChest as item22 setvar! recallScrolls item23 endif24endif25 26if recallScrolls = 0 27 if findtype 8012 backpack as item28 setvar! recallScrolls item29 endif30endif31 32if recallScrolls = 033 overhead "Out of scrolls!" 3434 stop35endif36 37# Backpack38while findtype "runetome|runebook" backpack as tome39 getlabel recallScrolls desc40 overhead desc 8841 42 lift recallScrolls 6000043 if insysmsg 'not found or out of range'44 overhead "Out of scrolls!" 3445 stop46 endif47 48 drop tome49 @ignore tome50endwhile51 52# Nearby tomes53while findtype "runetome|runebook" ground -1 -1 2 as tome54 getlabel recallScrolls desc55 overhead desc 8856 57 lift recallScrolls 6000058 if insysmsg 'not found or out of range'59 overhead "Out of scrolls!" 3460 stop61 endif62 63 drop tome64 @ignore tome65endwhile66 67# Nearby chests68while findtype 2473|3710|41451|41452|3646|3647|3644|3645|41449|41450|29832|29833|2472|29077|29078|2475|3648|3649|3708|3650|3651|41453|41454|2474|3709|3650|3651|41455|41456|29086|29087 true as chest69 while findtype "runetome|runebook" chest as tome70 getlabel recallScrolls desc71 overhead desc 8872 73 lift recallScrolls 6000074 if insysmsg 'not found or out of range'75 overhead "Out of scrolls!" 3476 stop77 endif78 79 drop tome80 @ignore tome81 endwhile82 @ignore chest83endwhile84 85@clearsysmsg86@cleardragdrop87@clearignore