Skip to content
Outlands Hub

Razor script

Bapeths Trapper Background

by barryroser · 1907 lines
Download

"Bapeths Trapper Background" June 4th 2026 - Edited out some defunct instructions "What it does" Placed Trap Overhead indicator (shows your trap + info about it) Auto Bandage Auto Cure Use Cleansing Brew (activate by going into warmode…

Healing
Bapeths Trapper Background.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ac637102-a701-4680-a780-faf3efb5c274 for latest2# Automation by Jaseowns3## Script: Bapeths Trapper Background4## Created by: barryroser#05#############################################6 7# "Bapeths Trapper Background"8# June 4th 2026 - Edited out some defunct instructions9#10###########################################################################################################################################################################11#12# "What it does"13#14# Placed Trap Overhead indicator (shows your trap + info about it)15# Auto Bandage16# Auto Cure17# Use Cleansing Brew (activate by going into warmode while bleeding/diseased)18# Auto Drink str/resist/agi or Warn when needed (See setting below)19# Warn when reflect/reactive are needed20# Auto pouch when paralyzed 21# Auto str pot when weakened22# Auto re-equip after disarmed23# Aspect Checker (Armor)24# Shield Codex - Auto Warding (See settings below for default stance)25# For dex builds - auto attack / use weapon ability26# Note on Dex Builds : "BOOM BOOM" hotkey script required to activate / auto attack / auto weapon ability27# Wizard hat stealth trick (stamina) if you are a stealth trapper28# Auto Peace + Discord when in "Peacemode" on "Manual Override" targets (Auto Barding only works on what you select as the "Manual Override")29# Auto Provo --> Mobs will auto provo when in "Warmode" (Use "Manual Override" to provo all mobs onto what you select as "Manual Override")30# Auto Bard Songs31 32# Bapeths "Manual Override" script can be found here :33# https://outlands.uorazorscripts.com/script/80d24cbc-c121-484d-af2f-8fe45c765a2b34#35# Bapeths "BOOM BOOM" (one button trap placer/detonator/remover) script can be found here :36# https://outlands.uorazorscripts.com/script/2d2e974e-e0b8-44f3-bb2c-1971862c237037#38##########################################################################################################################################################################39#40# "REQUIRED COOLDOWNS": <---------- "Important information!"41# Cooldowns can be found in the in-game options menu42# If you would like to by-pass manual input of these cooldowns you can use "Bapeths Total Cooldown" XML file found here :43# https://outlands.uorazorscripts.com/script/2138a7dc-785e-4d49-a465-e7c922d533ac44#45##########################################################################################################################################################################46# "All users" should have a "Trap" cooldown47#48# "Trap"49# Type: Regular50# Trigger: Sys Message51# Trigger Text: You detonate a ground trap.52# -------------- Cooldown: YOUR TRAP COOLDOWN BASED ON GADGET AND DETECT HIDDEN53# Trigger: Overhead Message54# Trigger Text: *killswitch triggered*55# -------------- Cooldown : 056#57##########################################################################################################################################################################58# "Required Cooldowns for Dexxer Trappers"59#60# "Move"61# Type: Walk62# Trigger: N/A63# Trigger Text: N/A64# -------------- Cooldown: 0.365#    66# "Bandage" No data needed67# Type: N/A68# Trigger: N/A69# Trigger Text: N/A70# -------------- Cooldown: N/A71# Bandage cooldown in script assumes you have max points in "Self Treatment" (Healers Codex) and 100 dex72##########################################################################################################################################################################73# "Required Cooldowns for Bard Trappers"74#75# To skip the tedious setup of creating all of these Barding Cooldowns please see my Barding XML file here:76# https://outlands.uorazorscripts.com/script/580d1b27-df55-40cb-a260-bc0a097616a177#78# "Barding Reset"79# Type: Regular80# Trigger: Overhead Message81# Trigger Text: Your barding skill cooldowns reset82# -------------- Cooldown: 0.583#84# "Discordance"85# Type: Regular86# Trigger: Sys Message87# Trigger Text: You play successfully, disrupting your opponent and weakening88# -------------- Cooldown: 589# Trigger: Overhead Message90# Trigger Text: Your barding skill cooldowns reset91# -------------- Cooldown: 092# Trigger: Sys Message93# Trigger Text: You play successfully, briefly discording94# -------------- Cooldown: 595# Trigger: Sys Message96# Trigger Text: You play successfully, pacifying your target.97# -------------- Cooldown: 598# Trigger: Sys Message99# Trigger Text: You play successfully, provoking100# -------------- Cooldown: 5101# Trigger: Sys Message102# Trigger Text: You play successfully, briefly pacifying one or more103# -------------- Cooldown: 5104# Trigger: Sys Message105# Trigger Text: You fail to discord106# -------------- Cooldown: 5107#108# "Peacemaking"109# Type: Regular110# Trigger: Sys Message111# Trigger Text: You play successfully, briefly pacifying one or more nearby creatures.112# -------------- Cooldown: 11113# Trigger: Sys Message114# Trigger Text: You play successfully, pacifying your target.115# -------------- Cooldown: 11116# Trigger: Overhead Message117# Trigger Text: Your barding skill cooldowns reset118# -------------- Cooldown: 0119# Trigger: Sys Message120# Trigger Text: You fail to pacify any nearby creatures.121# -------------- Cooldown: 5122# Trigger: Sys Message123# Trigger Text: You fail to pacify your opponent.124# -------------- Cooldown: 5125#126# "Provocation"127# Type: Regular128# Trigger: Sys Message129# Trigger Text: You play successfully, provoking130# -------------- Cooldown: 11131# Trigger: Overhead Message132# Trigger Text: Your barding skill cooldowns reset133# -------------- Cooldown: 0134# Trigger: Sys Message135# Trigger Text: fail to incite136# -------------- Cooldown: 5137#138# "Song of Discord"139# Type: Regular140# Trigger: Sys Message141# Trigger Text: You are now under the effect of a Song of Discordance142# -------------- Cooldown: 11143# Trigger: Overhead Message144# Trigger Text: Your barding skill cooldowns reset145# -------------- Cooldown: 0146#147# "Song of Peacemaking"148# Type: Regular149# Trigger: Sys Message150# Trigger Text: You are now under the effect of a Song of Peacemaking151# -------------- Cooldown: 11152# Trigger: Overhead Message153# Trigger Text: Your barding skill cooldowns reset154# -------------- Cooldown: 0155#156# "Song of Provocation"157# Type: Regular158# Trigger: Sys Message159# Trigger Text: You are now under the effect of a Song of Provocation160# -------------- Cooldown: 11161# Trigger: Overhead Message162# Trigger Text: Your barding skill cooldowns reset163# -------------- Cooldown: 0164#165##########################################################################################################################################################################166#167# "SCRIPT SETTINGS"168#169# Set your "Weapon Ability" to auto use it while in combat (for dex builds that have tactics)170# One of these must always be set to 1, leave the others as a 0171#172# WEAPON ABILITY173@setvar! "BapWeaponAbility-1" 1174@setvar! "BapWeaponAbility-2" 0175@setvar! "BapWeaponAbility-3" 0176#177##########################################################################################################################################################################178#179# To enable "Auto-Drink Buff Pots" set the below setting to 1180# The script will drink Strength, Agility, and Magic Resist if it doesnt detect a buff181#182# AUTO BUFF POTS183@setvar! "AutoBuffPots" 1184#185##########################################################################################################################################################################186#187# To set "Gold Drop Amount" set one of the below settings to 1188# It will drop either a small amount (444), a medium amount (2222), or a large amount (3444)189#190# GOLD DROPPER191@setvar! "Drop444" 1192@setvar! "Drop2222" 0193@setvar! "Drop3444" 0194#195##########################################################################################################################################################################196#197# For Parry Codex Users "Set your Default Stance"198# Because the script uses an auto-warding routine you can set the following stance to default when not bleeding/diseased199# Select which stance you wish to defualt to with a 1, leave the rest at 0200#201# DEFAULT PARRY STANCE202@setvar! "DefaultShieldBash" 0203@setvar! "DefaultTestudo" 1204@setvar! "DefaultMirror" 0205@setvar! "DefaultBulwark" 0206#207##########################################################################################################################################################################208#209# "Auto Recycle"210#211# Change the recycler to keep/discard Fortification armor212# (0 = off 1 = on) 213#214# KEEP FORTIFICATION215@setvar! "KeepFortification" 1216#217##############################################################################################################################################################################################################218#219# "Auto Equip Hands"220#221# The script will record what is in your hands and equip recorded items if they are detected in your backpack222#223# AUTO EQUIP AFTER DISARM224@setvar! "DisarmEquip" 1225#226##############################################################################################################################################################################################################227#228# "Auto TriBard Routines"229#230# "Auto Peace Phase" ---> User must be in Peace Mode231# "Auto Provo Phase" ---> User must be in War Mode232#233# The script has two phases for Peace Mode - One phase for Peace first then Discordance, and another phase for Discordance first then Peace234# The "Manual Override" script must be used to set your barding target for Peacemode235# The "Manual Override" script is OPTIONAL when in warmode - if used it will hard target what you provoke (Warning this may cause a short error in which the mob you select is provoed onto itself)236# To switch between the Peace Mode phases, open the "Atlas" while the script is playing - Default phase is always Peace First237# Type "[Atlas" in game to spawn a free weightless Atlas in your bag238# Hotkey "Grants the player an Atlas" in razor hotkey tab if you dont want to doubleclick it239# The script will also use all three Barding Songs when needed240# (0 = off 1 = on) 241#242@setvar! "TriBard Routines" 1243#244#############################################################################################################################################################################################################245# 246# "Auto Switch Flipper"247# This is for green wall switches in "Time Dungeon" - Requires "Time Codex" Open this while the script is palying to swtich the setting on/off248# Go into warmode when standing near a wall switch and the script will flip the switch and return to peacemode249#250# "Auto-Recycler"251# This feature will auto recycle bad items and keep the good ones - To use this feature:252# You must be carrying at least one "container identification wand" and at least one "recycler tool" type (Tinker Tools, Sewing Kit, Saw, or Scribes Pen)253# Open the party menu while the script is playing to activate the routine254#255# "Loot-Sense & Vacuum Mode"256# This function will overhead display *loot* above items on the ground and pick them up as you pass by (2 tiles)257# Be aware that this may make you overweight from large gold piles from time to time258# To toggle this feature on/off (default is off) "Double click a Wizard Grimoire"259#260# "Gold Sacker"261# Gold Sacker - Open a "Checkbook" while the script is playing to set a bag (on the ground) to designate as a gold drop bag262# This feature will set a ground bag to drop gold into263# Check out another script by Bapeth called "Bapeths Object Drag & Dropper" found here : https://outlands.uorazorscripts.com/script/619a6bcc-bf10-4c8c-a645-282c94f6fa99264#265# Script starts here...266 267#if cooldown "PvP"268#    script "BapPvPBackground"269#endif270 271if casting 272    while casting 273        //donothing274    endwhile275    pause 330276endif277 278// Context Menu Get Varible Routine279if not find "FirstSummon" ground and findtype "Bapith" ground as bapsummon 280    @setvar! "FirstSummon" bapsummon281endif282if not find "SecondSummon" ground and findtype "Bapath" ground as bapsummon 283    @setvar! "SecondSummon" bapsummon284endif285if not find "ThirdSummon" ground and findtype "Baphet" ground as bapsummon 286    @setvar! "ThirdSummon" bapsummon287endif288if not find "FourthSummon" ground and findtype "Bapesh" ground as bapsummon 289    @setvar! "FourthSummon" bapsummon290endif291if not find "FifthSummon" ground and findtype "Bapet" ground as bapsummon 292    @setvar! "FifthSummon" bapsummon293endif294if not find "SixthSummon" ground and findtype "Bapat" ground as bapsummon 295    @setvar! "SixthSummon" bapsummon296endif297if not find "SeventhSummon" ground and findtype "Bapit" ground as bapsummon 298    @setvar! "SeventhSummon" bapsummon299endif300// Endof Context Menu Get Varible Routine301 302if insysmsg "Killswitch triggered."303    overhead "**********" 38304    overhead "KILLSWITCH" 38305    overhead "**********" 38306endif307if not timerexists invistab and findbuff "Invisibility"308    warmode on309    warmode off310    createtimer invistab311endif312if not timerexists invistab and findbuff "Hidden"313    warmode on314    warmode off315    createtimer invistab316endif317if timerexists invistab and not hidden318    removetimer invistab319endif320 321// Auto Attack + Weapon Ability Routine322if skill "Swordsmanship" >= 80 or skill "macefighting" >= 80 or skill "fishing" >= 80 or skill "fencing" >= 80 or skill "archery" >= 80 or skill "wrestling" >= 80 and not casting and not targetexists and not cooldown "Move"323    if not gumpexists 3954121934324        say '[abilityhotbar'325        waitforgump 3954121934 500326    endif327    if timerexists baptrapcombat328        if timer baptrapcombat <= 2000329            clearsysmsg 330            if not varexist "currentbaptarget"331                hotkey 'Target Closest Grey Monster'332                if insysmsg "No one matching"333                    //donothing334                else335                    @setvar! "currentbaptarget" lasttarget 336                endif337                hotkey "Cancel Current Target"338            elseif not find "currentbaptarget" ground -1 -1 8339                hotkey 'Target Closest Grey Monster'340                if insysmsg "No one matching"341                    //donothing342                else343                    @setvar! "currentbaptarget" lasttarget 344                endif345                hotkey "Cancel Current Target"346            elseif find "currentbaptarget" ground -1 -1 8347                if not timerexists bapweaponabilityuse348                    createtimer bapweaponabilityuse349                    settimer bapweaponabilityuse 31000350                elseif timer bapweaponabilityuse >= 31000351                    clearsysmsg352                    if "BapWeaponAbility-1" = 1353                        say "[WeaponAbility1"354                        getlabel backpack ping355                        if insysmsg "You cannot perform that ability yet"356                            //donothing357                        else 358                            settimer bapweaponabilityuse 0359                        endif360                    elseif "BapWeaponAbility-2" = 1361                        say "[WeaponAbility2"362                        getlabel backpack ping363                        if insysmsg "You cannot perform that ability yet"364                            //donothing365                        else 366                            settimer bapweaponabilityuse 0367                        endif368                    elseif "BapWeaponAbility-3" = 1369                        say "[WeaponAbility3"370                        getlabel backpack ping371                        if insysmsg "You cannot perform that ability yet"372                            //donothing373                        else 374                            settimer bapweaponabilityuse 0375                        endif376                    endif377                endif378                attack "currentbaptarget"379            endif380        endif381    endif382endif383// End of Auto Attack + Weapon Ability Routine384 385// Aspect checker routine386if not timerexists checkaspect387    createtimer checkaspect388    settimer checkaspect 60000389elseif timer checkaspect >= 60000 390    if findlayer self innertorso as aspectarm391        getlabel aspectarm desc392        if "aspect" in desc393            if "air" in desc394                overhead "<Air Active>" 2263395            elseif "arcane aspect" in desc396                overhead "<Arcane Active>" 1560397            elseif "artisan aspect" in desc398                overhead "<Artisan Active>" 2096399            elseif "blood aspect" in desc400                overhead "<Blood Active>" 2087401            elseif "command aspect" in desc402                overhead "<Command Active>" 1782403            elseif "death aspect" in desc404                overhead "<Death Active>" 2155405            elseif "discipline aspect" in desc406                overhead "<Discipline Active>" 2490407            elseif "earth aspect" in desc408                overhead "<Earth Active>" 2767409            elseif "eldritch aspect" in desc410                overhead "<Eldritch Active>" 2615411            elseif "fire aspect" in desc412                overhead "<Fire Active>" 2635413            elseif "fortune aspect" in desc414                overhead "<Fortune Active>" 2843415            elseif "frost aspect" in desc416                overhead "<Frost Active>" 2234417            elseif "gadget aspect" in desc418                overhead "<Gadget Active>" 2669419            elseif "harvest aspect" in desc420                overhead "<Harvest Active>" 2086421            elseif "holy aspect" in desc422                overhead "<Holy Active>" 2153423            elseif "lightning aspect" in desc424                overhead "<Lightning Active>" 2650425            elseif "lyric aspect" in desc426                overhead "<Lyric Active>" 2241427            elseif "madness aspect" in desc428                overhead "<Madness Active>" 1060429            elseif "poison aspect" in desc430                overhead "<Poison Active>" 2897431            elseif "shadow aspect" in desc432                overhead "<Shadow Active>" 1790433            elseif "void aspect" in desc434                overhead "<Void Active>" 2599435            elseif "water aspect" in desc436                overhead "<Water Active>" 1788437            elseif "war aspect" in desc438                overhead "<War Active>" 2503439            endif440        else 441            overhead "No aspect enabled" 45442        endif443    endif444    settimer checkaspect 0445endif446// End of aspect checker routine447 448// Auto Re-equip after disarm routine449if "DisarmEquip" = 1450    if not find "mylefthanditem" and findlayer self lefthand as bapleft451        @setvar! "mylefthanditem" bapleft452    endif453    if not find "myrighthanditem" and findlayer self righthand as bapright454        @setvar! "myrighthanditem" bapright455    endif456    if find "mylefthanditem" backpack and not casting and not targetexists and not findlayer self lefthand457        dclick "mylefthanditem"458        pause 500459        getlabel backpack ping460    endif461    if find "myrighthanditem" backpack and not casting and not targetexists and not findlayer self righthand462        dclick "myrighthanditem"463        pause 500464        getlabel backpack ping465    endif466endif467// End of Auto Re-equip after disarm routine468 469// Auto Shield Stance Routine470if skill "Parrying" >= 80471    if not timerexists checkshieldcodex472        createtimer checkshieldcodex473        settimer checkshieldcodex 13000474    elseif timer checkshieldcodex >= 13000475        settimer checkshieldcodex 0476        if findtype "shield codex" backpack as scodex477            getlabel scodex desc478        if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3479                if "DefaultShieldBash" = 1480                    if "Shield Bash" in desc481                        //donothing482                    elseif "Testudo" in desc483                        say "[ShieldsStance1"484                    elseif "Mirror" in desc485                        say "[ShieldsStance1"486                    elseif "Bulwark" in desc487                        say "[ShieldsStance1"488                    endif489                elseif "DefaultTestudo" = 1490                    if "Shield Bash" in desc491                        say "[ShieldsStance3"492                    elseif "Testudo" in desc493                        //donothing494                    elseif "Mirror" in desc495                        say "[ShieldsStance3"496                    elseif "Bulwark" in desc497                        say "[ShieldsStance3"498                    endif499                elseif "DefaultMirror" = 1500                    if "Shield Bash" in desc501                        say "[ShieldsStance4"502                    elseif "Testudo" in desc503                        say "[ShieldsStance4"504                    elseif "Mirror" in desc505                        //donothing506                    elseif "Bulwark" in desc507                        say "[ShieldsStance4"508                    endif509                elseif "DefaultBulwark" = 1510                     if "Shield Bash" in desc511                        say "[ShieldsStance5"512                    elseif "Testudo" in desc513                        say "[ShieldsStance5"514                    elseif "Mirror" in desc515                        say "[ShieldsStance5"516                    elseif "Bulwark" in desc517                        //donothing518                    endif519                endif  520            endif521            if "Shield Bash" in desc522                overhead "--Shield Bash Stance--" 2490523            elseif "Warding" in desc524                overhead "--Warding Stance--" 2087525                if not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3526                    if "DefaultShieldBash" = 1527                        say "[ShieldsStance1"528                    elseif "DefaultTestudo" = 1529                        say "[ShieldsStance3"530                    elseif "DefaultMirror" = 1531                        say "[ShieldsStance4"532                    elseif "DefaultBulwark" = 1533                        say "[ShieldsStance5"534                    endif535                    getlabel backpack ping536                    say "[ShieldsFinisher1" 45537                endif538            elseif "Testudo" in desc539                overhead "--Testudo Stance--" 2503540            elseif "Mirror" in desc541                overhead "--Mirror Stance--" 2615542            elseif "Bulwark" in desc543                overhead "--Bulwark Stance--" 2767544            else 545                if mana >= 3546                    if "DefaultShieldBash" = 1547                        say "[ShieldsStance1"548                    elseif "DefaultTestudo" = 1549                        say "[ShieldsStance3"550                    elseif "DefaultMirror" = 1551                        say "[ShieldsStance4"552                    elseif "DefaultBulwark" = 1553                        say "[ShieldsStance5"554                    endif555                endif556            endif557        endif558    endif559    if "DefaultBulwark" = 1 and not findbuff "Bleed" and not findbuff "Diseased"560        if not timerexists standstill561            createtimer standstill562        endif563        if cooldown "Move"564            createtimer OTBulwarkIndicator565            settimer standstill 0566        endif567        if timer standstill >= 3000568            if timerexists OTBulwarkIndicator569                overhead "Bulwark Fortified!" 88570                removetimer OTBulwarkIndicator571            endif572        endif573    endif574    if not timerexists bleedbuffcheck and findbuff "Bleed" and not findbuff "Diseased" and mana >= 3575        removetimer bullwarkactive576        createtimer bleedbuffcheck577        say "[ShieldsStance2" 45578        getlabel backpack ping579        say "[ShieldsFinisher2" 45580    elseif timerexists bleedbuffcheck and not findbuff "Bleed" and not findbuff "Diseased" and mana >= 3581        removetimer bleedbuffcheck582        pause 800583        getlabel backpack ping584        if "DefaultShieldBash" = 1585            say "[ShieldsStance1"586        elseif "DefaultTestudo" = 1587            say "[ShieldsStance3"588        elseif "DefaultMirror" = 1589            say "[ShieldsStance4"590        elseif "DefaultBulwark" = 1591            say "[ShieldsStance5"592        endif593        getlabel backpack ping594        say "[ShieldsFinisher1" 45595    endif596    if not timerexists diseasebuffcheck and findbuff "Diseased" and not findbuff "Bleed" and mana >= 3597        removetimer bullwarkactive598        createtimer diseasebuffcheck599        say "[ShieldsStance2" 45600        getlabel backpack ping601        say "[ShieldsFinisher2" 45602    elseif timerexists diseasebuffcheck and not findbuff "Diseased" and not findbuff "Bleed" and mana >= 3603        removetimer diseasebuffcheck604        pause 800605        getlabel backpack ping606        if "DefaultShieldBash" = 1607            say "[ShieldsStance1"608        elseif "DefaultTestudo" = 1609            say "[ShieldsStance3"610        elseif "DefaultMirror" = 1611            say "[ShieldsStance4"612        elseif "DefaultBulwark" = 1613            say "[ShieldsStance5"614        endif615        getlabel backpack ping616        say "[ShieldsFinisher1" 45617    endif618    if timerexists baptrapbullwark and mana >= 3619        if not findbuff "Diseased" and not findbuff "Bleed" and not timerexists defaultstance and timer baptrapbullwark <= 10000620            if not timerexists "bullwarktime"621                createtimer bullwarktime622            endif    623            if cooldown "Move"624                settimer bullwarktime 0625            endif626            if not timerexists bullwarkactive and timer bullwarktime >= 3000627                say "[ShieldsStance5" 45628                createtimer bullwarkactive629            endif630        endif631    endif632    if cooldown "Move"633        settimer bullwarktime 0634    endif635    if timerexists bullwarkactive and mana >= 3636        if timer bullwarktime < 3000637            if "DefaultShieldBash" = 1638                say "[ShieldsStance1"639            elseif "DefaultTestudo" = 1640                say "[ShieldsStance3"641            elseif "DefaultMirror" = 1642                say "[ShieldsStance4"643            elseif "DefaultBulwark" = 1644                say "[ShieldsStance5"645            endif646            removetimer bullwarkactive647        endif648    endif649endif650// End of Auto Shield Stance Routine651 652// Overhead Trap Display routine653if not find "placedtrap" ground and findtype 51163 ground -1 -1 8 as smokingtrap654    @setvar! "placedtrap" smokingtrap655endif656if not timerexists armedtimer657    createtimer armedtimer658    settimer armedtimer 3000659endif660if find "placedtrap" ground -1 -1 8 as smokingtrap and timer armedtimer >= 1500661    overhead "*Armed*" 38 smokingtrap662    settimer armedtimer 0663elseif find "placedtrap" ground as smokingtrap and timer armedtimer >= 1500664    overhead "*Too Far*" 45 smokingtrap665    settimer armedtimer 0666endif667// End of Overhead Trap Display routine668 669// Utility Routine670if skill "healing" >= 20 and not casting and not targetexists 671    if hp = maxhp672        //donothing673    elseif not bandaging and findtype 3617 backpack674        hotkey "Bandage Self"675        cooldown "Bandage" 7000676    endif677endif678if skill "Magery" >= 80679    if timerexists reflect and not findbuff "Magic Reflection"680        if timer reflect > 30000681            overhead "--Cast Reflect--" 2122682            settimer reflect 12000683        endif684    endif685    if findbuff "Magic Reflection" and timerexists reflect686        removetimer reflect687    endif688    if not findbuff "Magic Reflection" and not timerexists reflect689        createtimer reflect690    endif691endif692if skill "Magery" >= 20693    if timerexists reactive and not findbuff "Reactive Armor"694        if timer reactive > 30000695            overhead "--Cast Reactive--" 2122696            settimer reactive 13500697        endif698    endif699    if findbuff "Reactive Armor" and timerexists reactive700        removetimer reactive701    endif702    if not findbuff "Reactive Armor" and not timerexists reactive703        createtimer reactive704    endif705endif706if skill "Magery" >= 40707    if timerexists protection and not findbuff "Protection"708        if timer protection > 30000709            overhead "--Cast Protection--" 2122710            settimer protection 9000711        endif712    endif713    if findbuff "Protection" and timerexists protection714        removetimer protection715    endif716    if not findbuff "Protection" and not timerexists protection717        createtimer protection718    endif719endif720if warmode and not hidden and not timerexists brew and not targetexists and findbuff "Bleed" and findtype 50675 backpack as cbrew721    clearsysmsg 722    while queued723        //donothing724    endwhile725    dclick cbrew726    getlabel backpack ping727    if insysmsg "You drink a cleansing brew"728        createtimer brew729    endif730elseif warmode and not hidden and not timerexists brew and not targetexists and findbuff "Diseased" and findtype 50675 backpack as cbrew731    while queued732        //donothing733    endwhile734    dclick cbrew735    getlabel backpack ping736    if insysmsg "You drink a cleansing brew"737        createtimer brew738    endif739endif740if timerexists brew741    if timer brew >= 120000742        removetimer brew743    endif744endif745if not hidden and not casting and findbuff "Weaken" and not targetexists and findtype "White Potion" backpack as stpot746    while queued747        //donothing748    endwhile749    dclick stpot750    getlabel backpack ping751endif752if "AutoBuffPots" = 1753    if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" self as respot754        while queued755            //donothing756        endwhile757        dclick respot758        pause 500759    endif760    if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Strength" and findtype "White Potion" self as wpot761        while queued762            //donothing763        endwhile764        dclick wpot765        pause 500766    endif767    if not targetexists and not findbuff "Actively Meditating" and not hidden and not casting and not findbuff "Agility" and findtype "Blue Potion" self as bpot768        while queued769            //donothing770        endwhile771        dclick bpot772        pause 500773    endif774endif775if "AutoBuffPots" = 0776    if not timerexists topupstr777        createtimer topupstr778        settimer topupstr 30000779    elseif timer topupstr >= 30000 and not hidden and not casting and str = 100 and findtype "White Potion" self as stpot780        while queued781            //donothing782        endwhile783        overhead "--Drink Strength--" 2041784        settimer topupstr 0785    endif786    if not timerexists topupdex787        createtimer topupdex788        settimer topupdex 30000789        elseif timer topupdex >= 30000 and not hidden and not casting and str = 100 and findtype "Blue Potion" self as agipot790        while queued791            //donothing792        endwhile793        overhead "--Drink Agility--" 2041794        settimer topupdex 0795    endif796    if not timerexists topupres797        createtimer topupres798        settimer topupres 30000799    elseif timer topupres >= 30000 and not hidden and not casting and not findbuff "Magic Resist Potion" and findtype "Black Potion" self as respot800        while queued801            //donothing802        endwhile803        overhead "--Drink Resist--" 2041804        settimer topupres 0805    endif806endif807if not targetexists and not hidden and not casting and stam <= 4 and findtype "Red Potion" self as redpot808    while queued809        //donothing810    endwhile811    dclick redpot812    pause 500813endif814if not hidden and paralyzed and not targetexists and findtype "pouch" backpack 38815    while queued816        //donothing817    endwhile818    say "[Pouch"819    pause 500820endif821if not hidden and not casting and poisoned and not targetexists and findtype "Orange Potion" self as curepot822    while queued823        //donothing824    endwhile825    dclick curepot826    pause 500827endif828if not targetexists and not casting and not findbuff "Food Satisfaction"829    if findtype 2429|28885|29774|29773|28880|28888|28881|28883|28886|28879 backpack as food830        while queued831            //donothing832        endwhile833        dclick food834        pause 500835    endif836endif837// End of Utility Routine838 839// Fast container ID wand/skill recycle (use Party Menu) routine840if gumpexists 3527489586 and findtype "3997|4148|4032|7864" backpack as breakdowntool841    gumpclose 3527489586842    hotkey "Cancel Current Target"843    if not find "ContainerIDWand" and findtype 20495 backpack as contIDwand844        @setvar! "ContainerIDWand" contIDwand845    endif846    if skill "Item ID" = 120 or find "ContainerIDWand" backpack847        clearsysmsg 848        while queued849            //donothing850        endwhile851        if skill "Item ID" = 120852            skill "Item ID"853        elseif find "ContainerIDWand" backpack854            dclick "ContainerIDWand"855        endif856        wft 500857        overhead "Select Container to ID..." 88858        while targetexists 859            //donothing860        endwhile861        getlabel backpack ping862        overhead "Attempting recycle..." 88863        if insysmsg "No unidentified items found."864            overhead "Nothing fresh to ID..." 45865        elseif insysmsg "That is not a container." 866            overhead "Invalid container, try again.." 45867        elseif insysmsg "You must wait a few moments to use another skill" 868            overhead "Skill Cooldown, Try Again.." 38869        endif870        while findtype 3834 backpack 0 as bbook871            @ignore bbook872        endwhile873        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|7947|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 IDitem874            getlabel IDitem desc875            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 desc876                @ignore IDitem877                overhead "*strong magic*" 2091 IDitem878            elseif "KeepFortification" = 1 and "fortification" in desc879                @ignore IDitem880                overhead "*strong magic*" 2091 IDitem    881            else882                overhead "*trash*" 1779 IDitem883                while not gumpexists 949095101884                    while queued885                        //donothing886                    endwhile887                    dclick breakdowntool888                    waitforgump 949095101 1000889                endwhile890                while not ingump "Recycle Single Item" 949095101891                    gumpresponse 2892                    waitforgump 949095101 1000893                endwhile                                894                gumpresponse 3895                waitforgump 949095101 1000896                target IDitem897                getlabel backpack ping898                pause 250899                if ingump "That cannot be recycled"900                    drop backpack901                    lift IDitem902                    drop 0903                    while queued904                        //donothing905                    endwhile906                endif907                gumpclose 949095101908            endif909            if skill "Item ID" = 120910                //donothing911            elseif not find "ContainerIDWand" backpack912                break913            endif914        endwhile915        if gumpexists 949095101916            gumpclose 949095101917        endif918    else919        overhead "No Container ID Wand..." 38920    endif921    if targetexists 922        hotkey "Cancel Current Target"923    endif924    overhead "Recycle Complete." 88925    @clearignore 926endif927// End of Fast container ID wand recycle routine928 929// Time Wall Switch Routine930if not timerexists timeswitch931    if gumpexists 3352257441932        gumpclose 3352257441933        createtimer timeswitch934        overhead "--Time Switch Enabled--" 88935    endif936endif937if timerexists timeswitch938    if gumpexists 3352257441939        gumpclose 3352257441940        removetimer timeswitch941        overhead "--Time Switch Disabled--" 38942    endif943endif944if timerexists timeswitch945    if not timerexists switchandstufftimer946        createtimer switchandstufftimer947        settimer switchandstufftimer 1000948    endif949    if timer switchandstufftimer >= 1000950        for 19951            if index > 0 and findtype 4239|4240 ground -1 -1 index as switchandstuff952                getlabel switchandstuff desc953                overhead "*switch*" 78 switchandstuff954                @ignore switchandstuff955            endif956            if warmode and findtype 4239|4240 ground -1 -1 2957                break958            endif 959        endfor960        @clearignore961        settimer switchandstufftimer 0962    endif963    if warmode and findtype 4239|4240 ground -1 -1 2 as timewallswitch964        dclick timewallswitch965        warmode off966        getlabel backpack ping967    endif968endif969// End of Time Wall Switch Routine970 971// Loot Vacuum Routine972if not timerexists lootvacuumswitch973    if gumpexists 1281623709974        gumpclose 1281623709975        createtimer lootvacuumswitch976        overhead "--Loot Vacuum Enabled--" 2085977    endif978endif979if timerexists lootvacuumswitch980    if gumpexists 1281623709981        gumpclose 1281623709982        removetimer lootvacuumswitch983        overhead "--Loot Vacuum Disabled--" 1779984    endif985endif986while diffweight <= 0 and findtype "gold coin" backpack as dropgold987    if not hidden and stam <= 4 and findtype "Red Potion" backpack as redpot988        while queued989            //donothing990        endwhile991        dclick redpot992        pause 500993        getlabel backpack ping994    endif995    overhead "My cup runneth over..." 1194996    drop backpack997    if "Drop444" = 1998        lift dropgold 444999    elseif "Drop2222" = 11000        lift dropgold 22221001    elseif "Drop3444" = 11002        lift dropgold 34441003    endif1004    drop 01005    while queued1006        //donothing1007    endwhile1008endwhile1009if timerexists lootvacuumswitch1010    if not timerexists lootsensetimer1011        createtimer lootsensetimer1012        settimer lootsensetimer 10001013    endif1014    if not findtype 4239|4240 ground -1 -1 2 and timer lootsensetimer >= 10001015        while findtype 3827 ground 0 as zeroscroll1016            @ignore zeroscroll1017        endwhile1018        while findtype 4225 ground 0 as zeroleather1019            @ignore zeroleather1020        endwhile1021        while findtype 7127 ground 0 as zeroboard1022            @ignore zeroboard1023        endwhile1024        for 191025            if skill "Lockpicking" >= 50 and findtype "wooden chest|metal chest" ground -1 -1 21026                break  1027            endif1028            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|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 21029                break1030            endif1031            if skill "Stealth" >= 80 and hidden and stam = maxstam and varexist "bwiz" and find "bwiz" backpack and find "bmain" self1032                break1033            endif1034            if diffweight >= 8 and findtype "3821" ground -1 -1 21035                break1036            endif1037            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|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 lootlocation1038                overhead "*loot*" 116 lootlocation1039                @ignore lootlocation1040            endif1041            if diffweight >= 8 and index > 0 and findtype "3821" ground -1 -1 index as lootlocation1042                overhead "*gold*" 2091 lootlocation1043                @ignore lootlocation1044            endif1045            if warmode and findtype 4239|4240 ground -1 -1 21046                break1047            endif1048        endfor1049        @clearignore 1050        settimer lootsensetimer 01051    endif1052    while findtype 3827 ground 0 as zeroscroll1053        @ignore zeroscroll1054    endwhile1055    while findtype 4225 ground 0 as zeroleather1056        @ignore zeroleather1057    endwhile1058    while findtype 7127 ground 0 as zeroboard1059        @ignore zeroboard1060    endwhile1061    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|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 eatloot1062        hotkey 'Grab Item' 1063        target eatloot1064        if insysmsg "Invalid or inaccessible item."1065            @ignore eatloot1066        endif            1067        while queued1068            //donothing1069        endwhile 1070    endwhile1071    while not casting and not targetexists and diffweight >= 8 and findtype 3821 ground -1 -1 2 as goldcoinz1072        hotkey 'Grab Item' 1073        target goldcoinz1074        while queued1075            //donothing1076        endwhile 1077    endwhile1078endif1079// End of Loot Vacuum Routine1080 1081// Stealth Wiz Hat Routine1082if findtype 5912 self and not varexist "bwiz" and findlayer self head as regularhat1083    getlabel regularhat desc1084    if "magical" in desc1085        dclick regularhat1086        pause 5001087        getlabel backpack ping1088        replay1089    endif1090endif1091if not find "bwiz" self and findtype 5912 backpack as wizhat1092    getlabel wizhat desc1093    if "restyled" in desc1094        @ignore wizhat1095        replay1096    elseif "armored" in desc1097        @setvar! "bwiz" wizhat1098    elseif "magical" in desc1099        @setvar! "bwiz" wizhat1100        @setvar! "nonaspectedwiz" wizhat1101    endif1102endif1103if varexist "bwiz" and find "bwiz" backpack1104    if not find "bmain" self and findlayer self head as hat1105        @setvar! "bmain" hat1106    endif1107    if not varexist "bmain"1108        overhead "I need a primary hat or helm to wear.." 881109        pause 20001110        overhead "Anything will do, just not a magical wizard hat..." 881111        stop1112    endif1113endif1114if varexist "bwiz" and find "bwiz" backpack and find "bmain" self and skill "Stealth" >= 801115    if not targetexists and not casting and hidden and stam = maxstam1116        while queued1117            //donothing1118        endwhile1119        dclick "bwiz"1120        while queued1121            //donothing1122        endwhile1123        pause 301124        dclick "bmain"1125        pause 5001126        getlabel backpack ping1127    endif1128    if not targetexists and not casting and not findlayer self head and find "bmain" self1129        while queued1130            //donothing1131        endwhile1132        dclick "bmain"1133        pause 5001134        getlabel backpack ping1135    endif1136endif1137if varexist "bwiz" and find "bmain" self and skill "Stealth" >= 801138    if not targetexists and not casting and not find "bwiz" backpack1139        while queued1140            //donothing1141        endwhile1142        dclick "bmain"1143        pause 5001144        getlabel backpack ping1145    endif1146endif1147// End of Stealth Wiz Hat Routine1148 1149// Gold Sacker Routine1150if not timerexists goldsacker1151    if gumpexists 22249047111152        gumpclose 22249047111153        createtimer goldsacker1154        overhead "--Gold Sacker Enabled--" 20851155        hotkey "Set Last Target"1156        wft 5001157        overhead "Target Gold Drop Bag" 881158        while targetexists 1159            //donothing1160        endwhile1161        @setvar! "bgoldbag" lasttarget 1162        overhead "Gold Drop Bag Set" 781163    endif1164elseif timerexists goldsacker1165    if gumpexists 22249047111166        gumpclose 22249047111167        removetimer goldsacker1168        overhead "--Gold Sacker Disabled--" 17791169    endif1170endif1171if not timerexists sacktracker1172    createtimer sacktracker1173    settimer sacktracker 50001174elseif timer sacktracker >= 5000 and find "bgoldbag" ground1175    overhead "*gold sack*" 2843 "bgoldbag"1176    settimer sacktracker 01177endif1178if find "bgoldbag" ground -1 -1 21179    while findtype "gold coin" backpack as fatcoins1180        while queued1181            //donothing1182        endwhile1183        drop backpack1184        lift fatcoins 600001185        drop bgoldbag -1 -11186        pause 5001187        getlabel backpack ping1188    endwhile1189endif1190// End of Gold Sacker Routine1191 1192if "TriBard Routines" = 11193    // Switch for Auto Peace - Auto Provo Routune1194    if skill "Peacemaking" >= 80 and skill "Provocation" >= 801195        if not timerexists BapPeace and not timerexists BapProvo1196            createtimer BapPeace1197        endif1198        if timerexists BapPeace and gumpexists 3414163951199            removetimer BapProvoMoveToDiscordAOE1200            hotkey "Cancel Current Target"1201            gumpclose 3414163951202            removetimer BapPeace1203            createtimer BapProvo1204            overhead "--Disco First Activated--" 381205            getlabel backpack ping1206        endif1207        if timerexists BapProvo and gumpexists 3414163951208            removetimer BapProvoMoveToDiscordAOE1209            hotkey "Cancel Current Target"1210            gumpclose 3414163951211            removetimer BapProvo1212            createtimer  BapPeace1213            overhead "--Peace First Activated--" 881214            getlabel backpack ping1215        endif1216    endif1217    // End of Switch for Auto Peace - Auto Provo Routune1218 1219    // Peace/Provo then Discord Routine1220    if timerexists "BapPeace"1221        if not hidden and not casting and not targetexists and not warmode1222            if find "Manual Override" ground -1 -1 12 and skill "Peacemaking" >= 80 and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1223                getlabel "Manual Override" barddesc1224                hotkey "Cancel Current Target"1225                if "Boss" in barddesc1226                    skill "Peacemaking"1227                    wft 3001228                    target "Manual Override"1229                    hotkey "Cancel Current Target"1230                    getlabel backpack ping1231                    if insysmsg "You play successfully, pacifying your target."1232                        overhead "**Peaced**" 68 "Manual Override"1233                    elseif insysmsg "You fail to pacify your opponent"1234                        overhead "**Fail Peace**" 38 "Manual Override"1235                        if cooldown "Peacemaking"1236                            overhead "<Bard Cooldown>" 381237                        endif1238                    endif1239                elseif "Summoned" in barddesc1240                    skill "Peacemaking"1241                    wft 3001242                    target "Manual Override"1243                    hotkey "Cancel Current Target"1244                    getlabel backpack ping  1245                    if insysmsg "You play successfully, pacifying your target."1246                        overhead "**Peaced**" 68 "Manual Override"1247                    elseif insysmsg "You fail to pacify your opponent"1248                        overhead "**Fail Peace**" 38 "Manual Override"1249                        if cooldown "Peacemaking"1250                            overhead "<Bard Cooldown>" 381251                        endif1252                    endif   1253                elseif "pacified" in barddesc1254                    //donothing1255                elseif "break" in barddesc1256                    overhead "<<Break>>" 38 "Manual Override"1257                else1258                    skill "Peacemaking"1259                    wft 3001260                    target "Manual Override"1261                    hotkey "Cancel Current Target"1262                    getlabel backpack ping1263                    if insysmsg "You play successfully, pacifying your target."1264                        overhead "**Peaced**" 68 "Manual Override"1265                    elseif insysmsg "You fail to pacify your opponent"1266                        overhead "**Fail Peace**" 38 "Manual Override"1267                        if cooldown "Peacemaking"1268                            overhead "<Bard Cooldown>" 381269                        endif1270                    endif1271                endif1272            endif1273            if find "Manual Override" ground -1 -1 12 and skill "Discordance" >= 80 and not cooldown "Barding Reset" and not cooldown "Discordance"1274                getlabel "Manual Override" barddesc1275                hotkey "Cancel Current Target"1276                if "Boss" in barddesc1277                    skill "Discordance"1278                    wft 3001279                    target "Manual Override"1280                    hotkey "Cancel Current Target"1281                    getlabel backpack ping1282                    if insysmsg "You play successfully, disrupting your opponent"1283                        overhead "**Discorded**" 68 "Manual Override"1284                    elseif insysmsg "You fail to discord"1285                        overhead "**Fail Discord**" 38 "Manual Override"1286                        if cooldown "Discordance"1287                            overhead "<Bard Cooldown>" 381288                        endif1289                    endif                    1290                elseif "Summoned" in barddesc1291                    skill "Discordance"1292                    wft 3001293                    target "Manual Override"1294                    hotkey "Cancel Current Target"1295                    getlabel backpack ping1296                    if insysmsg "You play successfully, disrupting your opponent"1297                        overhead "**Discorded**" 68 "Manual Override"1298                    elseif insysmsg "You fail to discord"1299                        overhead "**Fail Discord**" 38 "Manual Override"1300                        if cooldown "Discordance"1301                            overhead "<Bard Cooldown>" 381302                        endif1303                    endif                                   1304                elseif "discord" in barddesc1305                    //donothing1306                elseif "pacified" in barddesc1307                    skill "Discordance"1308                    wft 3001309                    target "Manual Override"1310                    hotkey "Cancel Current Target"1311                    getlabel backpack ping1312                    if insysmsg "You play successfully, disrupting your opponent"1313                        overhead "**Discorded**" 68 "Manual Override"1314                    elseif insysmsg "You fail to discord"1315                        overhead "**Fail Discord**" 38 "Manual Override"1316                        if cooldown "Discordance"1317                            overhead "<Bard Cooldown>" 381318                        endif1319                    endif1320                elseif "break" in barddesc1321                    skill "Discordance"1322                    wft 3001323                    target "Manual Override"1324                    hotkey "Cancel Current Target"1325                    getlabel backpack ping1326                    if insysmsg "You play successfully, disrupting your opponent"1327                        overhead "**Discorded**" 68 "Manual Override"1328                    elseif insysmsg "You fail to discord"1329                        overhead "**Fail Discord**" 38 "Manual Override"1330                        if cooldown "Discordance"1331                            overhead "<Bard Cooldown>" 381332                        endif1333                    endif1334                endif1335            endif1336        endif1337    endif1338    if timerexists "BapProvo"1339        if not hidden and not casting and not targetexists and not warmode1340            if find "Manual Override" ground -1 -1 12 and skill "Peacemaking" >= 80 and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1341                getlabel "Manual Override" barddesc1342                hotkey "Cancel Current Target"1343                if "pacified" in barddesc1344                    //donothing1345                elseif "break" in barddesc1346                    overhead "<<Break>>" 38 "Manual Override"1347                elseif "discord" in barddesc1348                    overhead "<<Discorded>>" 78 "Manual Override"1349                    skill "Peacemaking"1350                    wft 3001351                    target "Manual Override"1352                    hotkey "Cancel Current Target"1353                    getlabel backpack ping1354                    if insysmsg "You play successfully, pacifying your target."1355                        overhead "**Peaced**" 68 "Manual Override"1356                    elseif insysmsg "You fail to pacify your opponent"1357                        overhead "**Fail Peace**" 38 "Manual Override"1358                        if cooldown "Peacemaking"1359                            overhead "<Bard Cooldown>" 381360                        endif1361                    endif1362                endif1363            endif1364            if find "Manual Override" ground -1 -1 12 and skill "Discordance" >= 80 and not cooldown "Barding Reset" and not cooldown "Discordance"1365                getlabel "Manual Override" barddesc1366                hotkey "Cancel Current Target"1367                if "Boss" in barddesc1368                    skill "Discordance"1369                    wft 3001370                    target "Manual Override"1371                    hotkey "Cancel Current Target"1372                    getlabel backpack ping 1373                    if insysmsg "You play successfully, disrupting your opponent"1374                        overhead "**Discorded**" 68 "Manual Override"1375                    elseif insysmsg "You fail to discord"1376                        overhead "**Fail Discord**" 38 "Manual Override"1377                        if cooldown "Discordance"1378                            overhead "<Bard Cooldown>" 381379                        endif1380                    endif1381                elseif "Summoned" in barddesc1382                    skill "Discordance"1383                    wft 3001384                    target "Manual Override"1385                    hotkey "Cancel Current Target"1386                    getlabel backpack ping1387                    if insysmsg "You play successfully, disrupting your opponent"1388                        overhead "**Discorded**" 68 "Manual Override"1389                    elseif insysmsg "You fail to discord"1390                        overhead "**Fail Discord**" 38 "Manual Override"1391                        if cooldown "Discordance"1392                            overhead "<Bard Cooldown>" 381393                        endif1394                    endif1395                elseif "discord" in barddesc1396                    //donothing1397                elseif "break" in barddesc1398                    skill "Discordance"1399                    wft 3001400                    target "Manual Override"1401                    hotkey "Cancel Current Target"1402                    getlabel backpack ping1403                    if insysmsg "You play successfully, disrupting your opponent"1404                        overhead "**Discorded**" 68 "Manual Override"1405                    elseif insysmsg "You fail to discord"1406                        overhead "**Fail Discord**" 38 "Manual Override"1407                        if cooldown "Discordance"1408                            overhead "<Bard Cooldown>" 381409                        endif1410                    endif1411                else1412                    skill "Discordance"1413                    wft 3001414                    target "Manual Override"1415                    hotkey "Cancel Current Target"1416                    getlabel backpack ping1417                    if insysmsg "You play successfully, disrupting your opponent"1418                        overhead "**Discorded**" 68 "Manual Override"1419                    elseif insysmsg "You fail to discord"1420                        overhead "**Fail Discord**" 38 "Manual Override"1421                        if cooldown "Discordance"1422                            overhead "<Bard Cooldown>" 381423                        endif1424                    endif1425                endif1426            endif1427        endif1428    endif1429    if not hidden and not casting and not targetexists and warmode1430        if casting 1431            while casting 1432                //donothing1433            endwhile1434            pause 2501435        endif1436        if not casting and not targetexists and skill "Provocation" >= 80 and not cooldown "Provocation" and not cooldown "Provocation Fail"1437            if findtype 3763|20016|20010|10245|20008|20006|20014|20012|3742|3740|3762 backpack1438                clearsysmsg1439                if not hidden and not casting and not targetexists and not findbuff "Song of Provocation"1440                    skill "Provocation"1441                    wft 5001442                    target backpack1443                    pause 5001444                endif1445                if not timerexists skipBapclosest1446                    if timerexists useclosestBapmonster1447                        removetimer useclosestBapmonster1448                    endif1449                    hotkey 'Target Closest Non-Friendly Monster'1450                    @setvar! "BapClosestMonster" lasttarget 1451                    hotkey "Cancel Current Target"1452                    getlabel "BapClosestMonster" Closedesc1453                    if "break" in Closedesc1454                        //donthing1455                    elseif "provoked" in Closedesc1456                        //donothing1457                    elseif "summoned" in Closedesc1458                        @ignore "BapClosestMonster"1459                        replay1460                    elseif "tame" in Closedesc1461                        @ignore "BapClosestMonster"1462                        replay1463                    else 1464                        createtimer useclosestBapmonster1465                    endif1466                endif1467                if timerexists passdistancecheck1468                    removetimer passdistancecheck1469                endif1470                for 201471                    hotkey "Cancel Current Target"1472                    hotkey "next non-friendly monster target"1473                    @setvar! "BapNextMonster" lasttarget 1474                    if find "BapNextMonster" ground -1 -1 11475                        createtimer passdistancecheck1476                        break1477                    elseif find "BapNextMonster" ground -1 -1 11478                        createtimer passdistancecheck1479                        break1480                    elseif find "BapNextMonster" ground -1 -1 21481                        createtimer passdistancecheck1482                        break1483                    elseif find "BapNextMonster" ground -1 -1 31484                        createtimer passdistancecheck1485                        break1486                    elseif find "BapNextMonster" ground -1 -1 41487                        createtimer passdistancecheck1488                        break1489                    elseif find "BapNextMonster" ground -1 -1 51490                        createtimer passdistancecheck1491                        break1492                    elseif find "BapNextMonster" ground -1 -1 61493                        createtimer passdistancecheck1494                        break1495                    elseif find "BapNextMonster" ground -1 -1 71496                        createtimer passdistancecheck1497                        break1498                    elseif find "BapNextMonster" ground -1 -1 81499                        createtimer passdistancecheck1500                        break1501                    elseif find "BapNextMonster" ground -1 -1 91502                        createtimer passdistancecheck1503                        break1504                    elseif find "BapNextMonster" ground -1 -1 101505                        createtimer passdistancecheck1506                        break1507                    elseif find "BapNextMonster" ground -1 -1 111508                        createtimer passdistancecheck1509                        break1510                    elseif find "BapNextMonster" ground -1 -1 121511                        createtimer passdistancecheck1512                        break1513                    endif1514                endfor1515                if timerexists passdistancecheck1516                    getlabel "BapNextMonster" Nextdesc1517                    if "break" in Nextdesc1518                        overhead "Break!" 38 "BapNextMonster"1519                        createtimer skipBapclosest1520                    elseif "summoned" in Nextdesc1521                        @ignore "BapNextMonster"1522                        replay1523                    elseif "tame" in Nextdesc1524                        @ignore "BapNextMonster"1525                        replay1526                    else1527                        if timerexists skipBapclosest1528                            removetimer skipBapclosest1529                        endif1530                        skill "Provocation"1531                        wft 5001532                        if timerexists useclosestBapmonster1533                            target "BapClosestMonster"1534                        else1535                            target "BapNextMonster"1536                        endif1537                        wft 5001538                        target "Manual Override"1539                        if timerexists secondarypassdistancecheck1540                            removetimer secondarypassdistancecheck1541                        endif1542                        for 201543                            for 201544                                hotkey "next non-friendly monster target"1545                                @setvar! "SecondaryBapNextMonster" lasttarget 1546                                getlabel "SecondaryBapNextMonster" SecondNextDesc1547                                if "summoned" in SecondNextDesc1548                                    @ignore SecondNextDesc1549                                elseif "tame" in SecondNextDesc1550                                    @ignore SecondNextDesc1551                                else 1552                                    break1553                                endif1554                            endfor1555                            if find "SecondaryBapNextMonster" ground -1 -1 11556                                createtimer secondarypassdistancecheck1557                                break1558                            elseif find "SecondaryBapNextMonster" ground -1 -1 11559                                createtimer secondarypassdistancecheck1560                                break1561                            elseif find "SecondaryBapNextMonster" ground -1 -1 21562                                createtimer secondarypassdistancecheck1563                                break1564                            elseif find "SecondaryBapNextMonster" ground -1 -1 31565                                createtimer secondarypassdistancecheck1566                                break1567                            elseif find "SecondaryBapNextMonster" ground -1 -1 41568                                createtimer secondarypassdistancecheck1569                                break1570                            elseif find "SecondaryBapNextMonster" ground -1 -1 51571                                createtimer secondarypassdistancecheck1572                                break1573                            elseif find "SecondaryBapNextMonster" ground -1 -1 61574                                createtimer secondarypassdistancecheck1575                                break1576                            elseif find "SecondaryBapNextMonster" ground -1 -1 71577                                createtimer secondarypassdistancecheck1578                                break1579                            elseif find "SecondaryBapNextMonster" ground -1 -1 81580                                createtimer secondarypassdistancecheck1581                                break1582                            elseif find "SecondaryBapNextMonster" ground -1 -1 91583                                createtimer secondarypassdistancecheck1584                                break1585                            elseif find "SecondaryBapNextMonster" ground -1 -1 101586                                createtimer secondarypassdistancecheck1587                                break1588                            elseif find "SecondaryBapNextMonster" ground -1 -1 111589                                createtimer secondarypassdistancecheck1590                                break1591                            elseif find "SecondaryBapNextMonster" ground -1 -1 121592                                createtimer secondarypassdistancecheck1593                                break1594                            endif1595                        endfor1596                        if timerexists secondarypassdistancecheck1597                            target "SecondaryBapNextMonster"1598                        endif1599                        hotkey "Cancel Current Target"1600                        getlabel backpack ping1601                        if insysmsg "Target cannot be seen"1602                            overhead "No Sight!" 38 "SecondaryBapNextMonster"1603                            overhead "No Sight!" 38 "Manual Override"1604                            overhead "No Sight!" 38 "BapNextMonster"1605                            overhead "No Sight!" 38 "BapClosestMonster"1606                            pause 3201607                        elseif insysmsg "That is too far away"1608                            overhead "Too Far!" 38 "SecondaryBapNextMonster"1609                            overhead "Too Far!" 38 "Manual Override"1610                            overhead "Too Far!" 38 "BapNextMonster"1611                            overhead "Too Far!" 38 "BapClosestMonster"1612                            pause 3201613                        elseif insysmsg "You must wait"1614                            pause 3201615                        elseif insysmsg "tell someone to attack themselves!"1616                            overhead "Self Target Fail" 38 "Manual Override"1617                            pause 5001618                        elseif insysmsg "You play successfully"1619                            if timerexists secondarypassdistancecheck1620                                if find "Manual Override" ground -1 -1 181621                                    //do nothing1622                                else1623                                    overhead "**Success**" 68 "SecondaryBapNextMonster"1624                                endif1625                            endif1626                            overhead "**Success**" 68 "Manual Override"1627                            if not timerexists useclosestBapmonster1628                                overhead "**Success**" 68 "BapNextMonster"1629                            endif1630                            if timerexists useclosestBapmonster1631                                overhead "**Success**" 68 "BapClosestMonster"1632                            endif1633                            pause 5001634                        endif1635                        if cooldown "Barding Reset"1636                            overhead "Reset!" 881637                        elseif cooldown "Provocation"1638                            overhead "Cooldown..." 451639                        elseif cooldown "Provocation Fail"1640                            overhead "Fail!" 381641                        endif1642                    endif1643                endif1644            else1645                overhead "Missing Instrument..." 781646            endif1647        endif  1648    endif1649    1650#    if not hidden and not casting and not targetexists and timerexists "BapProvo"1651#        if find "Manual Override" ground -1 -1 12 and skill "Provocation" >= 80 and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1652#            clearsysmsg 1653#            getlabel "Manual Override" barddesc1654#            hotkey "Cancel Current Target"1655#            if "Boss" in barddesc1656#                skill "Provocation"1657#                wft 3001658#                overhead "Provo Add" 881659#                overhead "<<<Boss>>>" 38 "Manual Override"1660#                while targetexists 1661#                    if gumpexists 3414163951662#                        hotkey "Cancel Current Target"1663#                    endif1664#                endwhile1665#                getlabel backpack ping1666#                overhead "<<Provo Target>>" 88 lasttarget1667#                wft 3001668#                target "Manual Override"1669#                hotkey "Cancel Current Target"1670#            elseif "Summoned" in barddesc1671#                skill "Provocation"1672#                wft 3001673#                overhead "Provo Add" 881674#                overhead "<<<Boss>>>" 38 "Manual Override"1675#                while targetexists 1676#                    if gumpexists 3414163951677#                        hotkey "Cancel Current Target"1678#                    endif1679#                endwhile1680#                getlabel backpack ping1681#                overhead "<<Provo Target>>" 88 lasttarget 1682#                wft 3001683#                target "Manual Override"1684#                hotkey "Cancel Current Target"1685#            elseif "break" in barddesc1686#                overhead "<<Break>>" 38 "Manual Override"1687#            elseif "provoked" in barddesc1688#                overhead "<<Provoked>>" 43 "Manual Override"1689#                overhead "<<Provoked>>" 48 "BapPVMProvoSecondTarget"1690#                if timerexists BapSeekReProvo and not timerexists BapProvoMoveToDiscordAOE1691#                    removetimer BapSeekReProvo1692#                    skill "Provocation"1693#                    wft 3001694#                    target "Manual Override"1695#                    overhead "<<Provo Target>>" 38 "Manual Override"1696#                    wft 3001697#                    overhead "<<Select Second Target>>" 881698#                    while targetexists 1699#                        if gumpexists 3414163951700#                            hotkey "Cancel Current Target"1701#                        endif1702#                    endwhile1703#                    @setvar! "BapPVMProvoSecondTarget" lasttarget 1704#                    hotkey "Cancel Current Target"1705#                    getlabel backpack ping1706#                    if insysmsg "You play successfully, provoking"1707#                        overhead "**Success**" 68 "BapPVMProvoSecondTarget"1708#                        overhead "**Success**" 68 "Manual Override"1709#                        removetimer ProvoRegularMobRetry1710#                        createtimer BapProvoMoveToDiscordAOE1711#                    elseif insysmsg "fail to incite"1712#                        overhead "**Fail**" 38 "BapPVMProvoSecondTarget"1713#                        overhead "**Fail**" 38 "Manual Override"1714#                        if cooldown "Provocation"1715#                            overhead "<Bard Cooldown>" 381716#                            createtimer ProvoRegularMobRetry1717#                        else1718#                            createtimer ProvoRegularMobRetry1719#                            getlabel backpack ping1720#                        endif1721#                    endif                    1722#                endif1723#            elseif not timerexists BapProvoMoveToDiscordAOE and timerexists ProvoRegularMobRetry1724#                skill "Provocation"1725#                wft 3001726#                target "Manual Override"1727#                wft 3001728#                target "BapPVMProvoSecondTarget" 1729#                hotkey "Cancel Current Target"1730#                getlabel backpack ping1731#                if insysmsg "You play successfully, provoking"1732#                    overhead "**Success**" 68 "BapPVMProvoSecondTarget"1733#                    overhead "**Success**" 68 "Manual Override"1734#                    removetimer ProvoRegularMobRetry1735#                    createtimer BapProvoMoveToDiscordAOE1736#                elseif insysmsg "fail to incite"1737#                    overhead "**Fail**" 38 "BapPVMProvoSecondTarget"1738#                    overhead "**Fail**" 38 "Manual Override"1739#                    if cooldown "Provocation"1740#                        overhead "<Bard Cooldown>" 381741#                        createtimer ProvoRegularMobRetry1742#                    else1743#                        createtimer ProvoRegularMobRetry1744#                        getlabel backpack ping1745#                    endif1746#                endif1747#            elseif not timerexists BapProvoMoveToDiscordAOE1748#                skill "Provocation"1749#                wft 3001750#                target "Manual Override"1751#                overhead "<<Provo Target>>" 38 "Manual Override"1752#                wft 3001753#                overhead "<<Select Second Target>>" 881754#                while targetexists 1755#                    if gumpexists 3414163951756#                        hotkey "Cancel Current Target"1757#                    endif1758#                endwhile1759#                @setvar! "BapPVMProvoSecondTarget" lasttarget 1760#                hotkey "Cancel Current Target"1761#                getlabel backpack ping1762#                if insysmsg "You play successfully, provoking"1763#                    overhead "**Success**" 68 "BapPVMProvoSecondTarget"1764#                    overhead "**Success**" 68 "Manual Override"1765#                    removetimer ProvoRegularMobRetry1766#                    createtimer BapProvoMoveToDiscordAOE1767#                elseif insysmsg "fail to incite"1768#                    overhead "**Fail**" 38 "BapPVMProvoSecondTarget"1769#                    overhead "**Fail**" 38 "Manual Override"1770#                    if cooldown "Provocation"1771#                        overhead "<Bard Cooldown>" 381772#                        createtimer ProvoRegularMobRetry1773#                    else1774#                        createtimer ProvoRegularMobRetry1775#                        getlabel backpack ping1776#                    endif1777#                endif1778#            endif1779#        endif1780#        if find "Manual Override" ground -1 -1 12 and skill "Discordance" >= 80 and not cooldown "Barding Reset" and not cooldown "Discordance"1781#            getlabel "Manual Override" barddesc1782#            hotkey "Cancel Current Target"1783#            if "Boss" in barddesc1784#                // do nothing1785#            elseif "Summoned" in barddesc1786#                // do nothing1787#            endif1788#        endif1789#        if not find "Manual Override" and not find "BapPVMProvoSecondTarget"1790#            removetimer BapProvoMoveToDiscordAOE1791#        endif1792#        if timerexists BapProvoMoveToDiscordAOE and skill "Discordance" >= 80 and not cooldown "Barding Reset" and not cooldown "Discordance"1793#            skill "Discordance"1794#            wft 3001795#            target self1796#            hotkey "Cancel Current Target"1797#            getlabel backpack ping1798#        endif1799#    endif1800    // End of Peace/Provo then Discord Routine1801 1802    // Bard Songs Routine1803    if not hidden and not casting and not targetexists and skill "Discordance" >= 80 and not findbuff "Song of Discordance" and not cooldown "Song of Discord" and not cooldown "Song of Provocation" and not cooldown "Song of Peacemaking" and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1804        skill "Discordance"1805        wft 3001806        target backpack1807        hotkey "Cancel Current Target"1808        getlabel backpack ping1809    endif1810    if not hidden and not casting and not targetexists and skill "Provocation" >= 80 and not findbuff "Song of Provocation" and not cooldown "Song of Discord" and not cooldown "Song of Provocation" and not cooldown "Song of Peacemaking" and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1811        skill "Provocation"1812        wft 3001813        target backpack1814        hotkey "Cancel Current Target"1815        getlabel backpack ping1816    endif1817    if not hidden and not casting and not targetexists and skill "Peacemaking" >= 80 and not findbuff "Song of Peacemaking" and not cooldown "Song of Discord" and not cooldown "Song of Provocation" and not cooldown "Song of Peacemaking" and not cooldown "Barding Reset" and not cooldown "Peacemaking" and not cooldown "Discordance" and not cooldown "Provocation"1818        skill "Peacemaking"1819        wft 3001820        target backpack1821        hotkey "Cancel Current Target"1822        getlabel backpack ping1823    endif1824    // End of Bard Songs Routine1825    1826    // Peace or Provo Mode overhead indicators1827    if skill "Provocation" >= 80 and skill "Peacemaking" >= 80 and skill "Discordance" >= 801828        if timerexists BapProvo1829            removetimer warningoverheadbappeace1830            if not timerexists warningoverheadbapprovo1831                createtimer warningoverheadbapprovo1832            endif1833            if timer warningoverheadbapprovo >= 60001834                overhead "Disco First" 381835                settimer warningoverheadbapprovo 01836            endif1837        endif1838        if timerexists BapPeace1839            removetimer warningoverheadbapprovo1840            if not timerexists warningoverheadbappeace1841                createtimer warningoverheadbappeace1842            endif1843            if timer warningoverheadbappeace >= 60001844                overhead "Peace First" 881845                settimer warningoverheadbappeace 01846            endif1847        endif1848    endif1849    // End of Peace or Provo Mode overhead indicators1850endif1851 1852// Target Range Overhead Routine1853if not warmode and find "Manual Override" ground1854    if not timerexists baprangecheck1855        createtimer baprangecheck1856        settimer baprangecheck 12001857    elseif timer baprangecheck >= 12001858        settimer baprangecheck 01859        if find "Manual Override" ground1860            if find "Manual Override" ground -1 -1 11861                overhead "1 Tile" 33 "Manual Override"1862            elseif find "Manual Override" ground -1 -1 21863                overhead "2 Tile" 38 "Manual Override"1864            elseif find "Manual Override" ground -1 -1 31865                overhead "3 Tile" 43 "Manual Override"1866            elseif find "Manual Override" ground -1 -1 41867                overhead "4 Tile" 48 "Manual Override"1868            elseif find "Manual Override" ground -1 -1 51869                overhead "5 Tile" 53 "Manual Override"1870            elseif find "Manual Override" ground -1 -1 61871                overhead "6 Tile" 58 "Manual Override"1872            elseif find "Manual Override" ground -1 -1 71873                overhead "7 Tile" 63 "Manual Override"1874            elseif find "Manual Override" ground -1 -1 81875                overhead "8 Tile" 68 "Manual Override"1876            elseif find "Manual Override" ground -1 -1 91877                overhead "9 Tile" 73 "Manual Override"1878            elseif find "Manual Override" ground -1 -1 101879                overhead "10 Tile" 78 "Manual Override"1880            elseif find "Manual Override" ground -1 -1 111881                overhead "11 Tile" 83 "Manual Override"1882            elseif find "Manual Override" ground -1 -1 121883                overhead "12 Tile" 88 "Manual Override"1884            elseif find "Manual Override" ground -1 -1 131885                overhead "13 Tile" 93 "Manual Override"1886            elseif find "Manual Override" ground -1 -1 141887                overhead "14 Tile" 93 "Manual Override"1888            elseif find "Manual Override" ground -1 -1 151889                overhead "15 Tile" 93 "Manual Override"1890            elseif find "Manual Override" ground -1 -1 161891                overhead "16 Tile" 93 "Manual Override"1892            elseif find "Manual Override" ground -1 -1 171893                overhead "17 Tile" 93 "Manual Override"1894            elseif find "Manual Override" ground -1 -1 181895                overhead "18 Tile" 93 "Manual Override"1896            endif1897        endif1898    endif1899endif1900// End of Target Range Overhead Routine1901 1902if dead 1903    overhead "I need a new body..." 881904    say "[pittrialhotbar" 451905    stop1906endif1907loop