Skip to content
Outlands Hub

Razor script

Move Runebook to different runebook

by liveonce · 104 lines
Download

Move rune BOOK to OTHER runebook - HellzEDIT Requirements: two rune books, one filled one blank By default the runelist is 16 long (full runebook) You can remove the list elements from runes_to_copy_list References: // marked rune //…

Organizing
Move Runebook to different runebook.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/73e5adc2-23d6-4077-b079-590dd2b4cf7d for latest2# Automation by Jaseowns3## Script: Move Runebook to different runebook4## Created by: liveonce#04825#############################################6 7# Move rune BOOK to OTHER runebook - HellzEDIT8# Requirements: two rune books, one filled one blank9    # By default the runelist is 16 long (full runebook)10# You can remove the list elements from runes_to_copy_list11# References:12#   // marked rune13#   // recall rune 7956 014#   // unmarked rune15#   // recall rune 7956 288216 17removelist runes_to_copy_list18createlist runes_to_copy_list19# The entire runebook is 16 runes you can comment these out to prevent running all runes20pushlist runes_to_copy_list 121pushlist runes_to_copy_list 222pushlist runes_to_copy_list 323pushlist runes_to_copy_list 424pushlist runes_to_copy_list 525pushlist runes_to_copy_list 626pushlist runes_to_copy_list 727pushlist runes_to_copy_list 828pushlist runes_to_copy_list 929pushlist runes_to_copy_list 1030pushlist runes_to_copy_list 1131pushlist runes_to_copy_list 1232pushlist runes_to_copy_list 1333pushlist runes_to_copy_list 1434pushlist runes_to_copy_list 1535pushlist runes_to_copy_list 1636 37 38#initial check to make sure not to overwrite an incorrect run39if counttype "recall rune" backpack 0 > 040    overhead "Cannot continue" 3441    overhead "Please remove any marked runes from your bag" 8842    stop43endif44#pick the original tome 45overhead "Select a runetome to copy FROM"46setvar runetome_blessed47wait 100048#pick the new tome49overhead "Select a runetome to copy TO"50setvar runetome_unblessed51#hell adding another wait52wait 100053 54overhead "Beginning Copy... with an 11 second timer" 8855 56if not timerexists runes_to_copy_skill_check57    createtimer runes_to_copy_skill_check58    settimer runes_to_copy_skill_check 1100059endif60 61foreach rune_to_copy in runes_to_copy_list62    clearsysmsg 63        if timer runes_to_copy_skill_check >= 1100064            settimer runes_to_copy_skill_check 065        endif66        wait 100067    68    69    overhead "Pulling rune..." 8870    overhead rune_to_copy 14471 72    while not insysmsg "You have removed the rune" and not findtype "recall rune" backpack 073        # Drop rune74        dclick runetome_blessed75        waitforgump 1551740969 150076        gumpresponse 377        wait 50078        overhead "waiting for rune to be removed"79        wait 20080    endwhile81    82  83    if findtype "recall rune" backpack 0 as currentRune84        getlabel currentRune runeDescription85        wait 10086        overhead runeDescription 8887        wait 10088        while find currentRune backpack 0 and not insysmsg runeDescription89            lift currentRune90            wait 20091            drop runetome_unblessed 0 0 092            if not insysmsg runeDescription93                overhead "waiting for rune to drop in book"94                wait 50095            endif96            if find currentRune backpack 0 97                overhead "ERR: Still have a recall rune in backpack after drop FROM... this shouldn't happen"98            endif99        endwhile100     endif101endfor102 103overhead "Enjoy your copy!" 104104stop