Skip to content
Outlands Hub

Razor script

Copy Runebook

by Jaseowns · 193 lines
Download

Script by Jaseowns UO Outlands - video coming soon... Requirements: two runebooks, one filled one blank - enough blank runes and regs to mark/recall By default the runelist is 26 long (full runetome) You can remove the list…

Meditation
Copy Runebook.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/32f87193-e4af-471a-953a-9ec1b3478e81 for latest2# Automation by Jaseowns3## Script: Copy Runebook4## Created by: Jaseowns#66945#############################################6 7# Copy Runebook Script by Jaseowns8# UO Outlands - video coming soon...9# Requirements: two runebooks, one filled one blank - enough blank runes and regs to mark/recall10# By default the runelist is 26 long (full runetome)11# You can remove the list elements from runes_to_copy_list12# Additional Info: 13#   This script removes a rune from your "from" runetome, recalls to that location14#   and use the description of that rune.  Once it recalls, it will attempt to Mark15#   a blank rune and rename based on that description16#   Assuming all goes well, it puts both runes back17#   WARNING: if your runes are unsafe locations, this may fail.18# References:19#   // marked rune20#   // recall rune 7956 021#   // unmarked rune22#   // recall rune 7956 288223 24removelist runes_to_copy_list25createlist runes_to_copy_list26# The entire runebook is 16 runes you can comment these out to prevent running all runes27pushlist runes_to_copy_list 128pushlist runes_to_copy_list 229pushlist runes_to_copy_list 330pushlist runes_to_copy_list 431pushlist runes_to_copy_list 532pushlist runes_to_copy_list 633pushlist runes_to_copy_list 734pushlist runes_to_copy_list 835pushlist runes_to_copy_list 936pushlist runes_to_copy_list 1037pushlist runes_to_copy_list 1138pushlist runes_to_copy_list 1239pushlist runes_to_copy_list 1340pushlist runes_to_copy_list 1441pushlist runes_to_copy_list 1542pushlist runes_to_copy_list 1643 44if list runes_to_copy_list = 16 and counttype "recall rune" backpack 2882 < 1645    overhead "Cannot continue" 3446    overhead "You need at least 16 unmarked recall runes in your backpack" 8847    stop48elseif list runes_to_copy_list = 15 and counttype "recall rune" backpack 2882 < 1549    overhead "Cannot continue" 3450    overhead "You need at least 15 unmarked recall runes in your backpack" 8851    stop52elseif list runes_to_copy_list = 14 and counttype "recall rune" backpack 2882 < 1453    overhead "Cannot continue" 3454    overhead "You need at least 14 unmarked recall runes in your backpack" 8855    stop56elseif list runes_to_copy_list = 13 and counttype "recall rune" backpack 2882 < 1357    overhead "Cannot continue" 3458    overhead "You need at least 13 unmarked recall runes in your backpack" 8859    stop60elseif list runes_to_copy_list = 12 and counttype "recall rune" backpack 2882 < 1261    overhead "Cannot continue" 3462    overhead "You need at least 12 unmarked recall runes in your backpack" 8863    stop64elseif list runes_to_copy_list = 11 and counttype "recall rune" backpack 2882 < 1165    overhead "Cannot continue" 3466    overhead "You need at least 11 unmarked recall runes in your backpack" 8867    stop68elseif list runes_to_copy_list = 10 and counttype "recall rune" backpack 2882 < 1069    overhead "Cannot continue" 3470    overhead "You need at least 10 unmarked recall runes in your backpack" 8871    stop72elseif list runes_to_copy_list = 9 and counttype "recall rune" backpack 2882 < 973    overhead "Cannot continue" 3474    overhead "You need at least 9 unmarked recall runes in your backpack" 8875    stop76elseif list runes_to_copy_list = 8 and counttype "recall rune" backpack 2882 < 877    overhead "Cannot continue" 3478    overhead "You need at least 8 unmarked recall runes in your backpack" 8879    stop80elseif list runes_to_copy_list = 7 and counttype "recall rune" backpack 2882 < 781    overhead "Cannot continue" 3482    overhead "You need at least 7 unmarked recall runes in your backpack" 8883    stop84elseif list runes_to_copy_list = 6 and counttype "recall rune" backpack 2882 < 685    overhead "Cannot continue" 3486    overhead "You need at least 6 unmarked recall runes in your backpack" 8887    stop88elseif list runes_to_copy_list = 5 and counttype "recall rune" backpack 2882 < 589    overhead "Cannot continue" 3490    overhead "You need at least 5 unmarked recall runes in your backpack" 8891    stop92elseif list runes_to_copy_list = 4 and counttype "recall rune" backpack 2882 < 493    overhead "Cannot continue" 3494    overhead "You need at least 4 unmarked recall runes in your backpack" 8895    stop96elseif list runes_to_copy_list = 3 and counttype "recall rune" backpack 2882 < 397    overhead "Cannot continue" 3498    overhead "You need at least 3 unmarked recall runes in your backpack" 8899    stop100elseif list runes_to_copy_list = 2 and counttype "recall rune" backpack 2882 < 2101    overhead "Cannot continue" 34102    overhead "You need at least 2 unmarked recall runes in your backpack" 88103    stop104elseif list runes_to_copy_list = 1 and counttype "recall rune" backpack 2882 < 1105    overhead "Cannot continue" 34106    overhead "You need at least 1 unmarked recall rune in your backpack" 88107    stop108endif109 110if counttype "recall rune" backpack 0 > 0111    overhead "Cannot continue" 34112    overhead "Please remove any marked runes from your bag" 88113    stop114endif115 116overhead "Select a runebook to copy FROM"117setvar runebook_copy_from118wait 500119overhead "Select a runebook to copy TO"120setvar runebook_copy_to121 122 123overhead "Beginning Copy..." 88124 125if not timerexists runes_to_copy_skill_check126    createtimer runes_to_copy_skill_check127    settimer runes_to_copy_skill_check 11000128endif129 130foreach rune_to_copy in runes_to_copy_list131    clearsysmsg 132    if mana < 20133        while mana < 31134            overhead "Waiting for at least 30 mana..." 22135            if timer runes_to_copy_skill_check >= 11000136                useskill 'meditation'137                settimer runes_to_copy_skill_check 0138            endif139            wait 1000140        endwhile141    endif142    143    overhead "Pulling rune..." 88144    overhead rune_to_copy 144145 146    # Drop rune147    dclick runebook_copy_from148    waitforgump 1551740969149    gumpresponse 3150    wait 500151    152    if findtype "recall rune" backpack 0 as currentRune153        gumpclose 1551740969154        getlabel currentRune runeDescription155        overhead runeDescription 88156        cast Recall157        wft 3500158        target currentRune159        wait 1000160        if followers > 0161            say 'All guard me'162        endif        163        cast Mark164        wft 3500165        if insysmsg "thus ruining thy spell"166            overhead "Might be getting attacked... trying again."167            cast Mark168            wft 3500169        endif170        targettype "recall rune" backpack 2882171        lift currentRune172        drop runebook_copy_from 0 0 0173        wait 500174 175        if findtype "recall rune" backpack 0 as newRune176            overhead "Rename and move to new book" 88177            dclick newRune178            wait 500179            promptresponse runeDescription180            wait 500181            lift newRune182            drop runebook_copy_to 0 0 0183        else184            overhead "Warning!" 34185            overhead "Unable to find copied rune" 88186        endif187    else188        overhead "Might be done..." 88189    endif190endfor191 192overhead "Enjoy your copy!" 104193stop