Skip to content
Outlands Hub

Razor script

Copy Runetome

by Jaseowns · 244 lines
Download

Script by Jaseowns UO Outlands - video coming soon... Requirements: two runetomes, 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 Runetome.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5dc407dd-d1c7-4a5c-a527-97f6297b61b7 for latest2# Automation by Jaseowns3## Script: Copy Runetome4## Created by: Jaseowns#66945#############################################6 7# Copy Runetome Script by Jaseowns8# UO Outlands - video coming soon...9# Requirements: two runetomes, 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 26 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 1643pushlist runes_to_copy_list 1744pushlist runes_to_copy_list 1845pushlist runes_to_copy_list 1946pushlist runes_to_copy_list 2047pushlist runes_to_copy_list 2148pushlist runes_to_copy_list 2249pushlist runes_to_copy_list 2350pushlist runes_to_copy_list 2451pushlist runes_to_copy_list 2552pushlist runes_to_copy_list 2653 54if list runes_to_copy_list = 26 and counttype "recall rune" backpack 2882 < 2655    overhead "Cannot continue" 3456    overhead "You need at least 26 unmarked recall runes in your backpack" 8857    stop58elseif list runes_to_copy_list = 25 and counttype "recall rune" backpack 2882 < 2559    overhead "Cannot continue" 3460    overhead "You need at least 25 unmarked recall runes in your backpack" 8861    stop62elseif list runes_to_copy_list = 24 and counttype "recall rune" backpack 2882 < 2463    overhead "Cannot continue" 3464    overhead "You need at least 24 unmarked recall runes in your backpack" 8865    stop66elseif list runes_to_copy_list = 23 and counttype "recall rune" backpack 2882 < 2367    overhead "Cannot continue" 3468    overhead "You need at least 23 unmarked recall runes in your backpack" 8869    stop70elseif list runes_to_copy_list = 22 and counttype "recall rune" backpack 2882 < 2271    overhead "Cannot continue" 3472    overhead "You need at least 22 unmarked recall runes in your backpack" 8873    stop74elseif list runes_to_copy_list = 21 and counttype "recall rune" backpack 2882 < 2175    overhead "Cannot continue" 3476    overhead "You need at least 21 unmarked recall runes in your backpack" 8877    stop78elseif list runes_to_copy_list = 20 and counttype "recall rune" backpack 2882 < 2079    overhead "Cannot continue" 3480    overhead "You need at least 20 unmarked recall runes in your backpack" 8881    stop82elseif list runes_to_copy_list = 19 and counttype "recall rune" backpack 2882 < 1983    overhead "Cannot continue" 3484    overhead "You need at least 19 unmarked recall runes in your backpack" 8885    stop86elseif list runes_to_copy_list = 18 and counttype "recall rune" backpack 2882 < 1887    overhead "Cannot continue" 3488    overhead "You need at least 18 unmarked recall runes in your backpack" 8889    stop90elseif list runes_to_copy_list = 17 and counttype "recall rune" backpack 2882 < 1791    overhead "Cannot continue" 3492    overhead "You need at least 17 unmarked recall runes in your backpack" 8893    stop94elseif list runes_to_copy_list = 16 and counttype "recall rune" backpack 2882 < 1695    overhead "Cannot continue" 3496    overhead "You need at least 16 unmarked recall runes in your backpack" 8897    stop98elseif list runes_to_copy_list = 15 and counttype "recall rune" backpack 2882 < 1599    overhead "Cannot continue" 34100    overhead "You need at least 15 unmarked recall runes in your backpack" 88101    stop102elseif list runes_to_copy_list = 14 and counttype "recall rune" backpack 2882 < 14103    overhead "Cannot continue" 34104    overhead "You need at least 14 unmarked recall runes in your backpack" 88105    stop106elseif list runes_to_copy_list = 13 and counttype "recall rune" backpack 2882 < 13107    overhead "Cannot continue" 34108    overhead "You need at least 13 unmarked recall runes in your backpack" 88109    stop110elseif list runes_to_copy_list = 12 and counttype "recall rune" backpack 2882 < 12111    overhead "Cannot continue" 34112    overhead "You need at least 12 unmarked recall runes in your backpack" 88113    stop114elseif list runes_to_copy_list = 11 and counttype "recall rune" backpack 2882 < 11115    overhead "Cannot continue" 34116    overhead "You need at least 11 unmarked recall runes in your backpack" 88117    stop118elseif list runes_to_copy_list = 10 and counttype "recall rune" backpack 2882 < 10119    overhead "Cannot continue" 34120    overhead "You need at least 10 unmarked recall runes in your backpack" 88121    stop122elseif list runes_to_copy_list = 9 and counttype "recall rune" backpack 2882 < 9123    overhead "Cannot continue" 34124    overhead "You need at least 9 unmarked recall runes in your backpack" 88125    stop126elseif list runes_to_copy_list = 8 and counttype "recall rune" backpack 2882 < 8127    overhead "Cannot continue" 34128    overhead "You need at least 8 unmarked recall runes in your backpack" 88129    stop130elseif list runes_to_copy_list = 7 and counttype "recall rune" backpack 2882 < 7131    overhead "Cannot continue" 34132    overhead "You need at least 7 unmarked recall runes in your backpack" 88133    stop134elseif list runes_to_copy_list = 6 and counttype "recall rune" backpack 2882 < 6135    overhead "Cannot continue" 34136    overhead "You need at least 6 unmarked recall runes in your backpack" 88137    stop138elseif list runes_to_copy_list = 5 and counttype "recall rune" backpack 2882 < 5139    overhead "Cannot continue" 34140    overhead "You need at least 5 unmarked recall runes in your backpack" 88141    stop142elseif list runes_to_copy_list = 4 and counttype "recall rune" backpack 2882 < 4143    overhead "Cannot continue" 34144    overhead "You need at least 4 unmarked recall runes in your backpack" 88145    stop146elseif list runes_to_copy_list = 3 and counttype "recall rune" backpack 2882 < 3147    overhead "Cannot continue" 34148    overhead "You need at least 3 unmarked recall runes in your backpack" 88149    stop150elseif list runes_to_copy_list = 2 and counttype "recall rune" backpack 2882 < 2151    overhead "Cannot continue" 34152    overhead "You need at least 2 unmarked recall runes in your backpack" 88153    stop154elseif list runes_to_copy_list = 1 and counttype "recall rune" backpack 2882 < 1155    overhead "Cannot continue" 34156    overhead "You need at least 1 unmarked recall rune in your backpack" 88157    stop158endif159 160if counttype "recall rune" backpack 0 > 0161    overhead "Cannot continue" 34162    overhead "Please remove any marked runes from your bag" 88163    stop164endif165 166overhead "Select a runetome to copy FROM"167setvar runetome_copy_from168wait 500169overhead "Select a runetome to copy TO"170setvar runetome_copy_to171 172 173overhead "Beginning Copy..." 88174 175if not timerexists runes_to_copy_skill_check176    createtimer runes_to_copy_skill_check177    settimer runes_to_copy_skill_check 11000178endif179 180foreach rune_to_copy in runes_to_copy_list181    clearsysmsg 182    if mana < 30183        while mana < 31184            overhead "Waiting for at least 30 mana..." 22185            if timer runes_to_copy_skill_check >= 11000186                useskill 'meditation'187                settimer runes_to_copy_skill_check 0188            endif189            wait 1000190        endwhile191    endif192    193    overhead "Pulling rune..." 88194    overhead rune_to_copy 144195 196    # Drop rune197    dclick runetome_copy_from198    waitforgump 167090027 1000199    gumpresponse 200200    waitforgump 167090027 1000201    gumpresponse 15202    wait 500203    204    if findtype "recall rune" backpack 0 as currentRune205        gumpclose 167090027206        getlabel currentRune runeDescription207        overhead runeDescription 88208        while not targetexists 209            cast Recall210            wait 200211        endwhile212        target currentRune213        wait 1500214        if followers > 0215            say 'All guard me'216        endif217        while not targetexists 218            cast Mark219            wait 200220        endwhile     221        targettype "recall rune" backpack 2882222        lift currentRune223        drop runetome_copy_from 0 0 0224        wait 500225 226        if findtype "recall rune" backpack 0 as newRune227            overhead "Rename and move to new book" 88228            dclick newRune229            wait 500230            promptresponse runeDescription231            wait 500232            lift newRune233            drop runetome_copy_to 0 0 0234        else235            overhead "Warning!" 34236            overhead "Unable to find copied rune" 88237        endif238    else239        overhead "Might be done..." 88240    endif241endfor242 243overhead "Enjoy your copy!" 104244stop