Skip to content
Outlands Hub

Razor script

pick chest & loot

by flutschi · 395 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Combat
pick chest loot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f349a35e-825f-45ca-8945-6a0c12b3f39b for latest2# Automation by Jaseowns3## Script: pick chest & loot4## Created by: flutschi#05#############################################6 7if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 2 as chest8    getlabel chest chestName 9    pause 50010    dclick chest11    pause 80012    13    if 'locked' in chestName14        if ingump 'cleared of traps'15            overhead 'cleared'16        else17            overhead 'not cleared, lets clear it..'18            gumpresponse 719            waitforgump 73603807020            pause 50021            22            while not insysmsg 'you have successfully cleared it of traps'23                if not bandaging and not cooldown 'heal'24                    if findtype 25750 backpack as bandages25                        dclick bandages26                    endif27                    cooldown 'heal' 100028                endif29                pause 100030            endwhile31        endif32        33        pause 100034        35        gumpresponse 436        waitforgump 73603807037        pause 50038        39        while not insysmsg 'you successfully pick the lock'40            if not bandaging and not cooldown 'heal'41                if findtype 25750 backpack as bandages42                    dclick bandages43                endif44                cooldown 'heal' 100045            endif46            pause 100047        endwhile48        overhead 'loot!'49    endif50endif51 52 53clearignore 54 55removelist valueItems56createlist valueItems57 58@pushlist 'valueItems' 882659@pushlist 'valueItems' 398560 61 62@pushlist 'valueItems' 386263@pushlist 'valueItems' 398564@pushlist 'valueItems' 386565@pushlist 'valueItems' 387366@pushlist 'valueItems' 385967@pushlist 'valueItems' 388568@pushlist 'valueItems' 385669@pushlist 'valueItems' 387770@pushlist 'valueItems' 2443471@pushlist 'valueItems' 1708772@pushlist 'valueItems' 387873@pushlist 'valueItems' 386174@pushlist 'valueItems' 387775@pushlist 'valueItems' 382776@pushlist 'valueItems' 2232677@pushlist 'valueItems' 387778@pushlist 'valueItems' 2903079@pushlist 'valueItems' 387780@pushlist 'valueItems' 402681@pushlist 'valueItems' 402582@pushlist 'valueItems' 3718183@pushlist 'valueItems' 535684@pushlist 'valueItems' 57685@pushlist 'valueItems' 882686@pushlist 'valueItems' 589987 88@pushlist 'valueItems' 361789@pushlist 'valueItems' 2233690@pushlist 'valueItems' 1768691@pushlist 'valueItems' 387792@pushlist 'valueItems' 2903693@pushlist 'valueItems' 598194@pushlist 'valueItems' 424895@pushlist 'valueItems' 2903496@pushlist 'valueItems' 1529697@pushlist 'valueItems' 384398@pushlist 'valueItems' 2902599@pushlist 'valueItems' 27611100@pushlist 'valueItems' 15296101@pushlist 'valueItems' 15296102@pushlist 'valueItems' 15296103@pushlist 'valueItems' 15296104@pushlist 'valueItems' 15296105 106 107 108removelist ItemTypes109createlist ItemTypes110 111 112 113@pushlist 'ItemTypes' 22187114//Shields115@pushlist 'ItemTypes' 0x1b72 //BronzeShields116@pushlist 'ItemTypes' 0x1b73 //Buckler117@pushlist 'ItemTypes' 0x1b7b //MetalShield118@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield119@pushlist 'ItemTypes' 0x1b79 //TearKiteShield120@pushlist 'ItemTypes' 0x1b7a //WoodenShield121@pushlist 'ItemTypes' 0x1b76 //HeaterShield122@pushlist 'ItemTypes' 0x1b77 //HeaterShield123//Platemail124@pushlist 'ItemTypes' 0x1408 //CloseHelmet125@pushlist 'ItemTypes' 0x1410 //PlatemailArms126@pushlist 'ItemTypes' 0x1417 //PlatemailArms127@pushlist 'ItemTypes' 0x1411 //PlatemailLegs128@pushlist 'ItemTypes' 0x1412 //PlateHelm129@pushlist 'ItemTypes' 0x1413 //PlateGorget130@pushlist 'ItemTypes' 0x1418 //PlatemailGloves131@pushlist 'ItemTypes' 0x1415 //PlateChest132@pushlist 'ItemTypes' 0x140a //Helmet133@pushlist 'ItemTypes' 0x140c //Bascinet134@pushlist 'ItemTypes' 0x140e //NorseHelm135//Chainmail136@pushlist 'ItemTypes' 0x13bb //ChainmailCoif137@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins138@pushlist 'ItemTypes' 0x13c4 //ChainmailChest139@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm140//Ringmail141@pushlist 'ItemTypes' 0x13ef //RingmailArms142@pushlist 'ItemTypes' 0x13f2 //RingmailGloves143@pushlist 'ItemTypes' 0x13ed //RingmailChest144@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins145@pushlist 'ItemTypes' 0x140b //RingmailHelm146//Studded147@pushlist 'ItemTypes' 0x1dba //Studdedcap148@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings149@pushlist 'ItemTypes' 0x13db //StuddedTunic150@pushlist 'ItemTypes' 0x13d5 //StuddedGloves151@pushlist 'ItemTypes' 0x13d6 //StuddedGorget152@pushlist 'ItemTypes' 0x13dc //StuddedSleeves153//Leather154@pushlist 'ItemTypes' 0x13ce //LeatherGloves155@pushlist 'ItemTypes' 0x13cd //LeatherSleeves156@pushlist 'ItemTypes' 0x13d3 //LeatherChest157@pushlist 'ItemTypes' 0x13cb //LeatherPants158@pushlist 'ItemTypes' 0x13c7 //LeatherGorget159@pushlist 'ItemTypes' 0x1db9 //LeatherCap160@pushlist 'ItemTypes' 0x13c5 //LeatherArms161//FemaleArmor162@pushlist 'ItemTypes' 0x1c04 //FemalePlate163@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt164@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier165@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor166@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt167@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts168@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt169@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor170@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier171@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt172//Fencing173@pushlist 'ItemTypes' 0xf62  //Spear174@pushlist 'ItemTypes' 0x1403 //ShortSpear175@pushlist 'ItemTypes' 0xe87  //Pitchfork176@pushlist 'ItemTypes' 0x1405 //Warfork177@pushlist 'ItemTypes' 0x1401 //Kryss178@pushlist 'ItemTypes' 0xf52  //Dagger179//Macing180@pushlist 'ItemTypes' 0x13b0 //Waraxe181@pushlist 'ItemTypes' 0xdf0  //BlackStaff182@pushlist 'ItemTypes' 0x1439 //WarHammer183@pushlist 'ItemTypes' 0x1407 //WarMace184@pushlist 'ItemTypes' 0xe89  //QuarterStaff185@pushlist 'ItemTypes' 0x143d //HammerPick186@pushlist 'ItemTypes' 0x13b4 //Club187@pushlist 'ItemTypes' 0xe81  //ShepherdsCrook188@pushlist 'ItemTypes' 0x13f8 //GnarledStaff189@pushlist 'ItemTypes' 0xf5c  //Mace190@pushlist 'ItemTypes' 0x143b //Maul191//Swords192@pushlist 'ItemTypes' 0x13b9 //VikingSword193@pushlist 'ItemTypes' 0xf61  //Longsword194@pushlist 'ItemTypes' 0x1441 //Cutlass195@pushlist 'ItemTypes' 0x13b6 //Scimitar196@pushlist 'ItemTypes' 0xec4  //SkinningKnife197@pushlist 'ItemTypes' 0x13f6 //ButcherKnife198@pushlist 'ItemTypes' 0xf5e  //Broadsword199@pushlist 'ItemTypes' 0x13ff //Katana200@pushlist 'ItemTypes' 0xec3  //Cleaver201//Axes202@pushlist 'ItemTypes' 0xf43 //Hatchet203@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe204@pushlist 'ItemTypes' 0xf4d //Bardiche205@pushlist 'ItemTypes' 0xf4b  //DoubleAxe206@pushlist 'ItemTypes' 0x143e //Halberd207@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe208@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe209@pushlist 'ItemTypes' 0xf47  //BattleAxe210@pushlist 'ItemTypes' 0xf49  //Axe211//Bows212@pushlist 'ItemTypes' 0x13fd //HeavyXbow213@pushlist 'ItemTypes' 0xf50  //Xbow214@pushlist 'ItemTypes' 0x13b2 //bow215//Instruments216@pushlist 'ItemTypes' 0xeb2 //Harp217@pushlist 'ItemTypes' 0xe9c //Drums218@pushlist 'ItemTypes' 0xeb3 //Lute219@pushlist 'ItemTypes' 0xe9e //Tambourine220@pushlist 'ItemTypes' 0x2805 //BambooFlute221//Other Helmets222@pushlist 'ItemTypes' 0x140f //NorseHelm223//BoneArmor224@pushlist 'ItemTypes' 0x1451 //BoneHelm225@pushlist 'ItemTypes' 0x1457 //BoneLegs226@pushlist 'ItemTypes' 0x1453 //BoneArms227@pushlist 'ItemTypes' 0x1455 //BoneGloves228//SlayerWands229@pushlist 'ItemTypes' 0xdf2 //SlayerWands230@pushlist 'ItemTypes' 0xdf3 //SlayerWands231@pushlist 'ItemTypes' 0xdf4 //SlayerWands232@pushlist 'ItemTypes' 0xdf5 //SlayerWands233//OtherSTuff, that wasnt in list...234@pushlist 'ItemTypes' 0xdf5 //SlayerWands235@pushlist 'ItemTypes' 0x141a //platemailleggings236@pushlist 'ItemTypes' 0x1b7a //woodenshield237@pushlist 'ItemTypes' 0x13e2 //studdedchets238@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield239@pushlist 'ItemTypes' 0x26bd //harpoon240@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest241@pushlist 'ItemTypes' 0x1c0d //studdedbrasier242@pushlist 'ItemTypes' 0x1c01 //leathershorts243@pushlist 'ItemTypes' 0x1b75 //metalkiteshield244@pushlist 'ItemTypes' 0x1c07 //Femaleleather245@pushlist 'ItemTypes' 0x1416 //platemailchest246@pushlist 'ItemTypes' 0x13dd //studdedgloves247@pushlist 'ItemTypes' 0x1454 //Bonechest248@pushlist 'ItemTypes' 0x13d2 //leatherleggings249@pushlist 'ItemTypes' 0x1409 //closehelm250@pushlist 'ItemTypes' 0x13d4 //studdedarms251 252#outland items253@pushlist 'ItemTypes' 31009 //studdedarms254@pushlist 'ItemTypes' 31004 //studdedarms255@pushlist 'ItemTypes' 31035 //studdedarms256@pushlist 'ItemTypes' 31178 //studdedarms257@pushlist 'ItemTypes' 31031 //studdedarms258@pushlist 'ItemTypes' 30991 //studdedarms259@pushlist 'ItemTypes' 31037 //studdedarms260@pushlist 'ItemTypes' 31021 //studdedarms261@pushlist 'ItemTypes' 31041 //studdedarms262@pushlist 'ItemTypes' 20016 //studdedarms263@pushlist 'ItemTypes' 30994 //studdedarms264@pushlist 'ItemTypes' 7109 //studdedarms265@pushlist 'ItemTypes' 31047 //studdedarms266@pushlist 'ItemTypes' 31011 //studdedarms267@pushlist 'ItemTypes' 31142 //studdedarms268@pushlist 'ItemTypes' 31002 //studdedarms269@pushlist 'ItemTypes' 20012 //studdedarms270@pushlist 'ItemTypes' 31038 //studdedarms271@pushlist 'ItemTypes' 31006 //studdedarms272@pushlist 'ItemTypes' 31017 //studdedarms273@pushlist 'ItemTypes' 31027 //studdedarms274@pushlist 'ItemTypes' 31029 //studdedarms275@pushlist 'ItemTypes' 30993 //studdedarms276@pushlist 'ItemTypes' 20008 //studdedarms277@pushlist 'ItemTypes' 20008 //studdedarms278@pushlist 'ItemTypes' 31003 //studdedarms279@pushlist 'ItemTypes' 31182 //studdedarms280@pushlist 'ItemTypes' 31190 //studdedarms281@pushlist 'ItemTypes' 30995 //studdedarms282@pushlist 'ItemTypes' 20010 //studdedarms283@pushlist 'ItemTypes' 31000 //studdedarms284@pushlist 'ItemTypes' 20014 //studdedarms285@pushlist 'ItemTypes' 7107 //studdedarms286@pushlist 'ItemTypes' 24434 //studdedarms287@pushlist 'ItemTypes' 31012 //studdedarms288@pushlist 'ItemTypes' 30993 //studdedarms289@pushlist 'ItemTypes' 30998 //studdedarms290@pushlist 'ItemTypes' 30993 //studdedarms291@pushlist 'ItemTypes' 30989 //studdedarms292@pushlist 'ItemTypes' 31045 //studdedarms293@pushlist 'ItemTypes' 31184 //studdedarms294@pushlist 'ItemTypes' 30996 //studdedarms295@pushlist 'ItemTypes' 31176 //studdedarms296@pushlist 'ItemTypes' 31128 //studdedarms297@pushlist 'ItemTypes' 31191 //studdedarms298@pushlist 'ItemTypes' 31015 //studdedarms299@pushlist 'ItemTypes' 30990 //studdedarms300@pushlist 'ItemTypes' 31005 //studdedarms301@pushlist 'ItemTypes' 3915 //studdedarms302@pushlist 'ItemTypes' 31176 //studdedarms303@pushlist 'ItemTypes' 31007 //studdedarms304@pushlist 'ItemTypes' 31008 //studdedarms305@pushlist 'ItemTypes' 31130 //studdedarms306@pushlist 'ItemTypes' 30997 //studdedarms307@pushlist 'ItemTypes' 31053 //studdedarms308@pushlist 'ItemTypes' 31055 //studdedarms309@pushlist 'ItemTypes' 31001 //studdedarms310@pushlist 'ItemTypes' 20014 //studdedarms311@pushlist 'ItemTypes' 31010 //studdedarms312@pushlist 'ItemTypes' 30992 //studdedarms313@pushlist 'ItemTypes' 31010 //studdedarms314@pushlist 'ItemTypes' 31001 //studdedarms315@pushlist 'ItemTypes' 30988316@pushlist 'ItemTypes' 31186317@pushlist 'ItemTypes' 31141318@pushlist 'ItemTypes' 31188319@pushlist 'ItemTypes' 31019320@pushlist 'ItemTypes' 31169321@pushlist 'ItemTypes' 20006322@pushlist 'ItemTypes' 31014323@pushlist 'ItemTypes' 31001324@pushlist 'ItemTypes' 31043325@pushlist 'ItemTypes' 31033326@pushlist 'ItemTypes' 31001327@pushlist 'ItemTypes' 31180328@pushlist 'ItemTypes' 31023329@pushlist 'ItemTypes' 31172330@pushlist 'ItemTypes' 31051331@pushlist 'ItemTypes' 30999332@pushlist 'ItemTypes' 31049333@pushlist 'ItemTypes' 31180334@pushlist 'ItemTypes' 31025335@pushlist 'ItemTypes' 17686336@pushlist 'ItemTypes' 43166337@pushlist 'ItemTypes' 17686338@pushlist 'ItemTypes' 17686339@pushlist 'ItemTypes' 7163340@pushlist 'ItemTypes' 48407341@pushlist 'ItemTypes' 3962342@pushlist 'ItemTypes' 3980343@pushlist 'ItemTypes' 3981344@pushlist 'ItemTypes' 3963345@pushlist 'ItemTypes' 3974346@pushlist 'ItemTypes' 3973347@pushlist 'ItemTypes' 3976348@pushlist 'ItemTypes' 3972349@pushlist 'ItemTypes' 3903350@pushlist 'ItemTypes' 48407351@pushlist 'ItemTypes' 48407352 353if findtype 3651|3649|3648|3650|3708|2475|29089|29076 ground -1 -1 2 as chest354    overhead 'loot'355    foreach x in valueItems356        while findtype x chest as item357            @drop backpack358            getlabel item itemName 359            overhead '* {{itemName}} *' 6360            lift item 11111361            pause 200362            drop backpack -1 -1 0363            pause 200364            ignore item365        endwhile366    endfor367 368    if weight < 520369        while findtype 3821 chest as item370            @drop backpack371            if counttype 3821 chest as cGold372                overhead 'G: {{cGold}}'373            endif374            lift item 60000375            pause 200376            drop backpack -1 -1 0377            pause 200378            ignore item379        endwhile380    endif381    382        foreach x in ItemTypes383            if findtype x chest as item384                @drop backpack385                lift item 60000386                pause 200387                drop backpack -1 -1 0388                pause 200389                ignore item390            endif391        endfor392    393    overhead 'finished looting..'394 395endif