Skip to content
Outlands Hub

Razor script

Improved Picker waiting outside wagon to pick/loot and recall (P)

by Jaseowns · 156 lines
Download

Automagic Tmapper Picker by Jaseowns UO Outlands - https://youtu.be/gSymYQ_D01A

CombatHiding
Improved Picker waiting outside wagon to pickloot and recall P.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/d170c19c-971b-450d-afe8-a0bd4b55d7c5 for latest2# Automation by Jaseowns3## Script: Improved Picker waiting outside wagon to pick/loot and recall (P)4## Created by: Jaseowns#66945#############################################6 7# Automagic Tmapper Picker by Jaseowns8# UO Outlands - https://youtu.be/gSymYQ_D01A9@setvar! globalTimeout 65010 11if position 1828 99812    while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate13        dclick jGate14    endwhile15 16    if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as jGate17        gumpresponse 2 389901987118    endif19 20    if not hidden21        useskill 'Hiding'22    endif23    wait 50024    replay25endif26 27 28if not varexist chestWeWannaWork29    @setvar! chestWeWannaWork 030endif31if not timerexists chestOpenTimer32    createtimer chestOpenTimer33    settimer chestOpenTimer 350034endif35 36if dead 37    overhead "RIP" 3438    wait 500039    loop40endif41 42 43if findtype "metal chest|wooden chest" ground -1 -1 2 as chest44 45    overhead "finding monsters"46    hotkey 'Target Closest Grey Monster'47    wait 20048    if insysmsg "No one matching" or not find lasttarget ground -1 -1 449        if chestWeWannaWork = chest50            // do nothing51        else52            dclick chest53            wait 20054            @setvar! chestWeWannaWork chest55        endif56    endif57 58    if gumpexists 73603807059        60        if not hidden61            useskill 'hiding'62            wait 20063            if not hidden64                while not targetexists65                    cast 'Invisibility'66                    wait 5067                endwhile68                if targetexists 69                    target 'self'70                endif71            endif72        endif73    74        sysmsg "Working chest..." 8875        if timer chestOpenTimer >= 350076            if ingump "Cleared of Traps" 73603807077                if findtype "lockpicks" backpack as picky78                    gumpresponse 4 73603807079                else 80                    overhead "No lockpicks left!" 3481                endif82            else83                if findtype "drill" backpack as drilly84                    gumpresponse 7 73603807085                    wait 20086                    if insysmsg "You do not have any trap tools of that material on hand."87                        gumpresponse 5 73603807088                    endif89                else 90                    overhead "No trap tools left!" 3491                endif92            endif93            settimer chestOpenTimer 094        endif95        wait 20096    else97        98        // Gold99        while find chest ground -1 -1 2 and findtype 5356|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3617|3903|12686 chest as item100            getlabel item lootDesc101            overhead lootDesc102            wait 50103            hotkey 'Grab Item'104            target item105            while queued106                wait 50107            endwhile108        endwhile109        110        // Scrolls111        while find chest ground -1 -1 2 and findtype 7981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8030|8031|8032|8033|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044 chest as item112            getlabel item lootDesc113            overhead lootDesc114            wait 50115            hotkey 'Grab Item'116            target item117            while queued118                wait 50119            endwhile120        endwhile121        122        if findtype "reagent satchel" self as satchel123            menu satchel 0124            wait 200125        endif126        127        // quiver128        if findtype 12215 self as satchel129            menu satchel 0130            wait 200131        endif132        133        getlabel chestWeWannaWork chestDesc134        if "0 items, 0 stones" in chestDesc135            @clearignore136            while findtype "map" backpack as item137                getlabel item desc138                if "completed" in desc139                    lift item140                    drop chestWeWannaWork -1 -1 -1141                    wait globalTimeout142                endif143                @ignore item144            endwhile145            @clearignore146            menu chestWeWannaWork 1147            @setvar! readyToShovel 1148            script "RecallHomeAfterChest"149        endif150        151    endif152endif153 154 155wait 200156loop