Skip to content
Outlands Hub

Razor script

Bapeths Modern Dungeon Picker

by barryroser · 2016 lines
Download

Aug 14th 2026 - Fixed bug in auto recycle routine "REQUIRED GAME SETTINGS" : "In Game Dungeon Chest Menu" "Continuous Lockpicking" and "Continuous Remove Trap" must be checked in the lockpicking gump menu This…

ThievingLockpicking
Bapeths Modern Dungeon Picker.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/d6b286a7-bebf-470b-a1ba-7d3a80114a79 for latest2# Automation by Jaseowns3## Script: Bapeths Modern Dungeon Picker4## Created by: barryroser#05#############################################6 7# Bapeths Modern Dungeon Picker8# Aug 14th 2026 - Fixed bug in auto recycle routine9#10# "REQUIRED GAME SETTINGS" :11#12#######################################################################################################################################################################################################################################13#14# "In Game Dungeon Chest Menu"15# "Continuous Lockpicking" and "Continuous Remove Trap" must be checked in the lockpicking gump menu16# This gump menu appears when you attempt to open a chest17#18#######################################################################################################################################################################################################################################19#20# "Cooldowns"21# This script uses four cooldowns called "Hiding" "Stealth" "Stealing" and "Move" (Stealing only for Pilfering)22# Create these in the in-game options menu under Cooldowns and they must be spelled correctly23# Sometimes a full game restart is needed if cooldowns are edited24# The "Move" Cooldown type is "Walk" and should be set to "0.3 seconds"25#26#######################################################################################################################################################################################################################################27#28# "OPTIONAL FEATURES" :29#30#######################################################################################################################################################################################################################################31#32# "Wizard Hat Stealth Trick" - prevents you from stumbling over a player/mob while moving in stealth33# It is recommended to have in your pack a "Blessed and Aspected Armored Magical Wizard Hat" (Purchasable at prev vendor)34# Alternatively you can buy a cheap "Magical Wizards Hat" from the Mage NPC in town (non-aspectable)35# This is for the stealth part of the script36# It will quick swap your hat and reduce your stamina37# If your hat ever gets stuck in a "spam loop"38# Go to Script tab > Options subtab and delete "bwiz" "bmain" and "nonaspectedwiz"39#40#######################################################################################################################################################################################################################################41#42# "Auto Pilfer"43# Toggle "WARMODE ON" for "AUTO-PILFER" - It is best to use the "TAB" button and ensure that "TAB" is set to toggle in UO options44# To enable this feature: open the "thieves codex" while the script is playing - this will act like a switch to turn auto-pilfer on/off45#46# "AUTO PILFER SETTINGS"47#48# To enable auto invis upon pilfer/camo fail, change the value below 0 = off  1 = on49# To enable auto smokebomb upon pilfer/camo fail, change the value below 0 = off  1 = on50# If you use auto smokebomb it is helpful to create an in-game cooldown called "Smoke Bomb"51# Set your "Without a Trace" codex perks below, 0 = No pts, 1 = 1pt, 2 = 2pts, 3 = pts52#53# If both Auto Invis and Auto Smokebomb are set to 1 (on) Then smokebomb will be used only as a backup if invis fails54# If only Auto Invis is set to 1 (on) then only invis will be used upon pilfer/camo failure55# If only Auto Smoke Bomb is set to 1 (on) then only smokebomb will be used upon pilfer/camo failure56#57# AUTO INVIS UPON PILFER/CAMO FAILURE58@setvar! "AutoInvis" 059#60# SMOKE BOMB UPON PILFER/CAMO FAILURE  <--- Warning!  Do not use this if you are Invis-Rope Pilfering as there is a 5 second cooldown post teleport/rope before a smokebomb can be used61@setvar! "SmokeBombBackup" 062#63# WITHOUT A TRACE (For Smoke Bomb Cooldown)64@setvar! "WithoutTracePerk" 065#66#######################################################################################################################################################################################################################################67#68# "Hide/Stealth Blocking"69# Toggle "WARMODE ON" to block the scripts smart hide/stealth feature (use for "Boss Room Custodians" and saving cooldown time)70# To turn auto hide/stealth off completely set the setting below to 0 (1 = on)71# This feature only activates while picking a chest72#73# AUTO HIDE/STEALTH74@setvar! "Auto Hide and Stealth" 175#76#######################################################################################################################################################################################################################################77#78# "Auto-Recycler"79# This feature will auto recycle bad items and keep the good ones - To use this feature:80# You must be carrying at least one "item identification wand" and at least one "recycler tool" type (Tinker Tools, Sewing Kit, Saw, or Scribes Pen)81# The recycle will happen when the player begins picking a fresh chest (Open the "Party Menu" to manually activate this feature)82# The script keeps the following items:83# Magic Armor: Fortification, Invulnerability84# Magic Weapons: Power, Vanq85# Slayer Weapons: Lesser Might and above86# Colored ore/leather/wood: Pink and above87#88#######################################################################################################################################################################################################################################89#90# "Auto Recycle"91#92# Change the recycler to keep/discard Fortification armor93# (0 = off 1 = on) 94#95# KEEP FORTIFICATION96@setvar! "KeepFortification" 197#98#######################################################################################################################################################################################################################################99#100# "Loot-Sense & Vacuum Mode"101# This function will overhead display *loot* above items on the ground and pick them up as you pass by (2 tiles)102# Be aware that this may make you overweight from large gold piles from time to time103# To toggle this feature on/off (default is off) "Double click a Wizard Grimoire"104# To use special overhead indicators to show where loot/gold is on the ground set the below setting to 1 (This will make chest overheads slightly slower)105#106# LOOT VACUUM OVERHEADS107@setvar! "LootVacuumOverheads" 0108#109#######################################################################################################################################################################################################################################110#111# "Auto Detect & Skin Corpses"112# If you have a skinning knife and 50 or more "Forensic Evaluation"113# While in Peace Mode the script will show corpses and auto skin them when in range114# To toggle this feature on/off "double click your Potion Codex"115# Do not use this at the same time as Loot Vacuum mode otherwise it will be slow116#117#######################################################################################################################################################################################################################################118#119# "Extra Features"120# Overhead Warnings for Aspect type, Reflect, Reactive Armor, Buff Pots (This will warn you when its time to use these things/ Remind what aspect you are in)121# Utility Features: Cure Potion, Cleansing Brew (use warmode), Trapped Pouch, Strength Potion (when weakened by another player), Refresh Potion when low stam, Eat delectable food122# If you are "over weight" the script will now "auto-dump" piles of 444 gold until you are unburdened123# If you use have 80 or more "Parry/Wrestling" the script will "Auto Ward" you when bleeding or diseased - default stance is Shield Bash124# If you are disarmed the script will auto-equip you when the disarm effect ends125#126# "(1 = on 0 = off)"127#128# OVERHEAD BUFF WARNINGS129@setvar! "OverheadWarnings" 1130#131# UTILITY FEATURES132@setvar! "Utility" 1133#134# AUTO DUMP GOLD / REDPOT WHEN OVERWEIGHT135@setvar! "AutoDumpGold" 1136#137# AUTO SHIELD STANCE 138@setvar! "AutoShieldStance" 1139#140# AUTO EQUIP AFTER DISARM141@setvar! "DisarmEquip" 1142#143#######################################################################################################################################################################################################################################144#145# For Parry Codex Users "Set your Default Stance"146# Because the script uses an auto-warding routine you can set the following stance to default when not bleeding/diseased147# Select which stance you wish to defualt to with a 1, leave the rest at 0148#149# DEFAULT PARRY STANCE150@setvar! "DefaultShieldBash" 0151@setvar! "DefaultTestudo" 0152@setvar! "DefaultMirror" 1153@setvar! "DefaultBulwark" 0154#155##########################################################################################################################################################################156#157# "Lootbag"158# Set by using the razor hotkey "Set Grab Item Hotbag" (Default is your Main Backpack)159#160#######################################################################################################################################################################################################################################161#162# "Auto Stealth"163# This is an in game setting that is reccomended to be turned ON164# Toggle this on and off by typing [AutoStealth in game165#166#######################################################################################################################################################################################################################################167#168# "Spam Reduction"169# Options tab > Targeting & Queues subtab > Uncheck "Attack/Target name overhead"170# Options tab > Targeting & Queues subtab > Uncheck "Show Target Self/Last/Clear Overhead"171# Filters tab > Text & Messages subtab > Check "Filter Repeating Razor Messages" ONLY172# Filters tab > Text & Messages subtab > Check "Enable Text Filter" and add "You estimate"  <--- This will remove the Item ID estimation overhead173#174#######################################################################################################################################################################################################################################175#176# -----------------------------------------------------"Recommended Builds"---------------------------------------------------177# --"Chest Ninja**"------"Pilfer Ninja"------"Summoner Picker"----"Bully Pilferer"------"Parry Tank"---------"Skinner Scav"---178# Detect Hidden - 120  Detect Hidden - 120  Detect Hidden - 120  Hiding -------- 100  Detect Hidden - 120  Forensic Eval - 120179# Lockpicking --- 120  Lockpicking --- 120  Lockpicking --- 120  Snooping ------ 100  Lockpicking --- 120  Hiding -------- 100180# Stealth ------- 100  Stealth ------- 100  Stealth ------- 120  Stealing ------ 100  Hiding -------- 100  Wrestling ----- 100181# Hiding -------- 100  Hiding -------- 100  Hiding -------- 100  Wrestling ----- 100  Magery -------- 80   Alchemy ------- 80182# Magery --------- 80  Magery --------- 80  Magery -------- 100  Alchemy -------- 80  Parrying ------ 80   Parrying ------ 80183# Camping ------- 120  Camping ------- 100  Camping -------- 80  Parrying ------- 80  Wrestle ------- 100  Magery -------- 80184# Stealing ------- 80  Stealing ------ 100  Spirit Speak --- 80  Magery --------- 80  Stealing ------ 80   Magic Resist -- 80185#                                                                Magic Resist --- 80  Camping ------- 40   Stealing ------ 80186#                                                                (Pilfer Only)                             (Skins & Scav only)187# "Recommended Aspects, Links, and Codex/Tome"188# Harvest is best for Loot while Fortune is best for XP (Harvest does not work for pilfering)189# Special/Rare loot Chance Links (Max 20) & Chest Success Chances/Progress Links (Max 10) for picking190# If you have Stealing "Overlooked" and "Without a Trace" perks are recommended (Thieves Codex)191# If you Pilfer "Extortion" perk is recommended (Thieves Codex)192# If you Summon "Spirit Pact" perk is recommended (Summoner Tome)193# "** Bapeths current main lockpicker build"194#195#######################################################################################################################################################################################################################################196#197# "Notes on Rares"198# Not all "Rares" are on the auto loot list199# Keep an eye out for unlooted rares200# I update the list as I find them201#202#######################################################################################################################################################################################################################################203#204# "Notes on loop-in"205# You may want to use other scripts while this script is running206# In order to seamlessly use other scripts you can "loop-in" this script on the back end of any other script you are using207# To learn more about this ask about it in the scripts-and-macros discord channel for Outlands discord208# You can also seach for scripts Bapeth has made that are pre-looped, such as "Bapeths Dungeon Rope + Tele"209#210####################################################################################################################################################################################################################################### 211#212# "Script Starts Here"213 214// Random Stuff215if timerexists onetimestealth216    removetimer onetimestealth217endif218if timerexists bchestopen219    removetimer bchestopen220endif221if gumpexists 736038070222    gumpclose 736038070223endif224if insysmsg "You have been revealed!" 225    say "[Anger"226endif227if dead     228    overhead "I need a new body..." 88229    stop230endif231if timerexists OTunlockedchest and not findtype "wooden chest|metal chest" ground -1 -1 2232    removetimer OTunlockedchest233    for 10234        if findtype "quiver" self as bapquiver235            getlabel bapquiver desc236            if "blessed" in desc237                @ignore bapquiver238            else 239                break240            endif241        endif242    endfor243    if findtype "quiver" self as bapquiver244        if findtype 7163|3903 self as bapammo245            menu bapquiver 0246        endif247    endif248    for 10249        if findtype "reagent satchel" self as bapregsatch250            getlabel bapregsatch desc251            if "blessed" in desc252                @ignore bapregsatch253            else 254                break255            endif256        endif257    endfor258    if findtype "reagent satchel" self as bapregsatch259        menu bapregsatch 0260    endif261endif262if not timerexists invistab and findbuff "Invisibility"263    warmode on264    warmode off265    createtimer invistab266endif267if not timerexists invistab and findbuff "Hidden"268    warmode on269    warmode off270    createtimer invistab271endif272if timerexists invistab and not hidden273    removetimer invistab274endif275// End of Random stuff276 277// Context Menu Get Varible Routine278if not find "FirstSummon" ground and findtype "Bapith" ground as bapsummon 279    @setvar! "FirstSummon" bapsummon280endif281if not find "SecondSummon" ground and findtype "Bapath" ground as bapsummon 282    @setvar! "SecondSummon" bapsummon283endif284if not find "ThirdSummon" ground and findtype "Baphet" ground as bapsummon 285    @setvar! "ThirdSummon" bapsummon286endif287if not find "FourthSummon" ground and findtype "Bapesh" ground as bapsummon 288    @setvar! "FourthSummon" bapsummon289endif290if not find "FifthSummon" ground and findtype "Bapet" ground as bapsummon 291    @setvar! "FifthSummon" bapsummon292endif293if not find "SixthSummon" ground and findtype "Bapat" ground as bapsummon 294    @setvar! "SixthSummon" bapsummon295endif296if not find "SeventhSummon" ground and findtype "Bapit" ground as bapsummon 297    @setvar! "SeventhSummon" bapsummon298endif299// Endof Context Menu Get Varible Routine300 301 302// Auto Re-equip after disarm routine303if "DisarmEquip" = 1304    if not find "mylefthanditem" and findlayer self lefthand as bapleft305        @setvar! "mylefthanditem" bapleft306    endif307    if not find "myrighthanditem" and findlayer self righthand as bapright308        @setvar! "myrighthanditem" bapright309    endif310    if find "mylefthanditem" backpack and not casting and not targetexists and not findlayer self lefthand311        dclick "mylefthanditem"312        pause 500313        getlabel backpack ping314    endif315    if find "myrighthanditem" backpack and not casting and not targetexists and not findlayer self righthand316        dclick "myrighthanditem"317        pause 500318        getlabel backpack ping319    endif320endif321// End of Auto Re-equip after disarm routine322 323// Auto Shield Stance Routine324if skill "Parrying" >= 80325    if not timerexists checkshieldcodex326        createtimer checkshieldcodex327        settimer checkshieldcodex 13000328    elseif timer checkshieldcodex >= 13000329        settimer checkshieldcodex 0330        if findtype "shield codex" backpack as scodex331            getlabel scodex desc332        if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3333                if "DefaultShieldBash" = 1334                    if "Shield Bash" in desc335                        //donothing336                    elseif "Testudo" in desc337                        say "[ShieldsStance1"338                    elseif "Mirror" in desc339                        say "[ShieldsStance1"340                    elseif "Bulwark" in desc341                        say "[ShieldsStance1"342                    endif343                elseif "DefaultTestudo" = 1344                    if "Shield Bash" in desc345                        say "[ShieldsStance3"346                    elseif "Testudo" in desc347                        //donothing348                    elseif "Mirror" in desc349                        say "[ShieldsStance3"350                    elseif "Bulwark" in desc351                        say "[ShieldsStance3"352                    endif353                elseif "DefaultMirror" = 1354                    if "Shield Bash" in desc355                        say "[ShieldsStance4"356                    elseif "Testudo" in desc357                        say "[ShieldsStance4"358                    elseif "Mirror" in desc359                        //donothing360                    elseif "Bulwark" in desc361                        say "[ShieldsStance4"362                    endif363                elseif "DefaultBulwark" = 1364                     if "Shield Bash" in desc365                        say "[ShieldsStance5"366                    elseif "Testudo" in desc367                        say "[ShieldsStance5"368                    elseif "Mirror" in desc369                        say "[ShieldsStance5"370                    elseif "Bulwark" in desc371                        //donothing372                    endif373                endif  374            endif375            if "Shield Bash" in desc376                overhead "--Shield Bash Stance--" 2490377            elseif "Warding" in desc378                overhead "--Warding Stance--" 2087379                if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3380                    if "DefaultShieldBash" = 1381                        say "[ShieldsStance1"382                    elseif "DefaultTestudo" = 1383                        say "[ShieldsStance3"384                    elseif "DefaultMirror" = 1385                        say "[ShieldsStance4"386                    elseif "DefaultBulwark" = 1387                        say "[ShieldsStance5"388                    endif389                    getlabel backpack ping390                    say "[ShieldsFinisher1" 45391                endif392            elseif "Testudo" in desc393                overhead "--Testudo Stance--" 2503394            elseif "Mirror" in desc395                overhead "--Mirror Stance--" 2615396            elseif "Bulwark" in desc397                overhead "--Bulwark Stance--" 2767398            else 399                if mana >= 3400                    if "DefaultShieldBash" = 1401                        say "[ShieldsStance1"402                    elseif "DefaultTestudo" = 1403                        say "[ShieldsStance3"404                    elseif "DefaultMirror" = 1405                        say "[ShieldsStance4"406                    elseif "DefaultBulwark" = 1407                        say "[ShieldsStance5"408                    endif409                endif410            endif411        endif412    endif413    if "DefaultBulwark" = 1 and not findbuff "Bleed" and not findbuff "Diseased"414        if not timerexists standstill415            createtimer standstill416        endif417        if cooldown "Move"418            createtimer OTBulwarkIndicator419            settimer standstill 0420        endif421        if timer standstill >= 3000422            if timerexists OTBulwarkIndicator423                overhead "Bulwark Fortified!" 88424                removetimer OTBulwarkIndicator425            endif426        endif427    endif428    if not timerexists bleedbuffcheck and findbuff "Bleed" and not findbuff "Diseased" and mana >= 3429        removetimer bullwarkactive430        createtimer bleedbuffcheck431        say "[ShieldsStance2" 45432        getlabel backpack ping433        say "[ShieldsFinisher2" 45434    elseif timerexists bleedbuffcheck and not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3435        removetimer bleedbuffcheck436        pause 800437        getlabel backpack ping438        if "DefaultShieldBash" = 1439            say "[ShieldsStance1"440        elseif "DefaultTestudo" = 1441            say "[ShieldsStance3"442        elseif "DefaultMirror" = 1443            say "[ShieldsStance4"444        elseif "DefaultBulwark" = 1445            say "[ShieldsStance5"446        endif447        getlabel backpack ping448        say "[ShieldsFinisher1" 45449    endif450    if not timerexists diseasebuffcheck and findbuff "Diseased" and not findbuff "Bleed" and mana >= 3451        removetimer bullwarkactive452        createtimer diseasebuffcheck453        say "[ShieldsStance2" 45454        getlabel backpack ping455        say "[ShieldsFinisher2" 45456    elseif timerexists diseasebuffcheck and not findbuff "Diseased" and not findbuff "Bleed" and mana >= 3457        removetimer diseasebuffcheck458        pause 800459        getlabel backpack ping460        if "DefaultShieldBash" = 1461            say "[ShieldsStance1"462        elseif "DefaultTestudo" = 1463            say "[ShieldsStance3"464        elseif "DefaultMirror" = 1465            say "[ShieldsStance4"466        elseif "DefaultBulwark" = 1467            say "[ShieldsStance5"468        endif469        getlabel backpack ping470        say "[ShieldsFinisher1" 45471    endif472    if timerexists baptrapbullwark and mana >= 3473        if not findbuff "Diseased" and not findbuff "Bleed" and not timerexists defaultstance and timer baptrapbullwark <= 10000474            if not timerexists "bullwarktime"475                createtimer bullwarktime476            endif    477            if cooldown "Move"478                settimer bullwarktime 0479            endif480            if not timerexists bullwarkactive and timer bullwarktime >= 3000481                say "[ShieldsStance5" 45482                createtimer bullwarkactive483            endif484        endif485    endif486    if cooldown "Move"487        settimer bullwarktime 0488    endif489    if timerexists bullwarkactive and mana >= 3490        if timer bullwarktime < 3000491            if "DefaultShieldBash" = 1492                say "[ShieldsStance1"493            elseif "DefaultTestudo" = 1494                say "[ShieldsStance3"495            elseif "DefaultMirror" = 1496                say "[ShieldsStance4"497            elseif "DefaultBulwark" = 1498                say "[ShieldsStance5"499            endif500            removetimer bullwarkactive501        endif502    endif503endif504// End of Auto Shield Stance Routine505 506// Stealth Wizard Hat Recording Routine507if findtype 5912 self and not varexist "bwiz" and findlayer self head as regularhat508    getlabel regularhat desc509    if "magical" in desc510        dclick regularhat511        pause 500512        getlabel backpack ping513        replay514    endif515endif516if not find "bwiz" self and findtype 5912 backpack as wizhat517    getlabel wizhat desc518    if "restyled" in desc519        @ignore wizhat520        replay521    elseif "armored" in desc522        @setvar! "bwiz" wizhat523    elseif "magical" in desc524        @setvar! "bwiz" wizhat525        @setvar! "nonaspectedwiz" wizhat526    endif527endif528if varexist "bwiz" and find "bwiz" backpack529    if not find "bmain" self and findlayer self head as hat530        @setvar! "bmain" hat531    endif532    if not varexist "bmain"533        overhead "I need a primary hat or helm to wear.." 88534        pause 2000535        overhead "Anything will do, just not a magical wizard hat..." 88536        stop537    endif538endif539// End of Stealth Wizard Hat Recording Routine540 541// Overhead Warning Routines542if "OverheadWarnings" = 1543    if skill "Lockpicking" >= 50544        if findtype "lockpicks" backpack545            removetimer lockpickcheck546        endif547        if not findtype "lockpicks" backpack and not timerexists lockpickcheck548            createtimer lockpickcheck549            settimer lockpickcheck 21000550        endif551        if timerexists lockpickcheck552            if timer lockpickcheck > 21000553                overhead "I have no Lockpicks..." 38554                settimer lockpickcheck 0555            endif556        endif557    endif558    if skill "Detect" >= 50559        if findtype "drill" backpack560            removetimer drillcheck561        endif562        if not findtype "drill" backpack and not timerexists drillcheck563            createtimer drillcheck564            settimer drillcheck 21000565        endif566        if timerexists drillcheck567            if timer drillcheck > 21000568                overhead "I have no Removal Tool..." 38569                settimer drillcheck 0570            endif571        endif572    endif573    if not timerexists checkaspect574        createtimer checkaspect575        settimer checkaspect 60000576    elseif timer checkaspect >= 60000 577        if findlayer self innertorso as aspectarm578            getlabel aspectarm desc579            if "aspect" in desc580                if "air" in desc581                    overhead "<Air Active>" 2263582                elseif "arcane aspect" in desc583                    overhead "<Arcane Active>" 1560584                elseif "artisan aspect" in desc585                    overhead "<Artisan Active>" 2096586                elseif "blood aspect" in desc587                    overhead "<Blood Active>" 2087588                elseif "command aspect" in desc589                    overhead "<Command Active>" 1782590                elseif "death aspect" in desc591                    overhead "<Death Active>" 2155592                elseif "discipline aspect" in desc593                    overhead "<Discipline Active>" 2490594                elseif "earth aspect" in desc595                    overhead "<Earth Active>" 2767596                elseif "eldritch aspect" in desc597                    overhead "<Eldritch Active>" 2615598                elseif "fire aspect" in desc599                    overhead "<Fire Active>" 2635600                elseif "fortune aspect" in desc601                    overhead "<Fortune Active>" 2843602                elseif "frost aspect" in desc603                    overhead "<Frost Active>" 2234604                elseif "gadget aspect" in desc605                    overhead "<Gadget Active>" 2669606                elseif "harvest aspect" in desc607                    overhead "<Harvest Active>" 2086608                elseif "holy aspect" in desc609                    overhead "<Holy Active>" 2153610                elseif "lightning aspect" in desc611                    overhead "<Lightning Active>" 2650612                elseif "lyric aspect" in desc613                    overhead "<Lyric Active>" 2241614                elseif "madness aspect" in desc615                    overhead "<Madness Active>" 1060616                elseif "poison aspect" in desc617                    overhead "<Poison Active>" 2897618                elseif "shadow aspect" in desc619                    overhead "<Shadow Active>" 1790620                elseif "void aspect" in desc621                    overhead "<Void Active>" 2599622                elseif "water aspect" in desc623                    overhead "<Water Active>" 1788624                elseif "war aspect" in desc625                    overhead "<War Active>" 2503626                endif627            else 628                overhead "No aspect enabled" 45629            endif630        endif631        settimer checkaspect 0632    endif633    if skill "Magery" >= 80634        if timerexists reflect and not findbuff "Magic Reflection"635            if timer reflect > 30000636                overhead "--Cast Reflect--" 2122637                settimer reflect 12000638            endif639        endif640        if findbuff "Magic Reflection" and timerexists reflect641            removetimer reflect642        endif643        if not findbuff "Magic Reflection" and not timerexists reflect644            createtimer reflect645        endif646    endif647    if skill "Magery" >= 20648        if timerexists reactive and not findbuff "Reactive Armor"649            if timer reactive > 30000650                overhead "--Cast Reactive--" 2122651                settimer reactive 13500652            endif653        endif654        if findbuff "Reactive Armor" and timerexists reactive655            removetimer reactive656        endif657        if not findbuff "Reactive Armor" and not timerexists reactive658            createtimer reactive659        endif660    endif661    if skill "Magery" >= 40662        if timerexists protection and not findbuff "Protection"663            if timer protection > 30000664                overhead "--Cast Protection--" 2122665                settimer protection 9000666            endif667        endif668        if findbuff "Protection" and timerexists protection669            removetimer protection670        endif671        if not findbuff "Protection" and not timerexists protection672            createtimer protection673        endif674    endif675    if not timerexists topupstr676        createtimer topupstr677        settimer topupstr 30000678    elseif timer topupstr >= 30000 and not hidden and not casting and str = 100 and findtype "White Potion" backpack as stpot679        while queued680            //donothing681        endwhile682        overhead "--Drink Strength--" 2122683        settimer topupstr 0684    endif685    if not timerexists topupres686        createtimer topupres687        settimer topupres 30000688    elseif timer topupres >= 30000 and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" backpack as respot689        while queued690            //donothing691        endwhile692        overhead "--Drink Resist--" 2122693        settimer topupres 0694    endif695endif696// End of Overhead Warning Routines697 698// Various Utility Routines699if "Utility" = 1700    if not targetexists and not casting and not findbuff "Food Satisfaction"701        if findtype 2429|28885|29774|29773|28880|28888|28881|28883|28886|28879 backpack as food702            while queued703                //donothing704            endwhile705            dclick food706            pause 500707            getlabel backpack ping708        endif709    endif710    if not targetexists and not hidden and not casting and stam <= 4 and findtype "Red Potion" self as redpot711        while queued712            //donothing713        endwhile714        dclick redpot715        pause 500716        getlabel backpack ping717    endif718    while not hidden and paralyzed and not targetexists and findtype "pouch" backpack 38719        while queued720            //donothing721        endwhile722        say "[Pouch"723    endwhile724    while not hidden and not casting and poisoned and not targetexists and findtype "Orange Potion" self as curepot725        while queued726            //donothing727        endwhile728        dclick curepot729        pause 500730        getlabel backpack ping731    endwhile732    if warmode and not hidden and not timerexists brew and not targetexists and findbuff "Bleed" and findtype 50675 backpack as cbrew733        clearsysmsg 734        while queued735            //donothing736        endwhile737        dclick cbrew738        getlabel backpack ping739        if insysmsg "You drink a cleansing brew"740            createtimer brew741        endif742    elseif warmode and not hidden and not timerexists brew and not targetexists and findbuff "Diseased" and findtype 50675 backpack as cbrew743        while queued744            //donothing745        endwhile746        dclick cbrew747        getlabel backpack ping748        if insysmsg "You drink a cleansing brew"749            createtimer brew750        endif751    endif752    if timerexists brew753        if timer brew >= 120000754            removetimer brew755        endif756    endif757    if not hidden and not casting and findbuff "Weaken" and not targetexists and findtype "White Potion" self as stpot758        while queued759            //donothing760        endwhile761        dclick stpot762        pause 500763        getlabel backpack ping764    endif765endif766// End of Various Utility Routines767 768// Auto Pilfer Routine769if not timerexists getpilf770    createtimer getpilf771endif772if not timerexists autopilferswitch773    if gumpexists 2955404556774        gumpclose 2955404556775        createtimer autopilferswitch776        overhead "--Auto Pilfer Enabled--" 88777    endif778endif779if timerexists autopilferswitch780    if gumpexists 2955404556781        gumpclose 2955404556782        removetimer autopilferswitch783        overhead "--Auto Pilfer Disabled--" 38784    endif785endif786if timerexists autopilferswitch and skill "Stealing" >= 80 and warmode and not targetexists 787    if timer getpilf >= 100788        settimer getpilf 0789        for 12790            hotkey 'Target Closest Murderer Monster'791            hotkey 'Next Grey Monster Target'792            @setvar! pilfertarget lasttarget793            if find pilfertarget ground -1 -1 2794                overhead "*pilfer target*" 2091 pilfertarget795                break796            endif797        endfor798    endif799    if hidden800        while find pilfertarget ground -1 -1 2801            if not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing"802                if casting 803                    while casting 804                        //donothing805                    endwhile806                    pause 330807                endif808                while targetexists 809                    //donothing810                endwhile811                clearsysmsg812                if not targetexists 813                    hotkey 'Cancel Current Target'814                    skill "Stealing"815                    wft 1000816                    if find "Manual Override" ground -1 -1 2817                        target "Manual Override"818                    else819                        target pilfertarget820                    endif821                    hotkey 'Cancel Current Target'822                endif823                getlabel backpack ping824                break825            endif826            if not warmode 827                break828            endif829        endwhile 830        if insysmsg "You Steal"831            overhead "The goods are mine!" 2091832            cooldown "Stealing" 5000833            warmode off834        endif835        if insysmsg "The creature is barren"836            overhead "Another thief beat me to it..." 1779837            cooldown "Stealing" 5000838            warmode off839        endif840        if insysmsg "That is too far away"841            overhead "Argh, not close enough..." 1779842            cooldown "Stealing" 5000843            warmode off844        endif845        if insysmsg "Target cannot be seen"846            overhead "Argh, I cant see it..." 1779847            cooldown "Stealing" 5000848            warmode off849        endif850        if insysmsg "You have already stolen"851            overhead "I have already pilfered this..." 1779852            cooldown "Stealing" 5000853            warmode off854        endif855        if insysmsg "You fail"856            overhead "Argh, I failed to Pilfer..." 1779857            cooldown "Stealing" 5000858            if "AutoInvis" = 1 and not hidden and skill "Magery" >= 80859                if mana >= 20860                    hotkey "Cancel Current Target"861                    cast "Invisibility"862                    wft 1900863                    target self864                    hotkey "Cancel Current Target"865                    warmode on866                    warmode off867                    getlabel backpack ping868                else 869                    overhead "Not Enough Mana!" 38870                endif871            endif872            if "SmokeBombBackup" = 1 and not hidden and findtype "bombs" backpack as sbomb873                clearsysmsg 874                while queued875                    //donothing876                endwhile877                dclick sbomb878                getlabel backpack ping879                if insysmsg "You begin to move"880                    if "WithoutTracePerk" = 0881                        cooldown "Smoke bomb" 120000882                    endif883                    if "WithoutTracePerk" = 1884                        cooldown "Smoke bomb" 100000885                    endif886                    if "WithoutTracePerk" = 2887                        cooldown "Smoke bomb" 80000888                    endif889                    if "WithoutTracePerk" = 3890                        cooldown "Smoke bomb" 60000891                    endif892                elseif insysmsg "You have teleported too recently to use a smoke bomb"893                    overhead "I teleported too recently to Smoke Bomb!" 38894                    overhead "ABORT!" 38895                endif896            endif897            warmode off898        endif899        if "AutoInvis" = 1 and not hidden and skill "Magery" >= 80900            if mana >= 20901                hotkey "Cancel Current Target"902                cast "Invisibility"903                wft 1900904                target self905                hotkey "Cancel Current Target"906                warmode on907                warmode off908                getlabel backpack ping909            else 910                overhead "Not Enough Mana!" 38911            endif912        endif913        if "SmokeBombBackup" = 1 and not hidden and findtype "bombs" backpack as sbomb914            clearsysmsg 915            while queued916                //donothing917            endwhile918            dclick sbomb919            getlabel backpack ping920            if insysmsg "You begin to move"921                if "WithoutTracePerk" = 0922                    cooldown "Smoke bomb" 120000923                endif924                if "WithoutTracePerk" = 1925                    cooldown "Smoke bomb" 100000926                endif927                if "WithoutTracePerk" = 2928                    cooldown "Smoke bomb" 80000929                endif930                if "WithoutTracePerk" = 3931                    cooldown "Smoke bomb" 60000932                endif933            elseif insysmsg "You have teleported too recently to use a smoke bomb"934                overhead "I teleported too recently to Smoke Bomb!" 38935                overhead "ABORT!" 38936            endif937        endif938    elseif not hidden939        while find pilfertarget ground -1 -1 2940            if not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing"941                if casting 942                    while casting 943                        //donothing944                    endwhile945                    pause 330946                endif947                while targetexists 948                    //donothing949                endwhile950                clearsysmsg951                if not targetexists 952                    hotkey 'Cancel Current Target'953                    skill "Stealing"954                    wft 1000955                    if find "Manual Override" ground -1 -1 2956                        target "Manual Override"957                    else958                        target pilfertarget959                    endif960                    target pilfertarget961                    hotkey 'Cancel Current Target'962                endif963                getlabel backpack ping964                break965            endif966        endwhile 967        if insysmsg "retaliate"968            overhead "Argh, I failed to Pilfer" 1779969            cooldown "Stealing" 5000970            warmode off971            if not hidden and findtype "yellow potion" backpack as healpot972                while queued973                    //donothing974                endwhile975                dclick healpot976                pause 500977                getlabel backpack ping978            endif979        endif980        if insysmsg "You Steal"981            overhead "The goods are mine!" 2091982            cooldown "Stealing" 5000983            warmode off984        endif985        if insysmsg "The creature is barren"986            overhead "Another thief beat me to it..." 1779987            cooldown "Stealing" 5000988            warmode off989        endif990        if insysmsg "That is too far away"991            overhead "Argh, not close enough..." 1779992            cooldown "Stealing" 5000993            warmode off994        endif995        if insysmsg "Target cannot be seen"996            overhead "Argh, I cant see it..." 1779997            cooldown "Stealing" 5000998            warmode off999        endif1000        if insysmsg "You have already stolen"1001            overhead "I have already pilfered this..." 17791002            cooldown "Stealing" 50001003            warmode off1004        endif1005    endif1006endif1007// End of Auto Pilfer Routine1008 1009// Main Lockpicker Loop Routine1010if not casting and skill "Lockpicking" >= 50 and findtype "wooden chest|metal chest" ground -1 -1 2 as bchest and not targetexists1011    clearsysmsg 1012    if varexist "BapCurrentChest"1013        if timerexists OTunlockedchest and not find "BapCurrentChest" ground -1 -1 21014            removetimer OTunlockedchest1015        endif1016    endif1017    @setvar! "BapCurrentChest" bchest1018    if not warmode 1019        warmode on1020        warmode off1021    endif1022    while queued1023        //donothing1024    endwhile1025    if casting 1026        while casting 1027            //donothing1028        endwhile1029        pause 3301030    endif1031    if not timerexists OTunlockedchest1032        dclick bchest1033    endif1034    getlabel bchest desc1035    if "(locked and trapped)" in desc1036        createtimer activaterecycle1037        if timerexists OTunlockedchest1038            removetimer OTunlockedchest1039            dclick bchest1040            getlabel backpack ping1041        endif1042        overhead desc 2085 bchest1043        waitforgump 736038070 10001044    elseif "(locked)[trap removal progress" in desc1045        if timerexists OTunlockedchest1046            removetimer OTunlockedchest1047            dclick bchest1048            getlabel backpack ping1049        endif1050        overhead desc 2085 bchest1051        waitforgump 736038070 10001052    elseif "(locked)" in desc1053        if timerexists OTunlockedchest1054            removetimer OTunlockedchest1055            dclick bchest1056            getlabel backpack ping1057        endif1058        overhead desc 2085 bchest1059        waitforgump 736038070 10001060    elseif "(lockpick progress" in desc1061        if timerexists OTunlockedchest1062            removetimer OTunlockedchest1063            dclick bchest1064            getlabel backpack ping1065        endif1066        overhead desc 2085 bchest1067        waitforgump 736038070 10001068    elseif "dungeon chest" in desc1069        createtimer OTunlockedchest1070        overhead desc 1779 chest1071        gumpclose 7360380701072    endif1073    if gumpexists 736038070 and not ingump "Cleared Of Traps" 7360380701074        while gumpexists 7360380701075            if casting 1076                while casting 1077                    //donothing1078                endwhile1079                pause 3301080            endif1081            gumpresponse 7 7360380701082            waitforgump 736038070 10001083            if insysmsg "You attempt to remove traps"1084                clearsysmsg1085                break1086            endif1087            if insysmsg "That appears to be devoid"1088                clearsysmsg1089                break1090            endif1091            if not findtype "wooden chest|metal chest" ground -1 -1 21092                removetimer activaterecycle1093                gumpclose 7360380701094                break1095            endif1096            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not hidden and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801097                skill "Hiding"1098                getlabel backpack ping1099                if hidden1100                    getlabel backpack ping1101                    cooldown "Hiding" 100001102                endif1103            endif1104        endwhile1105        if not hidden1106            if followers >= 11107                if find "bsummon1"1108                    menu bsummon1 21109                    wft 10001110                    target self1111                    getlabel backpack ping1112                    if find "bsummon2"1113                        menu bsummon2 21114                        wft 10001115                        target self  1116                    endif1117                elseif find "bsummon2"1118                    menu bsummon2 21119                    wft 10001120                    target self1121                    getlabel backpack ping1122                    if find "bsummon1"1123                        menu bsummon1 21124                        wft 10001125                        target self  1126                    endif1127                endif1128            endif1129            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not warmode and not cooldown "Hiding" and not cooldown "Stealth" and skill "Hiding" >= 801130                warmode on1131                warmode off1132                skill "Hiding"1133                getlabel backpack ping1134                if hidden1135                    getlabel backpack ping1136                    cooldown "Hiding" 100001137                endif1138            endif1139        endif1140        overhead "*disarming*" 1060 bchest1141        while not dead1142            if casting 1143                while casting 1144                    //donothing1145                endwhile1146                pause 3301147            endif1148            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not hidden and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801149                warmode on1150                warmode off1151                skill "Hiding"1152                getlabel backpack ping1153                if hidden1154                    getlabel backpack ping1155                    cooldown "Hiding" 100001156                endif1157            endif1158            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and findbuff "Invisibility" and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801159                skill "Hiding"1160                getlabel backpack ping1161                if hidden1162                    cooldown "Hiding" 101001163                    getlabel backpack ping1164                    removetimer onetimestealth1165                endif1166            endif1167            if "Auto Hide and Stealth" = 1 and not warmode and hidden and not cooldown "Hiding" and not cooldown "Stealth" and not timerexists onetimestealth and skill "Stealth" >= 801168                skill "Stealth"1169                getlabel backpack ping1170                if not timerexists onetimestealth1171                    createtimer onetimestealth1172                endif1173            endif1174            if insysmsg "move quietly"1175                getlabel backpack ping1176                cooldown "Stealth" 101001177            endif1178            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and hidden and not cooldown "Hiding" and not cooldown "Stealth" and insysmsg "hide first" and skill "Hiding" >= 801179                pause 10001180                getlabel backpack ping1181                skill "Hiding"1182                getlabel backpack ping1183                if hidden1184                    getlabel backpack ping1185                    cooldown "Hiding" 101001186                endif1187                removetimer onetimestealth1188            endif1189            if insysmsg  "You have successfully cleared it of traps"1190                overhead "*tick*" 2091 bchest1191                break1192            endif1193            if not findtype "wooden chest|metal chest" ground -1 -1 21194                removetimer activaterecycle1195                gumpclose 7360380701196                break1197            endif1198            if ingump "Cleared Of Traps" 7360380701199                overhead "*tick*" 2091 bchest1200                break1201            endif1202            if insysmsg "You make some progress towards clearing it of traps"1203                overhead "*clink*" 810 bchest1204            endif1205            if insysmsg "You have worn out your tool"1206                overhead "This tool is worn out!" 8051207                while gumpexists 7360380701208                    gumpresponse 7 7360380701209                    waitforgump 736038070 10001210                    if insysmsg "You attempt to remove traps"1211                        clearsysmsg1212                        break1213                    endif1214                    if insysmsg "That appears to be devoid"1215                        clearsysmsg1216                        break1217                    endif1218                endwhile1219            endif1220            if insysmsg "You have been revealed!" 1221                say "[Anger"1222            endif1223            if insysmsg "Another player"1224                gumpclose 7360380701225                if casting 1226                    while casting 1227                        //donothing1228                    endwhile1229                    pause 3301230                endif1231                dclick bchest1232                waitforgump 736038070 10001233                gumpresponse 7 7360380701234                waitforgump 736038070 10001235            endif1236            if hidden and timerexists activaterecycle and findtype "3997|4148|4032|7864" backpack as breakdowntool1237                removetimer activaterecycle1238                if findtype 20496 backpack as IDwand1239                    @clearignore 1240                    while findtype 3834 backpack 0 as bbook1241                        @ignore bbook1242                    endwhile1243                    while findtype "5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3834|3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130|3920|5042|5117|30990|30993|30994|30995|31184|31186|3719|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190|22187|31141|31142|31169|31172" backpack as IDitem1244                        clearsysmsg1245                        getlabel IDitem newcheck1246                        if "unidentified" in newcheck1247                            while queued1248                                //donothing1249                            endwhile1250                            if casting 1251                                while casting 1252                                    //donothing1253                                endwhile1254                                pause 3301255                            endif1256                            dclick IDwand1257                            wft 10001258                            target IDitem1259                            waitforsysmsg "You identify the item." 10001260                            getlabel IDitem desc1261                            if "unidentified" in desc or "activated" in desc or "blessed" in desc or "aspect" in desc or "training" in desc or "vanquishing" in desc or "supremely" in desc or "invulnerability" in desc or "power" in desc or "exceedingly accurate force" in desc or "valorite" in desc or "valehide" in desc or "valewood" in desc or "avarite" in desc or "avarhide" in desc or "avarwood" in desc or "verite" in desc or "verehide" in desc or "verewood" in desc or "agapite" in desc or "rosehide" in desc or "rosewood" in desc or "greater beastial" in desc or "greater construct" in desc or "greater daemonic" in desc or "greater elemental" in desc or "greater humanoid" in desc or "greater monstrous" in desc or "greater nature" in desc or "greater undead" in desc or "aegis" in desc or "cavernam" in desc or "darkmire" in desc or "inferno" in desc or "petram" in desc or "nusero" in desc or "ossuary" in desc or "pulma" in desc or "mausoleum" in desc or "wilderness" in desc or "ocean" in desc or "shadowspire" in desc or "kraul" in desc or "time" in desc or "netherzone" in desc or "tidal" in desc1262                                @ignore IDitem1263                                overhead "*strong magic*" 2091 IDitem1264                            elseif "KeepFortification" = 1 and "fortification" in desc1265                                @ignore IDitem1266                                overhead "*strong magic*" 2091 IDitem    1267                            else1268                                overhead "*trash*" 1779 IDitem1269                                while not gumpexists 9490951011270                                    while queued1271                                        //donothing1272                                    endwhile1273                                    dclick breakdowntool1274                                    waitforgump 949095101 10001275                                endwhile1276                                while not ingump "Recycle Single Item" 9490951011277                                    gumpresponse 2 9490951011278                                    waitforgump 949095101 10001279                                endwhile                                1280                                gumpresponse 3 9490951011281                                waitforgump 949095101 10001282                                target IDitem1283                                getlabel backpack ping1284                                pause 2501285                                if ingump "That cannot be recycled"1286                                    drop backpack1287                                    lift IDitem1288                                    drop 01289                                    while queued1290                                        //donothing1291                                    endwhile1292                                endif1293                                gumpclose 9490951011294                            endif1295                        else1296                            if "unidentified" in newcheck or "activated" in newcheck or "blessed" in newcheck or "aspect" in newcheck or "training" in newcheck or "vanquishing" in newcheck or "supremely" in newcheck or "invulnerability" in newcheck or "power" in newcheck or "exceedingly accurate force" in newcheck or "valorite" in newcheck or "valehide" in newcheck or "valewood" in newcheck or "avarite" in newcheck or "avarhide" in newcheck or "avarwood" in newcheck or "verite" in newcheck or "verehide" in newcheck or "verewood" in newcheck or "agapite" in newcheck or "rosehide" in newcheck or "rosewood" in newcheck or "greater beastial" in newcheck or "greater construct" in newcheck or "greater daemonic" in newcheck or "greater elemental" in newcheck or "greater humanoid" in newcheck or "greater monstrous" in newcheck or "greater nature" in newcheck or "greater undead" in newcheck or "aegis" in newcheck or "cavernam" in newcheck or "darkmire" in newcheck or "inferno" in newcheck or "petram" in newcheck or "nusero" in newcheck or "ossuary" in newcheck or "pulma" in newcheck or "mausoleum" in newcheck or "wilderness" in newcheck or "ocean" in newcheck or "shadowspire" in newcheck or "kraul" in newcheck or "time" in newcheck or "netherzone" in newcheck or "tidal" in newcheck1297                                @ignore IDitem1298                                overhead "*strong magic*" 2091 IDitem1299                            elseif "KeepFortification" = 1 and "fortification" in newcheck1300                                @ignore IDitem1301                                overhead "*strong magic*" 2091 IDitem    1302                            else1303                                overhead "*trash*" 1779 IDitem1304                                while not gumpexists 9490951011305                                    while queued1306                                        //donothing1307                                    endwhile1308                                    dclick breakdowntool1309                                    waitforgump 949095101 10001310                                endwhile1311                                while not ingump "Recycle Single Item" 9490951011312                                    gumpresponse 2 9490951011313                                    waitforgump 949095101 10001314                                endwhile                                1315                                gumpresponse 3 9490951011316                                waitforgump 949095101 10001317                                target IDitem1318                                getlabel backpack ping1319                                pause 2501320                                if ingump "That cannot be recycled"1321                                    drop backpack1322                                    lift IDitem1323                                    drop 01324                                    while queued1325                                        //donothing1326                                    endwhile1327                                endif1328                                gumpclose 9490951011329                            endif1330                        endif1331                        if insysmsg "That wand is now out of charges"1332                            getlabel backpack ping1333                            if findtype 20496 backpack as IDwand1334                                createtimer activaterecycle1335                                break1336                            else 1337                                overhead "ID Wands depleted!" 381338                                break1339                            endif1340                        endif1341                        if not findtype 20496 backpack1342                            overhead "ID Wands depleted!" 381343                            break1344                        endif1345                    endwhile1346                    if gumpexists 9490951011347                        gumpclose 9490951011348                    endif1349                else1350                    overhead "I could use a Regular ID wand.." 451351                endif1352                if targetexists 1353                    hotkey "Cancel Current Target"1354                endif1355            endif1356            if varexist "bwiz" and find "bwiz" backpack and find "bmain" self and skill "Stealth" >= 801357                if not targetexists and not casting and hidden and stam = maxstam1358                    while queued1359                        //donothing1360                    endwhile1361                    dclick "bwiz"1362                    while queued1363                        //donothing1364                    endwhile1365                    pause 301366                    dclick "bmain"1367                    pause 5001368                    getlabel backpack ping1369                endif1370                if not targetexists and not casting and not findlayer self head and find "bmain" self1371                    while queued1372                        //donothing1373                    endwhile1374                    dclick "bmain"1375                    pause 5001376                    getlabel backpack ping1377                endif1378            endif1379            if varexist "bwiz" and find "bmain" self and skill "Stealth" >= 801380                if not targetexists and not casting and not find "bwiz" backpack1381                    while queued1382                        //donothing1383                    endwhile1384                    dclick "bmain"1385                    pause 5001386                    getlabel backpack ping1387                endif1388            endif1389        endwhile1390        if casting 1391            while casting 1392                //donothing1393            endwhile1394            pause 3301395        endif1396        dclick bchest1397        waitforgump 736038070 10001398    endif1399    if not casting and gumpexists 736038070 and ingump "Cleared Of Traps" 7360380701400        while gumpexists 7360380701401            if casting 1402                while casting 1403                    //donothing1404                endwhile1405                pause 3301406            endif1407            dclick bchest1408            gumpresponse 4 7360380701409            waitforgump 736038070 10001410            if insysmsg "You attempt to pick the lock"1411                clearsysmsg1412                break1413            endif1414            if insysmsg "It appears to be unlocked"1415                clearsysmsg1416                break1417            endif1418            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not hidden and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801419                skill "Hiding"1420                getlabel backpack ping1421                if hidden1422                    getlabel backpack ping1423                    cooldown "Hiding" 100001424                endif1425            endif1426        endwhile1427        if not hidden1428            if followers >= 11429                if find "bsummon1"1430                    menu bsummon1 21431                    wft 10001432                    target self1433                    getlabel backpack ping1434                    if find "bsummon2"1435                        menu bsummon2 21436                        wft 10001437                        target self  1438                    endif1439                elseif find "bsummon2"1440                    menu bsummon2 21441                    wft 10001442                    target self1443                    getlabel backpack ping1444                    if find "bsummon1"1445                        menu bsummon1 21446                        wft 10001447                        target self  1448                    endif1449                endif1450            endif1451            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not warmode and not cooldown "Hiding" and not cooldown "Stealth" and skill "Hiding" >= 801452                warmode on1453                warmode off1454                skill "Hiding"1455                getlabel backpack ping1456                if hidden1457                    getlabel backpack ping1458                    cooldown "Hiding" 100001459                endif1460            endif1461        endif1462        overhead "*picking*" 1060 bchest1463        while not dead1464            if casting 1465                while casting 1466                    //donothing1467                endwhile1468                pause 3301469            endif1470            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and not hidden and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801471                warmode on1472                warmode off1473                skill "Hiding"1474                getlabel backpack ping1475                if hidden1476                    getlabel backpack ping1477                    cooldown "Hiding" 100001478                endif1479            endif1480            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and findbuff "Invisibility" and not cooldown "Hiding" and not cooldown "Stealth" and not cooldown "Stealing" and not warmode and skill "Hiding" >= 801481                skill "Hiding"1482                getlabel backpack ping1483                if hidden1484                    cooldown "Hiding" 101001485                    getlabel backpack ping1486                    removetimer onetimestealth1487                endif1488            endif1489            if "Auto Hide and Stealth" = 1 and not warmode and hidden and not cooldown "Hiding" and not cooldown "Stealth" and not timerexists onetimestealth and skill "Stealth" >= 801490                skill "Stealth"1491                getlabel backpack ping1492                if not timerexists onetimestealth1493                    createtimer onetimestealth1494                endif1495            endif1496            if insysmsg "move quietly"1497                getlabel backpack ping1498                cooldown "Stealth" 101001499            endif1500            if "Auto Hide and Stealth" = 1 and not cooldown "Move" and hidden and not cooldown "Hiding" and not cooldown "Stealth" and insysmsg "hide first" and skill "Hiding" >= 801501                pause 10001502                getlabel backpack ping1503                skill "Hiding"1504                getlabel backpack ping1505                if hidden1506                    getlabel backpack ping1507                    cooldown "Hiding" 101001508                endif1509                removetimer onetimestealth1510            endif1511            if insysmsg "You successfully pick the lock"1512                overhead "*pop*" 2091 bchest1513                overhead "The treasure is mine!" 20911514                createtimer OTunlockedchest1515                break1516            endif1517            if not findtype "wooden chest|metal chest" ground -1 -1 21518                removetimer activaterecycle1519                gumpclose 7360380701520                break1521            endif1522            if insysmsg "You make some progress on the lock"1523                overhead "*click*" 810 bchest1524            endif1525            if insysmsg "You have worn out your tool"1526                overhead "This tool is worn out!" 8051527                while gumpexists 7360380701528                    gumpresponse 4 7360380701529                    waitforgump 736038070 10001530                    if insysmsg "You attempt to pick the lock"1531                        clearsysmsg1532                        break1533                    endif1534                    if insysmsg "It appears to be unlocked"1535                        clearsysmsg1536                        break1537                    endif1538                endwhile1539            endif1540            if varexist "bwiz" and find "bwiz" backpack and find "bmain" self and skill "Stealth" >= 80 and not find "nonaspectedwiz" backpack 1541                if not targetexists and not casting and hidden and stam = maxstam1542                    while queued1543                        //donothing1544                    endwhile1545                    dclick "bwiz"1546                    while queued1547                        //donothing1548                    endwhile1549                    pause 301550                    dclick "bmain"1551                    pause 5001552                    getlabel backpack ping1553                endif1554                if not targetexists and not casting and not findlayer self head and find "bmain" self1555                    while queued1556                        //donothing1557                    endwhile1558                    dclick "bmain"1559                    pause 5001560                    getlabel backpack ping1561                endif1562            endif1563            if varexist "bwiz" and find "bmain" self and skill "Stealth" >= 801564                if not targetexists and not casting and not find "bwiz" backpack1565                    while queued1566                        //donothing1567                    endwhile1568                    dclick "bmain"1569                    pause 5001570                    getlabel backpack ping1571                endif1572            endif1573            if insysmsg "You have been revealed!" 1574                say "[Anger"1575            endif1576            if insysmsg "Another player"1577                gumpclose 7360380701578                if casting 1579                    while casting 1580                        //donothing1581                    endwhile1582                    pause 3301583                endif1584                dclick bchest1585                waitforgump 736038070 10001586                gumpresponse 4 7360380701587                waitforgump 736038070 10001588            endif1589        endwhile1590    endif1591endif1592if gumpexists 9490951011593    gumpclose 9490951011594endif1595if timerexists OTunlockedchest and not findtype "wooden chest|metal chest" ground -1 -1 21596    removetimer OTunlockedchest1597    for 101598        if findtype "quiver" self as bapquiver1599            getlabel bapquiver desc1600            if "blessed" in desc1601                @ignore bapquiver1602            else 1603                break1604            endif1605        endif1606    endfor1607    if findtype "quiver" self as bapquiver1608        if findtype 7163|3903 self as bapammo1609            menu bapquiver 01610        endif1611    endif1612    for 101613        if findtype "reagent satchel" self as bapregsatch1614            getlabel bapregsatch desc1615            if "blessed" in desc1616                @ignore bapregsatch1617            else 1618                break1619            endif1620        endif1621    endfor1622    if findtype "reagent satchel" self as bapregsatch1623        menu bapregsatch 01624    endif1625endif1626// End of Main Lockpicker Loop Routine1627 1628// Chest Sense Overhead Routine1629if not timerexists chestsensetimer1630    createtimer chestsensetimer1631    settimer chestsensetimer 2001632endif1633if timer chestsensetimer >= 01634    if not gumpexists 736038070 and skill "Lockpicking" >= 50 1635        for 191636            if timerexists lootvacuumswitch1637                if findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|broken shield|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|shattered weapon|bird cage|widows grief|54684|27612|49223|54591|54601|54718|7408|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|3901|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|2594|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|7127|4225|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|7154|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 21638                    break1639                endif1640                if diffweight >= 8 and findtype "3821" ground -1 -1 21641                    break1642                endif1643            endif1644            if skill "Stealth" >= 80 and hidden and stam = maxstam and varexist "bwiz" and find "bwiz" backpack and find "bmain" self1645                break1646            endif1647            if index > 0 and findtype "wooden chest|metal chest" ground -1 -1 index as chest1648                getlabel chest desc1649                if "lock" in desc1650                    overhead desc 2085 chest1651                    break1652                else 1653                    overhead desc 1779 chest1654                    @ignore chest1655                endif1656            endif1657        endfor1658        @clearignore1659    endif1660    settimer chestsensetimer 01661endif1662// End of Chest Sense Overhead Routine1663 1664// Stealth Wizard Hat Routine (Tunes for chest picking) Routine1665if not findtype "wooden chest|metal chest" ground -1 -1 21666    removetimer activaterecycle1667    gumpclose 7360380701668    if varexist "bwiz" and find "bwiz" backpack and find "bmain" self and skill "Stealth" >= 801669        if not targetexists and not casting and hidden and stam = maxstam1670            while queued1671                //donothing1672            endwhile1673            dclick "bwiz"1674            while queued1675                //donothing1676            endwhile1677            pause 301678            dclick "bmain"1679            pause 5001680            getlabel backpack ping1681        endif1682        if not targetexists and not casting and not findlayer self head and find "bmain" self1683            while queued1684                //donothing1685            endwhile1686            dclick "bmain"1687            pause 5001688            getlabel backpack ping1689        endif1690    endif1691    if varexist "bwiz" and find "bmain" self and skill "Stealth" >= 801692        if not targetexists and not casting and not find "bwiz" backpack1693            while queued1694                //donothing1695            endwhile1696            dclick "bmain"1697            pause 5001698            getlabel backpack ping1699        endif1700    endif1701endif1702// End of Stealth Wizard Hat Routine (Tunes for chest picking) Routine1703 1704// Auto Dump Overweight Gold Routine1705if "AutoDumpGold" = 11706    while diffweight <= 0 and findtype "gold coin" backpack as dropgold1707        if not hidden and stam <= 4 and findtype "Red Potion" self as redpot1708            while queued1709                //donothing1710            endwhile1711            dclick redpot1712            pause 5001713            getlabel backpack ping1714        endif1715        overhead "My cup runneth over..." 11941716        drop backpack1717        lift dropgold 4441718        drop 01719        while queued1720            //donothing1721        endwhile1722    endwhile1723endif1724// End of Auto Dump Overweight Gold Routine1725 1726// Loot Vacuum Routine1727if not timerexists lootvacuumswitch1728    if gumpexists 12816237091729        gumpclose 12816237091730        createtimer lootvacuumswitch1731        overhead "--Loot Vacuum Enabled--" 20851732    endif1733endif1734if timerexists lootvacuumswitch1735    if gumpexists 12816237091736        gumpclose 12816237091737        removetimer lootvacuumswitch1738        overhead "--Loot Vacuum Disabled--" 17791739    endif1740endif1741if timerexists lootvacuumswitch1742    if not timerexists lootsensetimer1743        createtimer lootsensetimer1744        settimer lootsensetimer 10001745    endif1746    if not findtype 4239|4240 ground -1 -1 2 and timer lootsensetimer >= 10001747        while findtype 3827 ground 0 as zeroscroll1748            @ignore zeroscroll1749        endwhile1750        while findtype 4225 ground 0 as zeroleather1751            @ignore zeroleather1752        endwhile1753        while findtype 7127 ground 0 as zeroboard1754            @ignore zeroboard1755        endwhile1756        for 191757            if skill "Lockpicking" >= 50 and findtype "wooden chest|metal chest" ground -1 -1 21758                break  1759            endif1760            if findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|broken shield|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|shattered weapon|bird cage|widows grief|54684|27612|49223|54591|54601|54718|7408|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|3901|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|2594|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|7127|4225|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|7154|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 21761                break1762            endif1763            if skill "Stealth" >= 80 and hidden and stam = maxstam and varexist "bwiz" and find "bwiz" backpack and find "bmain" self1764                break1765            endif1766            if diffweight >= 8 and findtype "3821" ground -1 -1 21767                break1768            endif1769            if "LootVacuumOverheads" = 11770                if index > 0 and findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|bird cage|widows grief|54684|27612|49223|54591|54601|54718|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|3901|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 index as lootlocation1771                    overhead "*loot*" 116 lootlocation1772                    @ignore lootlocation1773                endif1774                if diffweight >= 8 and index > 0 and findtype "3821" ground -1 -1 index as lootlocation1775                    overhead "*gold*" 2091 lootlocation1776                    @ignore lootlocation1777                endif1778            endif1779            if warmode and findtype 4239|4240 ground -1 -1 21780                break1781            endif1782        endfor1783        @clearignore 1784        settimer lootsensetimer 01785    endif1786    while findtype 3827 ground 0 as zeroscroll1787        @ignore zeroscroll1788    endwhile1789    while findtype 4225 ground 0 as zeroleather1790        @ignore zeroleather1791    endwhile1792    while findtype 7127 ground 0 as zeroboard1793        @ignore zeroboard1794    endwhile1795    while not casting and not targetexists and findtype "chain link|37477|29368|18660|20099|31303|31165|tribal ruins|electric ankh|54230|44985|glass display|20049|Pig Iron|blackrock fragment|gargish fragment|11753|18705|55247|49482|53694|54570|53696|53876|50612|55420|53280|53473|54831|50278|49528|bottle set|entrail bucket|mounted stalaghorn|sea glass bulb|juggling daggers|st patricks cross|divination orb|mirror display|murder of crows|charmed cobra|prodigy fiddle|wilting rose belljar|scale of balance|screaming mandrake|statue of the siren|the final hour|55204|specimen jars|bird cage|widows grief|54684|27612|49223|54591|54601|54718|19948|58325|19959|19822|49730|49729|19944|19949|47613|47612|47611|47610|47611|3986|3966|cathedral tapestry|Darkscale tapestry|large painting|landscape painting|portrait painting|figurine|statue|20291|44987|49730|47107|18653|45127|20103|47103|29363|47105|29361|43453|5899|3901|47109|45250|41509|43447|18657|4025|51308|45156|51304|45214|28769|28799|28803|28765|45211|45248|51259|45220|51328|45218|3842|51327|45222|45241|51336|11858|51375|45282|54722|45255|45246|28795|44983|45235|45251|45238|51258|51314|28761|45236|51260|54718|18400|58325|45252|18656|47111|3839|45239|45242|45254|45281|45247|42241|45216|28775|51321|3838|51318|5901|5905|45259|5903|48407|51302|4248|27611|15296|43166|5359|5981|4026|3985|25359|17686|3836|17087|5356|29030|24434|22336|29036|3843|29025|51098|29034|8826|51094|576|3827|22326|45315|3891|2539|39898|39896|39892|39918|39911|39916|39897|39905|39891|39917|39912|39909|39889|31047|31017|31049|31019|31055|31051|31053|31025|31027|31031|31041|54717|31021|31011|31023|31029|31043|31003|31035|31033|31045|31037|31002|20006|31169|31006|30999|31012|31009|30996|7109|7107|31128|31188|20014|31014|31004|31142|31001|31000|37181|31010|30998|31172|30988|30997|31038|31141|20008|31005|31191|31008|31007|30994|30993|31182|30989|20012|31186|31178|31015|30991|20010|20016|31184|31190|30990|30995|31176|31180|30992|31130|5207|7031|7026|7034|7033|7027|7035|7029|5078|5063|5059|5105|5060|5138|5129|5201|5142|5143|5076|5106|7610|5139|5090|5103|5132|7177|5061|7181|7179|3920|5042|5127|5117|5185|5125|3938|5177|3937|5044|5121|3915|3909|3568|3932|5123|5144|5119|5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5135|5187|5074|5089|3934|3913|3917|3721|5075|5046|5049|7170|5146|5205|5203|5115|5204|5040|5179|5070|5182|5085|5181|3719|7173|5131|3911|5101|7175|7169|3713|5112|22187|9917|3859|3862|3878|3865|3856|3873|3877|3834|3742|3762|3740|3763|10245|3572|3573|3571|3885|12686|19985|19981|19984|19982|19983|19991|19989|19986|19987|19988|19994|19995|19992|19993|19990|19980|19977|19976|19978|19979|43423|7154|4225|7127|3861|24343" ground -1 -1 2 as eatloot1796        hotkey 'Grab Item' 1797        target eatloot1798        if insysmsg "Invalid or inaccessible item."1799            @ignore eatloot1800        endif            1801        while queued1802            //donothing1803        endwhile 1804    endwhile1805    while not casting and not targetexists and diffweight >= 8 and findtype 3821 ground -1 -1 2 as goldcoinz1806        hotkey 'Grab Item' 1807        target goldcoinz1808        while queued1809            //donothing1810        endwhile 1811    endwhile1812endif1813// End of Loot Vacuum Routine1814 1815// Auto Skinner Routine1816if not timerexists skinnerswitch1817    if gumpexists 25718325151818        gumpclose 25718325151819        hotkey "Cancel Current Target"1820        createtimer skinnerswitch1821        overhead "--Skinner Mode Enabled--" 20851822    endif1823endif1824if timerexists skinnerswitch1825    if gumpexists 25718325151826        gumpclose 25718325151827        hotkey "Cancel Current Target"1828        removetimer skinnerswitch1829        overhead "--Skinner Mode Disabled--" 17791830    endif1831endif1832if not targetexists and not paralyzed and not hidden and not casting and findtype "11552" backpack1833    if not warmode and timerexists skinnerswitch1834        if not find "bknife" backpack and findtype "11552" backpack as newknife1835            @setvar! "bknife" newknife1836        endif1837        while findtype "corpse" ground -1 -1 2 as bcorpse1838            getlabel bcorpse desc1839            if "the remains of" in desc1840                overhead "avatar corpse" 45 bcorpse1841                @ignore bcorpse1842            else 1843                while queued1844                    //do nothing1845                endwhile1846                dclick "bknife"1847                wft 5001848                target bcorpse1849                getlabel backpack ping1850                pause 5001851                if insysmsg "You carve materials from the corpse"1852                    overhead "*fresh cut*" 2085 bcorpse1853                    @ignore bcorpse1854                elseif insysmsg "That corpse has already been carved"1855                    overhead "*carved*" 1779 bcorpse1856                    @ignore bcorpse1857                endif1858            endif1859            if casting 1860                while casting 1861                    //donothing1862                endwhile1863                pause 3301864                break1865            endif1866            if paralyzed 1867                break1868            endif1869            if targetexists 1870                break1871            endif1872        endwhile1873        if not timerexists corpsetimer1874            createtimer corpsetimer1875            settimer corpsetimer 20001876        endif1877        if timer corpsetimer >= 20001878            for 191879                if skill "Stealth" >= 80 and hidden and stam = maxstam and varexist "bwiz" and find "bwiz" backpack and find "bmain" self1880                    break1881                endif1882                if index > 0 and findtype "corpse" ground -1 -1 index as corpselocation1883                    overhead "*corpse*" 76 corpselocation1884                    @ignore corpselocation1885                endif1886            endfor1887            @clearignore 1888            settimer corpsetimer 01889        endif1890    endif1891endif1892// End of Auto Skinner Routine1893 1894// Item Recycler Routine (Tuned for Regular ID wand)1895if gumpexists 3527489586 and findtype "3997|4148|4032|7864" backpack as breakdowntool1896    gumpclose 35274895861897    if findtype 20496 backpack as IDwand1898        @clearignore 1899        while findtype 3834 backpack 0 as bbook1900            @ignore bbook1901        endwhile1902        while findtype "5056|dual wield tracker knife|duel wield katana|dual wield norse axe|dual wield rapier|dual wield sabre|dual wield scimitar|chakram|francisca|hurlbat|javelin|throwing knife|throwing star|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3834|3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130|3920|5042|5117|30990|30993|30994|30995|31184|31186|3719|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190|22187|31141|31142|31169|31172" backpack as IDitem1903            clearsysmsg1904            getlabel IDitem newcheck1905            if "unidentified" in newcheck1906                while queued1907                    //donothing1908                endwhile1909                if casting 1910                    while casting 1911                        //donothing1912                    endwhile1913                    pause 3301914                endif1915                dclick IDwand1916                wft 10001917                target IDitem1918                waitforsysmsg "You identify the item." 10001919                getlabel IDitem desc1920                if "unidentified" in desc or "activated" in desc or "blessed" in desc or "aspect" in desc or "training" in desc or "vanquishing" in desc or "supremely" in desc or "invulnerability" in desc or "power" in desc or "exceedingly accurate force" in desc or "valorite" in desc or "valehide" in desc or "valewood" in desc or "avarite" in desc or "avarhide" in desc or "avarwood" in desc or "verite" in desc or "verehide" in desc or "verewood" in desc or "agapite" in desc or "rosehide" in desc or "rosewood" in desc or "greater beastial" in desc or "greater construct" in desc or "greater daemonic" in desc or "greater elemental" in desc or "greater humanoid" in desc or "greater monstrous" in desc or "greater nature" in desc or "greater undead" in desc or "aegis" in desc or "cavernam" in desc or "darkmire" in desc or "inferno" in desc or "petram" in desc or "nusero" in desc or "ossuary" in desc or "pulma" in desc or "mausoleum" in desc or "wilderness" in desc or "ocean" in desc or "shadowspire" in desc or "kraul" in desc or "time" in desc or "netherzone" in desc or "tidal" in desc1921                    @ignore IDitem1922                    overhead "*strong magic*" 2091 IDitem1923                elseif "KeepFortification" = 1 and "fortification" in desc1924                    @ignore IDitem1925                    overhead "*strong magic*" 2091 IDitem    1926                else1927                    overhead "*trash*" 1779 IDitem1928                    while not gumpexists 9490951011929                        while queued1930                            //donothing1931                        endwhile1932                        dclick breakdowntool1933                        waitforgump 949095101 10001934                    endwhile1935                    while not ingump "Recycle Single Item" 9490951011936                        gumpresponse 2 9490951011937                        waitforgump 949095101 10001938                    endwhile                                1939                    gumpresponse 3 9490951011940                    waitforgump 949095101 10001941                    target IDitem1942                    getlabel backpack ping1943                    pause 2501944                    if ingump "That cannot be recycled"1945                        drop backpack1946                        lift IDitem1947                        drop 01948                        while queued1949                            //donothing1950                        endwhile1951                    endif1952                    gumpclose 9490951011953                endif1954            else1955                if "unidentified" in newcheck or "activated" in newcheck or "blessed" in newcheck or "aspect" in newcheck or "training" in newcheck or "vanquishing" in newcheck or "supremely" in newcheck or "invulnerability" in newcheck or "power" in newcheck or "exceedingly accurate force" in newcheck or "valorite" in newcheck or "valehide" in newcheck or "valewood" in newcheck or "avarite" in newcheck or "avarhide" in newcheck or "avarwood" in newcheck or "verite" in newcheck or "verehide" in newcheck or "verewood" in newcheck or "agapite" in newcheck or "rosehide" in newcheck or "rosewood" in newcheck or "greater beastial" in newcheck or "greater construct" in newcheck or "greater daemonic" in newcheck or "greater elemental" in newcheck or "greater humanoid" in newcheck or "greater monstrous" in newcheck or "greater nature" in newcheck or "greater undead" in newcheck or "aegis" in newcheck or "cavernam" in newcheck or "darkmire" in newcheck or "inferno" in newcheck or "petram" in newcheck or "nusero" in newcheck or "ossuary" in newcheck or "pulma" in newcheck or "mausoleum" in newcheck or "wilderness" in newcheck or "ocean" in newcheck or "shadowspire" in newcheck or "kraul" in newcheck or "time" in newcheck or "netherzone" in newcheck or "tidal" in newcheck1956                    @ignore IDitem1957                    overhead "*strong magic*" 2091 IDitem1958                elseif "KeepFortification" = 1 and "fortification" in newcheck1959                    @ignore IDitem1960                    overhead "*strong magic*" 2091 IDitem    1961                else1962                    overhead "*trash*" 1779 IDitem1963                    while not gumpexists 9490951011964                        while queued1965                            //donothing1966                        endwhile1967                        dclick breakdowntool1968                        waitforgump 949095101 10001969                    endwhile1970                    while not ingump "Recycle Single Item" 9490951011971                        gumpresponse 2 9490951011972                        waitforgump 949095101 10001973                    endwhile                                1974                    gumpresponse 3 9490951011975                    waitforgump 949095101 10001976                    target IDitem1977                    getlabel backpack ping1978                    pause 2501979                    if ingump "That cannot be recycled"1980                        drop backpack1981                        lift IDitem1982                        drop 01983                        while queued1984                            //donothing1985                        endwhile1986                    endif1987                    gumpclose 9490951011988                endif1989            endif1990            if insysmsg "That wand is now out of charges"1991                getlabel backpack ping1992                if findtype 20496 backpack as IDwand1993                    say "[Party"1994                    break1995                else 1996                    overhead "ID Wands depleted!" 381997                    break1998                endif1999            endif2000            if not findtype 20496 backpack2001                overhead "ID Wands depleted!" 382002                break2003            endif2004        endwhile2005        if gumpexists 9490951012006            gumpclose 9490951012007        endif2008    else2009        overhead "I could use a Regular ID wand.." 452010    endif2011    if targetexists 2012        hotkey "Cancel Current Target"2013    endif2014endif2015// End of Item Recycler Routine (Tuned for Regular ID wand)2016loop