# This is an automated backup - check out https://outlands.uorazorscripts.com/script/7aba7670-e30e-489d-86ec-c95e79ad57c6 for latest # Automation by Jaseowns ## Script: Lord Glacier's Chill DEXXER AUTO PILOT - UO OUTLANDS RAZOR SCRIPT - v3.1.2 ## Created by: danstock._98439#0 ############################################# ///////// //////// Lord Glaciers Chill DEXXER AUTO PILOT - UO OUTLANDS RAZOR SCRIPT - version 3.1.2 /////// ////// UO Outlands Razor script - Released February 18, 2025 - Last Updated October 9, 2026 ///// Compiled by DanStock. (aka. Lord Glacier) //// /// ################################ // QUICK MODE CHANGE: \\ #################################### @setvar! DUNGEONMODE 1 @setvar! WILDERNESSMODE 0 # DUNGEON = Auto FIND GATE # WILDERNESS = Auto RECALL #################################### ################################## ################################ ################################ ############################### // SUGGESTED SKILL TEMPLATE 1: \\ // SUGGESTED SKILL TEMPLATE 2: \\ // REQ INVENTORY ITEMS: \\ // (PURE DEXXER) \\ // (TRIBARD DEXXER) \\ // (* or suggested) \\ #################################### #################################### ################################### # 120 Chivalry 120 Chivalry Aspect Armour & Weapon # 120 Arms Lore 120 Peacemaking Book of Chivalry # 100 Tactics 120 Discordance Weapon Codex # 80 Weapon Skill 120 Provocation Healers Codex # 80 Anatomy 100 Tactics Shield/Potion/Bard Codex # 80 Healing 80 Weapon Skill Potion Satchel (w/ potions & kegs) # 80 Parrying (or Alchemy or Second Weapon) 60 Focus (or Forensic Eval) Delectable food trays # 60 Focus (or Resisting Spells) Clean Bandages # Trapped pouches # ASPECT: FROST/FROST ASPECT: LYRIC/LYRIC Cleansing brews * # (or BLOOD/VOID) (or FROST/VOID) Aspect crystals * # Adventurers rope * # Skinning knife * # CHAIN: Melee Aspect Effect Chance CHAIN: Melee Swing Speed Scissors [blessed] * # Melee Special Chance Damage to Barded Wooden Box w/ copper key * # Melee Swing Speed Effective Barding Wizard Satchel * ################################## ################################## ################################## ################################ ################################ ################################ ############################## ############################## ############################## ///////////////////////// //' CHANGE LOG: '// ///////////////////////// # Oct 09 2026 - version 3.1.2 Added Escape Runebook check/reset outside of the initial setup sequence and added potion keg filling to top of script. Bugs: dan@danstockman.com # Sep 08 2026 - version 3.1.1 I know I said no more updates... but one final tweak to dial in the loot secure timing and another bug fix for some RED ALERT recall triggers # This is the FINAL VERSION. I cannot find anything else to add, adjust or fix. Everything works (I hope) # Sep 03 2026 - version 3.1.0 Fixed bugs with RED ALERT triggering, DUNGEON CLEANUP and GOLD VACUUM. Plus final refinement of LOOT SECURING loop. Script is finally done! # It took me 585 days to put this together. I will try not to release any further updates unless massive bugs are found or new patches require it # I have tested everything as best I can for a 16.5k line script - it is consistently doing what I want now 99% of the time. # Going to focus on my Backstab script for a while next, so expect updates on that one soon. Contact: dan@danstockman.com # Sep 02 2026 - version 3.0.9 Fixed a bug with new 'TargetDisengageRange' by adding 'TargetAnalyzeRange' variable to help with target management # Also fixed a bug with 'RedWeightLimitDiffWeight' and final small tweaks to the Loot Storage loop. # Aug 31 2026 - version 3.0.8 Adjusted the order of a few things. Added PK checks to Storage Loop. # Aug 28 2026 - version 3.0.7 Tweaks to targeting and addition of 'TargetDisengageRange' variable to improve MOB management and some other minor efficiency adjustments throughout # Also made improvements to the Loot Storage loop to speed things up and fixed a bug with Potion Keg filling (if any were set to '0') # I know I have said it before, but I feel like this version is feeling pretty polished. Enjoy! # Aug 26 2026 - version 3.0.6 Some tweaks to the Dungeon Escape loop to improve safety when PK is tracked and is attacking # Aug 25 2026 - version 3.0.5 Changes to priority order in Auto Healing loop, tweaks to cure potions, bandage usage and weight checks and some cosmetic changes to overheads # Also updated the auto equip weapon checks to account for disarm delays. Pushing 16k lines now so hopefully this is final build # Aug 24 2026 - version 3.0.4 BIG UPDATE: Added support for builds with multiple combat skills, with checks based on skills > 50 and equipped weapon (see 'EnableAutoEquipWeapon' variable below) # Also lots of small tweaks and adjustments to overhead messages, variable descriptions, tips section and other timing or efficiency improvements # A lot has gone into the script at this point. It is huge. But it seems to work and is getting close to being complete # Aug 17 2026 - version 3.0.3 Updates to the Loot Securing loop (to add some missing/new items and adjust timing), updates to overweight checks and to Storage Tome detection # Jul 22 2026 - version 3.0.2 Officially my largest script to date at over 13,000 lines! Just testing edge-case issues and getting things dialed in now # This version adds health and warmode checks to Loot Securing loop (toggle PEACE mode manually to cancel loot transfer) # Also fixed bug in Chivalry Infinite Loop triggering modes and cleaned up Auto Recall/Dungeon Escape stuff to respond more quickly overall # Added eligible Dual Wield weapons to Poisoning checks and also improved comments and descriptions for Codex sections and settings # Significant improvements to barding skill targeting, performance and speed to match the rest of the script # This is hopefully the final update for a while - things seem to be working really well for me # Jul 13 2026 - version 3.0.1 Minor adjustments to weapon/shield check timing and dungeon escape section, fixed an incorrect variable and fixed spelling errors in comments # Jul 12 2026 - version 3.0.0 BIG UPDATE: Improved targeting acquisition and auto-healing trigger speeds along with other general updates to match my latest script specs # Also added support for 'Throwing' and 'Dual Wielding' weapons, stances, finishers, etc. and added auto weapon/shield finisher switching # This overhaul involved a review and updates to many sections throughout the script with the goal of improving speed and increasing safety # The improvements are enough to call this a whole new version (v3.0) and I will play test and continue tweaking as required # # Jan 04 2026 - version 2.2.8: Added poison potion option to keg filling and added skinning to dungeon escape loop # Dec 31 2025 - version 2.2.7: Minor updates to some overhead messages and added a Storage Tome Container variable to the Auto Recall section # Nov 24 2025 - version 2.2.6: Squashed bug in Fencing Codex stance switching - thanks for letting me know guys! # Nov 10 2025 - version 2.2.5: Cosmetic finishing touches (mostly to overhead displays, etc.) # Nov 07 2025 - version 2.2.4: I was wrong lol Made some updates to the Auto Stance section to allow a choice of stances (in variables section below) - it all works really good right now! # Oct 28 2025 - version 2.2.3: I think it is finally complete! Let me know if you find any bugs or have any suggestions # Oct 27 2025 - version 2.2.2: Final tweaks and adjustments. # Oct 25 2025 - version 2.2.1: Been asked for a lot... I reversed the WAR mode functions so FARMING is now done in 'WAR MODE' and DUNGEON ESCAPE will toggle when in 'PEACE MODE' # Oct 24 2025 - version 2.2.0: More tweaks to the targeting system - still chasing a hangup, but hoping I have it sorted. Pretty sure it is all working now! # Sep 09 2025 - version 2.1.9: I think it is finally finished!! Lots of minor changes to targeting, skinning and other cosmetic tweaks # Sep 05 2025 - version 2.1.8: Fixed spelling error in Aggressive stance switching codes # Sep 04 2025 - version 2.1.7: Tweaks and adjustments throughout - still trying to squash the target hangup (might have got it this time) # Aug 29 2025 - version 2.1.6: Fixed bug in gold drop (if loot was in lockbox) and hopefully fixed the targeting hangup bug # Aug 26 2025 - version 2.1.5: Adjusted targeting section to avoid hangup and fixed bug in gold drop loop # Jul 31 2025 - version 2.1.4: Added some more descriptions in the variable sections # Jul 30 2025 - version 2.1.3: Final touches - just trying to dial in all the timings on everything. Done... unless I find more lol # Jul 28 2025 - version 2.1.2: Few more tweaks and adjustments (mostly to Gold Drop, Loot Storage and Arrow Cleanup sections) # Jul 25 2025 - version 2.1.1: Adjusted arrow pickup code and other minor timing and order of operations tweaks throughout (99.99% done now, I think!) # Jul 24 2025 - version 2.1.0: Tweaked the attack target timing, fixed bug in Gold Drop loop and added more bandage/heal pot checkpoints # Jul 03 2025 - version 2.0.9: Bard archers will now switch to Incendiary ammo while targets are provoked (if using 'Auto Stance Switching') # Jul 02 2025 - version 2.0.8: Fixed broken target checker # Jun 30 2025 - version 2.0.7: Found and squashed a couple more minor bugs and added new target checker # Jun 26 2025 - version 2.0.6: More minor stuff - calling it done for now! (unless I find any more bugs lol) # Jun 26 2025 - version 2.0.5: More small tweaks, adjustments and improvements # Jun 23 2025 - version 2.0.4: Bug fixes and minor adjustments in barding skills section # Jun 19 2025 - version 2.0.3: Minor adjustments and bug fixes - getting close to "finished" # Jun 17 2025 - version 2.0.2: Fixed error in AutoExplosionPots section and tweaked the order of a few things in the combat loop # Jun 15 2025 - version 2.0.1: Public re-release of updated script (no more required cooldowns, improved target and healing systems, more features, etc.) /////////////////// //' TIPS: '// /////////////////// # IMPT! (IF USING AUTO RECALL): # FIRST RUN OF SCRIPT SHOULD BE COMPLETED IN HOUSE/INN ROOM/BANK (ie. location of your Auto Recall rune) AND TAKES ROUGHLY 20 SECONDS TO COMPLETE INITIAL (ONE TIME) SETUP! # Initial setup can be redone by setting 'ResetScriptPermanentVariables' variable to '1' below! # Or you can re-target script variables (ie. Runebook, Loot Chest, Loot Bag, Storage Tome Container, etc.) individually in the 'Options' tab above the script # # # ***' BASIC OPERATION: '*** # This script does it all for a Dexxer! MOBs are automatically targeted and attacked and your character is kept healed and buffed (based on your settings below) # I play primarily using a handheld (Asus ROG Ally), so my goal was to automate everything except movement and looting (which cannot be scripted) # With this script, and the right variables, I can farm indefinitely (farm until auto weight recall, stashes loot, resets loadout, then chiv gates back into action. Repeat) # Even if you are killed, the script can identify gates and healers, resurrect automatically, dress your char, recall home, resupply and then setup your pack again. # I use this script myself each day and it has taken me over 500 days to put together. It is always a work in progress, but hopefully 3.1.2 is the final build for a while! # # MOST FEATURES ARE TURNED OFF by default ('0' is OFF and '1' is ON unless otherwise stated) Check the USER VARIABLES section carefully before your first run!! # # # *** 'WAR MODE' vs 'PEACE MODE' : *** # The script operates in two core modes: # # 'WAR MODE' = Normal farming/combat/MOB targeting while keeping you healed # 'PEACE MODE' = Alternate stances/finishers while in combat OR Recall/Dungeon Escape when no targets are nearby # # While IN COMBAT: # Toggling to 'PEACE MODE' can switch Weapon/Shield STANCES and/or FINISHERS (if enabled) # You will automatically return to 'WAR MODE' when target is eliminated or changed # # While NO TARGETS are nearby: # Toggling 'PEACE MODE' can trigger 'AUTO RECALL' or 'AUTO DUNGEON ESCAPE' (based on your variables below and 'DUNGEONMODE'/'WILDERNESSMODE' settings above) # In 'WAR MODE' you will continue to search for and analyze potential new targets while keeping healed and storing loot (if enabled) # # ***' COMBAT / HEALING: '*** # Your WEAPON and/or SHIELD will be automatically equipped (or an overhead warning displayed) based on 'EnableAutoEquipWeapon' and 'EnableShieldCheck' settings below # 'EnableAutoEquipWeapon' setting of '0' will notify if weapon not found in hand but requires manual equipping # 'EnableAutoEquipWeapon' setting of '1' will auto equip weapon based on first weapon skill > 50 if hands are empty (prioritizing aspect weapons and ignoring unidentified) # 'EnableAutoEquipWeapon' setting of '2' will work for multi combat skill builds and requires manual weapon equipping initially and when switching weapon classes (more info below) # # CHIVALRY skill is highly recommended for dexxer builds! For the swing speed buffs and uninterruptible heals alone. Requires equal or higher skill in Tactics. # The script prioritizes healing (attempts to keep 4-5 Holy Symbols available for NOBLE SACRIFICE or HOLY LIGHT) and swing speed buff active (DIVINE FURY) # Extra symbols can be used for CONSECRATE WEAPON, ENEMY OF ONE, CLOSE WOUNDS and/or CLEANSE BY FIRE # Highly recommend use of DIVINE FURY for large swing speed increase (goal is always to be capped on Swing Speed - check in STATS or via OutlandsButler.com) # Chivalry Mastery Chain Links or HOLY ASPECT can increase your maximum available symbols, but I have always found 12 to be sufficient # # POTIONS are automatically consumed as needed (if enabled) - MANUAL POTION USE MAY DISRUPT SCRIPT TIMING # You can use Potion Kegs and set your target fill amounts below. The script will then maintain that amount of potions (to reduce carry weight and increase amounts) # Make sure to carry empty bottles if using Potion Kegs (enough to cover the sum of your target amounts) and pack extra if Explosion Pots are enabled # AUTO EXPLOSION POTS require 80+ ALCHEMY and will throw Purple Potions at your target during combat (range is adjustable below) # POTION CODEX is highly recommended for reducing heal potion cooldowns, increasing purple potion damage, reducing bleeds, etc. # # BANDAGES will always be applied automatically if found in inventory, Healing skill is greater than 0, HP is not at maximum and not bandaging # HEALERS CODEX also highly recommended to reduce healing times and improve damage and damage resistance # # ASPECT can be whatever suits your build. I personally suggest FROST ARMOUR & WEAPON which works really well for me (and suits Lord Glacier!) # The script can also trigger defensive codex stances during FROST SHELL COOLDOWN for further protection if heavily damaged # # ***' WEAPON / SHIELD CODEX: '*** # WEAPON CODEX STANCES can be auto-selected in USER VARIABLES or controlled automatically with AUTO STANCE SWITCHING (or disabled for manual use) # WEAPON ABILITIES can also be selected and will trigger during combat (when available) and use optional Razor COOLDOWNS for display on your UI bars # If using ARMS LORE skill, you will potentially need to adjust the WEAPON ABILITY COOLDOWN value in USER VARIABLES # For builds with multiple combat skills, 'EnableAutoEquipWeapon' setting '2' will auto-detect active weapon class and adjust CODEX STANCES, ABILITIES, FINISHERS, etc. # # ***' BARDING: '*** # BARDING SKILLS are fully supported and can be used with any instrument and any weapon class or arrangement of skills # Make sure [ShowBardingDurations is ENABLED in the UO client! # BARD CODEX use is highly recommended and bards require 5 points in 'Self Taught' to drop Musicianship skill (for Tri-Bard template above) # Targeted MOBs will be automatically pacified, discorded and (if multiple targets available) provoked based on skill levels and variables below # # ***' AUTO RECALL / DUNGEON ESCAPE: '*** # Optional AUTO RED RECALL or AUTO RED DUNGEON ESCAPE triggered either by TRACKING SKILL (40, 50 OR 60+ tiles) or standard TARGETING (~12 tiles) # Tracking is great, but even just the basic PK radar to react when reds come into target range (hotkey Target Closest Red) is great for survival! # Also an optional AUTO WEIGHT RECALL or AUTO WEIGHT DUNGEON ESCAPE triggered by weight limit settings (below) # Or you can trigger an optional MANUAL RECALL/DUNGEON ESCAPE by toggling PEACE MODE while no targets are nearby # # Recall can trigger your own personal recall script or else you can use the built in script with TONS of options for unloading, resetting, etc. # To select new runebook and storage containers you can reset the script below (or manually retarget items using the 'Options' tab above the script) # # ***' LOOT / INVENTORY: '*** # ORGANIZER AGENT-01 is used for the optional MAIN INVENTORY pouch setup # ORGANIZER AGENTS 06-09 can be used as sub-containers inside your LOOT CHEST (if enabled below) when using AUTO RECALL # # If 'EnablePutLootinLockBox' is on, having a WOODEN BOX + COPPER KEY in inventory will automatically secure looted items while farming # Do NOT keep the copper key inside the wooden box and do NOT keep the key somewhere it can be easily stolen (I keep mine in my Loot/Grab bag) # Aspect weapons are ignored automatically during storage and up to 5 additional item serials can be excluded in USER VARIABLES below # These exclusions are useful for spellbooks, extra weapons, shields or anything else you do NOT want locked away # Items NOT on the ignore list will be automatically moved to wooden box and locked inside for thief protection (during NO TARGET loop) # # ***' DEATH / RESURRECTION: '*** # If you die, the DEATH LOOP will automatically indicate and select moongates, then travel to the last gated town and search for a HEALER # Once a healer is found nearby, the script will automatically select the resurrection gump to heal you # A Razor Dress List named 'UltimateDexxer' can be used to automatically re-equip your [blessed] wearables after resurrection # The script can then Recall home, resupply, heal, reactivate Aspect and get you ready to return to farming quickly # # Optional INVENTORY RESET can rebuild your backpack after DEATH, including trapped pouch stacks, loot bag and other QOL and anti-theft organization # Must use Built-in Auto Recall script if using INVENTORY RESET or any of the other features mentioned # # # ***' OTHER TIPS: '*** # OVERHEAD MESSAGES are plentiful and enabled by default but can be reduced/disabled in USER VARIABLES (minimal target indicators always remain) # Razor TEXT FILTERS are highly recommended to hide redundant system messages and other Razor spam # Optional Razor COOLDOWNS are listed below - they are NOT required for script function and are mainly useful for UI display # # There are a LOT of variables below and most are turned OFF by default. They all have brief descriptions and/or should be self-explanatory (hopefully) # Setting up the script initially can be a bit of a pain - but once it is done it should run pretty smoothly and will hopefully help your grind. # I highly recommend trying on a handheld (like my ROG Ally) and, with this script, the game is great fun to play literally anywhere! # # If you come across any repeatable bugs, have suggestions for improvements or additions or have any problems I can be reached at: dan@danstockman.com # I am not great at replying quickly to anything (or at all) but I will do my best lol # # # My own self-tested PURE DEXXER and TRIBARD templates are listed at the top (along with suggested inventory), but the script is designed to support many different builds! # Good luck out there and say hey if you see me out in Avadon. I might not be able to reply (only on screen keyboard on the Ally) but I enjoy the recognition # # - Dan (aka. Lord Glacier) ############################################################################################################################# # # # //////////////////////////////// # # //' RESET SCRIPT HERE: '// # # //////////////////////////////// # # # # SET THIS VALUE TO '1' AND RUN SCRIPT TO UNSET ALL PERMANENT SCRIPT VARIABLES: # # # @setvar! ResetScriptPermanentVariables 0 # # # THEN RETURN 'ResetScriptPermanentVariables' TO '0' TO RESTART INITIAL SETUP... # # # # Or you can re-target script variables individually in the 'Options' tab above the script! # # These variables are AUTO RECALL related (Runebook, Loot storage, etc.) so can be ignored if not enabled # # # ############################################################################################################################# ##################################################### ###' OPTIONAL COOLDOWNS TO ADD IN UO CLIENT: '### ###' (case sensitive!) '### ##################################################### # Bandaging (set as bandage timer) # Healing Potion # Weapon Ability // CHIVALRY ONLY: # Holy Light # Noble Sacrifice # Cleanse By Fire # Close Wounds # Divine Fury # Enemy Of One # Consecrate Weapon // SWORDS ONLY: # Spinslash Ability # Rend Ability # Chop Ability // MACING ONLY: # Pummel Ability # Stun Ability # Smash Ability // FENCING ONLY: # Gambit Ability # Swiftstrikes Ability # Bane Ability // ARCHERY ONLY: # Skirmish Ability # Full Draw Ability # Repeater Ability // WRESTLING ONLY: # Brawl Ability # Haymaker Ability # Takedown Ability // THROWING ONLY: # Clash Ability # Blitz Ability # Hail Mary Ability // DUAL WIELDING ONLY: # Bladewhirl Ability # Knightly Ability # Knave Ability // BARDING ONLY: # Peacemaking # Provocation # Discordance # Pacified # Provoked # Discorded # Peacemaking Buff # Provocation Buff # Discordance Buff // FROST ASPECT ONLY: # Frost Shell Cooldown # Frost Shell Active // ALCHEMY ONLY: # Purple Potion # Panacea Potion ########################################################################################################################### # MOST FEATURES ARE TURNED 'OFF' BY DEFAULT! PLEASE CHECK THE 'VARIABLES' SECTION BELOW CAREFULLY DURING INITIAL SETUP! # ########################################################################################################################### ############################### ###' USER VARIABLES: '### ############################### /////////////////////// //' OFFENSIVE : '// /////////////////////// @setvar! EnableAutoEquipWeapon 1 # '0' = DISABLED - Weapons are equipped manually (script will only warn if you are unarmed/disarmed) # '1' = SKILL CHECK - Auto-equips from your single combat skill > 50 (prioritizes Aspect weapons and ignores unidentified items) # '2' = WEAPON CHECK - Best for builds with multiple combat skills > 50 - script adapts to the weapon class currently equipped # Manually changing weapon class will also change the matching stances, finishers and abilities below # If disarmed, script first tries to re-equip your most recently used weapon, then falls back to skill/inventory priority # NOTE: Mixed ranged + melee builds use the ranged 'TargetAttackRange' setting below @setvar! EnableAlwaysTargetClosest 1 # '0' = Keep the current target locked until it dies, leaves range (set below) or the script is manually restarted # '1' = Always switch to the closest eligible MOB @setvar! TargetAnalyzeRange 12 # Maximum range to search for and analyze potential new targets (recommend 12 tiles) # Must be greater than 'TargetDisengageRange' below # Attack ranges if using 'RANGED WEAPONS' (Archery or Throwing): if skill 'Archery' > 50 or skill 'Throwing' > 50 @setvar! TargetAttackRange 8 # Bows can fire at targets up to 10 tiles away # Crossbows, Great Bow and Throwing Weapons can fire at targets up to 8 tiles away @setvar! TargetDisengageRange 10 # You can set your range to disengage the target MOB ('1-10' tiles) for ranged weapons # Once a target is within your 'TargetAttackRange' it will be attacked until you leave 'TargetDisengageRange' # 'TargetDisengageRange' must be equal to or greater than your 'TargetAttackRange' and less than 'TargetAnalyzeRange' # If you are inside 'TargetDisengageRange' but outside 'TargetAttackRange' an overhead message will warn you to get closer # Target will switch if 'EnableAlwaysTargetClosest' is enabled above and closer MOB is detected but attack loop continues else # Attack ranges if using 'MELEE WEAPONS' (Swords, Macing, Fencing, Wrestling or Dual Wielding): @setvar! TargetAttackRange 1 # Recommended to leave this value at '1' for melee weapons @setvar! TargetDisengageRange 5 # You can set your range to disengage the target MOB ('1-10' tiles) for melee weapons # Once a target is within your 'TargetAttackRange' it will be attacked until you leave 'TargetDisengageRange' # 'TargetDisengageRange' must be equal to or greater than your 'TargetAttackRange' and less than 'TargetAnalyzeRange' # If you are inside 'TargetDisengageRange' but outside 'TargetAttackRange' an overhead message will warn you to get closer # Target will switch if 'EnableAlwaysTargetClosest' is enabled above and closer MOB is detected but attack loop continues endif @setvar! AfterKillTimer 0 # AfterKillTimer sets the delay after eliminating your target (to give time to loot, skin, etc.) while still keeping you safe # Increase slightly (suggested range of '250-1500') if carving corpses or set to '0' for instant re-targeting @setvar! EnableEatingFood 1 # Will automatically eat delectable food trays when not buffed (very important for swing speed!) @setvar! EnableAutoPoisonWeaponinHand 0 # Requires 80+ Poisoning/Taste ID skill and poison potions in inventory # Will automatically check and apply poison to weapon during combat /////////////////////// //' DEFENSIVE : '// /////////////////////// @setvar! EnableAutoParalyzePouch 1 # Will automatically pop trapped pouches if paralyzed (will also trigger auto recall/dungeon escape, if enabled below) @setvar! EnableShieldCheck 0 # Checks hand for shield and will equip if missing (ignores unidentified magic items) @setvar! EnableAutoTaunting 0 # Requires 80+ Parrying skill and will automatically taunt your target (increases your AR against target) @setvar! ActivateAutoHealHPdiff 50 # Auto Heal SAFETY loop begins when your missing HP reaches this amount # While active, the script prioritizes healing/survival and forces defensive weapon/shield stances where applicable # Potions, Chivalry heals, Cleansing Brews and other enabled defensive options are all prioritized here @setvar! DeactivateAutoHealHPdiff 10 # Prioritized healing loop will continue until this hit point differential is met or exceeded # Keep this setting LESS than 'ActivateAutoHealHPdiff' above # A setting of '0' will restore you to full health before returning to full target or attack mode @setvar! EnableFrostAspect 0 @setvar! FrostAspectTier 0 # Set your Frost Aspect level (if using Frost Aspect) # This will automatically set your optional 'Frost Shell Cooldown' length # Frost Shell will also trigger defensive stance switches (if using codex auto switching below) # Add cooldowns in UO options: 'Frost Shell Cooldown' and 'Frost Shell Active' (case sensitive) ///////////////////// //' POTIONS : '// ///////////////////// @setvar! EnableHealPotion 1 @setvar! HealPotionHPdiff 30 # Adjust HP diff set point for Heal potion consumption # Heal potions will be prioritized over all other healing options (if not on cooldown) @setvar! HealingPotionCooldown 10000 # This value only affects your OPTIONAL COOLDOWN BAR (script uses other checks to verify heal pots are available) # You can reduce this value if using Potion Codex # Add cooldown in UO options: 'Healing Potion' (case sensitive) @setvar! EnableCurePotion 1 # Cure pots will be used as needed (if enabled and found in inventory) @setvar! EnablePanaceaPotion 0 # Requires 80+ Alchemy skill, Cure Potions and Potion Codex in inventory w/ Panacea buff unlocked # Will automatically consume Cure Potion if Bleeding or Diseased @setvar! EnableCleansingBrews 0 # Requires Cleansing Brews in inventory # Will automatically consume Cleansing Brew if Bleeding or Diseased (and not on cooldown) @setvar! EnableRefreshPotion 0 @setvar! RefreshPotionSPdiff 10 # Adjust SP diff set point for Refresh potion consumption @setvar! EnableStrengthPotion 0 @setvar! EnableAgilityPotion 0 @setvar! EnableMagicResistPotion 0 # Strength, Agility and Resist potions will auto-buff when effects wear off (if enabled) * // * If Alchemy skill is greater than 0.0 but less than 2.0 the script will take your next STRENGTH potion BEFORE the effect wears off! // For example, with an Alchemy skill of 1.0 your buff duration will be 2m 05s and a new strength potion is available after 2 mins // Taking your next potion during the extra 5 second buffer will keep your HP at 120 (instead of a temporary drop and HP of 100/120) @setvar! EnableAutoExplosionPots 0 @setvar! PurplePotionTargetRange 1 @setvar! PurplePotionCooldown 15000 # Requires 80+ Alchemy skill to make potions sticky (increase range if using Archery skill - or if preferred) # WARNING: throwing potions in a crowded dungeon may cause you to flag criminal in rare cases! USE AT OWN RISK @setvar! EnableUsePotionKegs 0 # A good way to carry lots of potions without weighing you down # Requires potion kegs and empty bottles (pack extra if using explosion potions) # Will auto fill empty bottles from potion kegs if counts drop below set amounts: @setvar! HealingPotionAmount 5 @setvar! CurePotionAmount 5 @setvar! RefreshPotionAmount 5 @setvar! StrengthPotionAmount 1 @setvar! AgilityPotionAmount 1 @setvar! ResistPotionAmount 1 @setvar! ExplosionPotionAmount 1 @setvar! PoisonPotionAmount 0 //////////////////////// //' CHIVALRY : '// //////////////////////// // OFFENSIVE BUFFS: @setvar! EnableDivineFury 1 @setvar! EnableConsecrateWeapon 0 @setvar! EnableEnemyOfOne 0 # Chivalry offensive buffs, if enabled, will trigger and auto-renew during combat # Buffs will not trigger in combat loop if you will be left with lower than 4 symbols (to keep Holy Light/Noble Sacrifice available) # When prioritized healing loop is active, offensive buff renewal is paused to give priority to defensive buffs # Priority is given to Divine Fury over the others to buff swing speed! # Divine Fury requires 85+ Chivalry skill, Consecrate Weapon requires 65+ Chivalry skill and Enemy of One requires 75+ Chivalry skill // DEFENSIVE BUFFS: @setvar! EnableHolyLight 1 @setvar! HolyLightHPdiff 45 # Set your trigger point for Holy Light heal (if enabled) # Requires 95+ Chivalry skill @setvar! EnableNobleSacrifice 1 @setvar! NobleSacrificeHPdiff 85 # Set your trigger point for Noble Sacrifice heal (if enabled) # Requires 80+ Chivalry skill @setvar! EnableCloseWounds 0 @setvar! EnableCleanseByFire 0 # Chivalry defensive buffs will also trigger during combat as needed (if enabled) # Close Wounds requires 70+ Chivalry skill and Cleanse by Fire requires 60+ Chivalry skill //////////////////////////// //' BARDING SKILLS : '// //////////////////////////// @setvar! TargetBardingRange 10 # Separate target range check for barding skills @setvar! EnablePeacemaking 0 @setvar! EnableProvocation 0 @setvar! EnableDiscordance 0 # Will automatically PEACE, DISCORD and (if targets available) PROVOKE enemies during combat # Requires barding skill levels > 50 and a musical instrument in inventory @setvar! PeacemakingReapply 30000 @setvar! ProvocationReapply 45000 @setvar! DiscordanceReapply 60000 # Script will reapply if bard break is detected (by default) and/or when reapply timer above is met @setvar! EnablePeacemakingBuff 0 @setvar! EnableProvocationBuff 0 @setvar! EnableDiscordanceBuff 0 # Will automatically renew Barding Buffs (if enabled) /////////////////////////// //' CODEX SETTINGS: '// /////////////////////////// ############################# #' WEAPON STANCES: '# ############################# @setvar! EnableWeaponCodexStances 0 # Requires 80+ in Swords, Macing, Fencing, Archery, Wrestling, Dual Wield or Throwing skill and the corresponding WEAPON CODEX in inventory # Weapon stances, finishers and abilities can be set below! # Automatic weapon stance switching, if enabled, will default to certain stances depending on WAR, PEACE or SAFETY (Frost Shell, Bleed, Disease, Poison or low HP) modes (choose below) @setvar! EnableWeaponCodexHotbar 0 # This will keep your Weapon Codex Hotbar open during combat @setvar! SetWeaponCodexStance 0 # '0' for 'Disabled' - Manual selection of Stance in game # '1' for 'Swords/Macing/Fencing/Dual Wield = Aggressive' or 'Archery = Arcane' or 'Wrestling = Dragon' or 'Throwing = Torrent' # '2' for 'Swords/Macing/Fencing/Dual Wield = Defensive' or 'Archery = Fowling' or 'Wrestling = Crab' or 'Throwing = Suppress' # '3' for 'Swords/Macing/Fencing/Dual Wield = Cleave' or 'Archery = Incendiary' or 'Wrestling = Spider' or 'Throwing = Reaper' # '4' for 'Swords = Warrior' or 'Macing = Wildswing' or 'Fencing = Blackguard' or 'Archery = Longshot' or 'Wrestling = Monkey' or 'Throwing = Rake' or 'Dual Wield = Square Off' # '5' for 'Swords = Flaying' or 'Macing = Sunder' or 'Fencing = Fang' or 'Archery = Maiming' or 'Wrestling = Crane' or 'Throwing = Kite' or 'Dual Wield = Shank' # '6' for 'Auto Weapon Stance Switching' - set below! // Choose your AUTO WEAPON STANCES (if using setting '6' above): @setvar! AutoWeaponStanceSetting 0 # '0' for 'Disabled' - Turn this off if using static stance setting ('1-5' above) or if manually selecting stances # # AUTO SETTING '1' WAR: PEACE: SAFETY: # Swords = 'Flaying' 'Aggressive' 'Defensive' # Macing = 'Wildswing' 'Cleave' 'Defensive' # Fencing = 'Blackguard' 'Cleave' 'Defensive' # Archery = 'Arcane' 'Incendiary' 'Fowling' # Wrestling = 'Dragon' 'Spider' 'Crab' # Throwing = 'Torrent' 'Reaper' 'Suppress' # Dual Wield = 'Aggressive' 'Cleave' 'Defensive' # # AUTO SETTING '2' WAR: PEACE: SAFETY: # Swords = 'Warrior' 'Cleave' 'Defensive' # Macing = 'Sunder' 'Aggressive' 'Defensive' # Fencing = 'Fang' 'Aggressive' 'Defensive' # Archery = 'Longshot' 'Maiming' 'Fowling' # Wrestling = 'Crane' 'Monkey' 'Crab' # Throwing = 'Kite' 'Rake' 'Suppress' # Dual Wield = 'Square Off' 'Aggressive' 'Defensive' # # AUTO SETTING '3' WAR: PEACE: SAFETY: # Swords = 'Aggressive' 'Flaying' 'Defensive' # Macing = 'Aggressive' 'Wildswing' 'Defensive' # Fencing = 'Aggressive' 'Blackguard' 'Defensive' # Archery = 'Maiming' 'Arcane' 'Fowling' # Wrestling = 'Monkey' 'Dragon' 'Crab' # Throwing = 'Rake' 'Torrent' 'Suppress' # Dual Wield = 'Square Off' 'Shank' 'Defensive' # # SAFETY = Frost Shell, Bleed, Disease, Poison or Low HP (HPdiff > ActivateAutoHealHPdiff) @setvar! SwitchWeaponStanceCooldown 1000 # Set the cooldown between automatic weapon stance changes (set to '0' for no delay) ######################### #' WEAPON ABILITIES: '# ######################### @setvar! EnableWeaponCodexAbilities 0 # Requires chosen WEAPON ABILITY unlocked in WEAPON CODEX # Selected Weapon Ability will be triggered whenever available during combat! @setvar! EnableWeaponAbilityHotbar 0 # This will keep your Weapon Ability Hotbar open during combat // Enable only one Weapon Ability at a time (per codex) unless using SWORDS * // * Swords can use SPINSLASH and REND simultaneously (set both to '1') // Script checks that target is bleeding before using REND and, if not, will use SPINSLASH # SWORDS WEAPON ABILITIES: @setvar! UseSpinslashAbility 0 @setvar! UseRendAbility 0 @setvar! UseChopAbility 0 # MACING WEAPON ABILITIES: @setvar! UsePummelAbility 0 @setvar! UseStunAbility 0 @setvar! UseSmashAbility 0 # FENCING WEAPON ABILITIES: @setvar! UseGambitAbility 0 @setvar! UseSwiftstrikesAbility 0 @setvar! UseBaneAbility 0 # ARCHERY WEAPON ABILITIES: @setvar! UseSkirmishAbility 0 @setvar! UseFullDrawAbility 0 @setvar! UseRepeaterAbility 0 # WRESTLING WEAPON ABILITIES: @setvar! UseBrawlAbility 0 @setvar! UseHaymakerAbility 0 @setvar! UseTakedownAbility 0 # THROWING WEAPON ABILITIES: @setvar! UseClashAbility 0 @setvar! UseBlitzAbility 0 @setvar! UseHailMaryAbility 0 # DUAL WIELDING WEAPON ABILITIES: @setvar! UseBladewhirlAbility 0 @setvar! UseKnightlyAbility 0 @setvar! UseKnaveAbility 0 # If using ARMS LORE skill, adjust your Weapon Ability Cooldown here: if skill 'Arms Lore' >= 50 @setvar! WeaponAbilityCooldown 30000 endif ######################### #' WEAPON FINISHERS: '# ######################### @setvar! EnableWeaponCodexFinishers 0 # Requires chosen WEAPON FINISHER unlocked in WEAPON CODEX # Selected Weapon Finisher will be auto selected if found to be incorrectly set # Automatic weapon finisher switching (setting '3-4' below) will switch finishers based on WAR or PEACE modes @setvar! SetWeaponCodexFinisher 0 # '0' for 'Disabled' - Manual selection of Weapon Finisher in game # '1' for 'Swords = Bleed' or 'Macing = Pulverize' or 'Fencing = Assassinate' or 'Archery = Ricochet' or 'Wrestling = Chi Thrust' or 'Throwing = Hunter' or 'Dual Wield = En Garde' - 1ST FINISHER # '2' for 'Swords = Execute' or 'Macing = Shatter' or 'Fencing = Flurry' or 'Archery = Pincushion' or 'Wrestling = Zen Strike' or 'Throwing = Hobble' or 'Dual Wield = Coup de Grace' - 2ND FINISHER # '3' for 'Auto Weapon Finisher Switching' - WAR = '1ST FINISHER' PEACE = '2ND FINISHER' # '4' for 'Auto Weapon Finisher Switching' - WAR = '2ND FINISHER' PEACE = '1ST FINISHER' ########################### #' SHIELD STANCES: '# ########################### @setvar! EnableShieldCodexStances 0 # Requires 80+ Parrying skill and SHIELD CODEX in inventory # Shield stances and finishers can be set below! # Automatic shield stance switching, if enabled, will default to certain stances depending on WAR, PEACE or SAFETY (Frost Shell, Bleed, Disease, Poison or low HP) modes (choose below) @setvar! EnableShieldCodexHotbar 0 # This will keep your Shield Codex Hotbar open at all times @setvar! SetShieldCodexStance 0 # '0' for 'Disabled' - Manual selection of Stance in game # '1' for 'Shield Bash' # '2' for 'Warding' # '3' for 'Testudo' # '4' for 'Mirror' # '5' for 'Bulwark' # '6' for 'Auto Shield Stance Switching' - set below! // Choose your AUTO SHIELD STANCES (if using setting '6' above): @setvar! AutoShieldStanceSetting 0 # '0' for 'Disabled' - Turn this off if using static stance setting ('1-5' above) or manual selection of stance # # '1' for WAR = 'Testudo' # PEACE = 'Bulwark' # SAFETY = 'Warding' # # '2' for WAR = 'Shield Bash' # PEACE = 'Bulwark' # SAFETY = 'Warding' # # '3' for WAR = 'Bulwark' # PEACE = 'Mirror' # SAFETY = 'Warding' # # SAFETY = Frost Shell, Bleed, Disease, Poison or Low HP (HPdiff > ActivateAutoHealHPdiff) @setvar! SwitchShieldCodexCooldown 1000 # Set the cooldown between automatic shield stance changes (set to '0' for no delay) ######################### #' SHIELD FINISHERS: '# ######################### @setvar! EnableShieldCodexFinishers 0 # Requires chosen SHIELD FINISHER unlocked in SHIELD CODEX # Selected Shield Finisher will be auto selected if found to be incorrectly set # Automatic shield finisher switching (setting '3-4' below) will switch finishers based on WAR or PEACE modes @setvar! SetShieldCodexFinisher 0 # '0' for 'Disabled' - Manual selection of Shield Finisher in game # '1' for 'Last Stand' - 1ST FINISHER # '2' for 'Barrier' - 2ND FINISHER # '3' for 'Auto Shield Finisher Switching' - WAR = '1ST FINISHER' PEACE = '2ND FINISHER' # '4' for 'Auto Shield Finisher Switching' - WAR = '2ND FINISHER' PEACE = '1ST FINISHER' ////////////////////////// //' UTILITY / LOOT : '// ////////////////////////// @setvar! EnableOverheadMessages 1 # '0' = MINIMAL - Most overhead messages OFF (basic target indicators remain) # '1' = FULL - All available overhead messages ON # '2' = IMPORTANT - Targeting + important warnings only (my preferred mode!) @setvar! EnableAutoCarving 0 # Will automatically carve nearby corpses when found (requires SKINNING KNIFE in inventory) @setvar! EnableAutoSatchels 0 # Will automatically move potions and/or reagents to satchels (requires POTION and/or WIZARD SATCHELS) @setvar! EnableGoldVacuum 0 # Will automatically pickup discarded GOLD COINS nearby (within 2 tiles) # WARNING: This can cause you to grab large stacks of gold (and weigh you down) if you are not careful! @setvar! EnableDungeonCleanup 0 # Will automatically pickup discarded resources (regs, ingots, boards, etc.) nearby (within 2 tiles) @setvar! EnableArrowCleanup 0 # Will automatically pickup arrows or bolts from the ground (if Archery skill > 50) @setvar! EnableArcheryWarningMessage 0 @setvar! ArcheryLowAmmoWarningAmount 10 # Overhead warning (independent of other Overhead Messages) for low archery ammunition (if Archery skill > 50) @setvar! EnableDropGoldWhenOverweight 0 @setvar! DropGoldAmount 250 # Will drop set amount of gold repeatedly when overweight until no longer impeded @setvar! EnablePutLootinLockBox 0 # Will move all loot into wooden box and then immediately lock it (requires WOODEN BOX and COPPER KEY) # Key must be kept outside the container (but not in your main pack where it can be stolen) # All loot will be automatically moved and secured while FARMING # This is a MUST for dungeon farming IMO - if you are not using this, you really should! @setvar! StoreLootTimer 4500 # StoreLootTimer is the delay to trigger loot storage after target is eliminated (while NO TARGETS NEARBY) # Setting it too low may interfere with loot collection # But too high can reduce effectiveness (especially in busy dungeons) # Recommend a setting between '2500 - 5000' for ideal balance # Use '>info' to ID anything you do NOT want locked up (up to 5 items) and add the serials here: @setvar! ItemToIgnore1 0x00000000 @setvar! ItemToIgnore2 0x00000000 @setvar! ItemToIgnore3 0x00000000 @setvar! ItemToIgnore4 0x00000000 @setvar! ItemToIgnore5 0x00000000 # Anything you list above will be skipped while securing loot to avoid locking up things you do not want to. These items will be ignored (only during loot transfers) # You should add your [blessed] spellbook (if you have one), extra shields, spare weapons or any other "loot" items that you do not want secured away during combat # Your main weapon and shield (if 'EnableAutoEquipWeapon' and/or 'EnableShieldCheck' are enabled above) and your instrument (for bards) will be ignored automatically @setvar! EnableLootBag 0 # Will open your selected LOOTBAG when unloading at HOME/INN/BANK (if using BUILT IN AUTO RECALL) # This should be the bag that is set as your 'Grab Bag' in Gridloot, etc. # You will be prompted to select a new loot bag whenever one is not found in your inventory # This can be retargeted in the 'Options' tab above the script (or by a full script reset) @setvar! EnableWeightWarningMessage 1 @setvar! GreenWarningDiffWeight 50 @setvar! YellowWarningDiffWeight 25 @setvar! RedWeightLimitDiffWeight 5 # Will display overhead warnings that change colour as they approach your carry weight limit (Green, Yellow and Red) # Red weight limit will trigger AUTO RECALL or AUTO DUNGEON GATE if enabled below (otherwise just an overhead warning) ////////////////////////////////// //' AUTO RECALL / ESCAPE : '// ////////////////////////////////// ########################## #' PK TRIGGERS: '# ########################## // RED RECALL/ESCAPE (w/ TRACKING SKILL): if skill 'Tracking' >= 50 @setvar! EnableTrackingAutoRecall 0 # Tracking Auto Recall must be enabled for Auto Recall/Dungeon Escape to function (w/ Tracking Skill) # Make sure 'Ignore Houses/Ships' is checked in the Tracking skill menu! @setvar! PKTrackingRange 50 # Set your range to trigger Auto Recall/Dungeon Escape # Range can be '40', '50' or '60' tiles (or '0' will trigger Auto Recall/Dungeon Escape regardless of range) @setvar! EnableRedAlertOverhead 1 # If your build has tracking skill, I highly recommend setting up a Razor overhead message instead of using the script one: // This will display PK name/distance overhead when tracked! // Add overhead message w/ a trigger of "Now tracking" and message "[ RED ALERT: {3} ]" (hue 335) // Then a second with a trigger of "Distance to destination" and message "[ {4} TILES AWAY! ]" (hue 253) // Once complete you should disable 'EnableRedAlertOverhead' above if EnableTrackingAutoRecall = 1 if WILDERNESSMODE = 1 # Will trigger 'Auto Recall' if PK comes into 'PKTrackingRange' range in WILDERNESS MODE @setvar! EnableAutoRedRecall 0 elseif DUNGEONMODE = 1 # Will trigger 'Auto Dungeon Gate' if PK comes into 'PKTrackingRange' range in DUNGEON MODE @setvar! EnableAutoRedDungeonGate 0 endif endif // RED RECALL/ESCAPE (w/ NO TRACKING SKILL): elseif skill 'Tracking' < 50 @setvar! EnablePKradar 0 # PK radar must be enabled for Auto Red Recall/Dungeon Escape to function (w/o Tracking Skill) @setvar! EnableRedAlertOverhead 1 # Optional overhead message alert when PK is targeted (independent of other overhead settings) if EnablePKradar = 1 if WILDERNESSMODE = 1 # Will trigger 'Auto Recall' if PK comes into target range (~12 tiles) in WILDERNESS MODE @setvar! EnableAutoRedRecall 0 elseif DUNGEONMODE = 1 # Will trigger 'Auto Dungeon Escape' if PK comes into target range (~12 tiles) in DUNGEON MODE # PK Dungeon Escape can be cancelled by returning to WAR MODE and script will resume @setvar! EnableAutoRedDungeonGate 0 endif endif endif ############################ #' WEIGHT TRIGGERS: '# ############################ if WILDERNESSMODE = 1 @setvar! EnableAutoWeightRecall 0 # Requires that 'EnableWeightWarningMessage' is turned on and configured above # Will trigger 'Auto Recall' when Weight Limit ('RedWeightLimitDiffWeight') is reached in WILDERNESS MODE elseif DUNGEONMODE = 1 @setvar! EnableAutoWeightDungeonGate 0 # Requires that 'EnableWeightWarningMessage' is turned on and configured above # Will trigger 'Auto Dungeon Escape' if Weight Limit ('RedWeightLimitDiffWeight') is reached in DUNGEON MODE endif ############################ #' MANUAL TRIGGERS: '# ############################ if WILDERNESSMODE = 1 @setvar! EnableManualRecall 0 # Turning this on will allow you to manually initiate 'Auto Recall' by toggling PEACE MODE while not in combat (within NO TARGET loop) # Once initiated, there will be a short countdown prior to recalling. You can cancel by toggling WAR MODE before countdown finishes # With this off, the script will only initiate 'Auto Recall' for WEIGHT or for PK triggers (if enabled above) elseif DUNGEONMODE = 1 @setvar! EnableManualDungeonEscape 0 # Turning this on will allow you to manually trigger 'Auto Dungeon Escape' loop by toggling PEACE MODE while not in combat (within NO TARGET loop) # Once initiated, the Auto Dungeon Escape loop will keep you alive and automatically select nearby moongates (cancel by toggling WAR MODE) # With this off, the script will only initiate 'Auto Dungeon Escape' for WEIGHT or for PK triggers (if enabled above) endif ########################### #' DUNGEON ESCAPE: '# ########################### if DUNGEONMODE = 1 if EnableManualDungeonEscape = 1 or EnableAutoWeightDungeonGate = 1 or EnableAutoRedDungeonGate = 1 @setvar! DungeonEscapeTimeLimit 60000 # Time limit for DUNGEON ESCAPE LOOP # Escape Loop can be triggered manually (toggle PEACE MODE while not in combat) and/or via Tracked PK and/or by exceeding Weight Limit (choose above) # If gate has not been found and used within this time, script will attempt to return to attack mode (default is 1 minute) # Dungeon Escape can also be cancelled by returning to WAR MODE and script will resume (if not at weight limit) @setvar! EnableRecallAfterDungeonGate 0 # This will initiate 'Auto Recall' after successfully gating out of a dungeon using any of the 'Auto Dungeon Escape' triggers above endif endif ############################## #' RESURRECTION TRIGGERS: '# ############################## @setvar! EnableRecallAfterResurrection 0 # Must have [blessed] runebook charged w/ scrolls to recall after resurrection! # This will trigger your Auto Recall after being resurrected @setvar! EnableDressAfterResurrection 0 # Must have a Razor 'Dress List' named 'UltimateDexxer' for all your [blessed] wearables // LOADOUT RESET (after DEATH): # This option will re-dress your character and reorganize your backpack after death (see instructions below) # Your pack will be set up with anti-theft measures and all aspects will be reactivated, etc. @setvar! EnableResetInventoryAfterDeath 0 @setvar! EnableSetMainPouchOrganizer01 0 // Requires an equal amount of TRAPPED POUCHES (in shelf loadout) and SCISSORS [blessed] (in backpack) // Loadout also requires 1 UNTRAPPED POUCH (for main inventory - optionally set as Organizer Agent-01 above) and 1 BAG (for loot, etc.) // Script will put scissors in each trapped pouch (to keep them from being grabbed during future shelf loading) // Script then STACKS any trapped pouches on top of your main inventory pouch // Loot bag will be moved into main inventory pouch and automatically set as your Grab Bag for Gridloot, etc. // Script will then hide the stack underneath an ATLAS and put a DECOY TRAPPED POUCH out in the open // ASPECT WEAPON and ARMOR will be re-activated automatically and HP restored to MAX // Loadout reset finishes by opening backpack, main pouch, loot bag and any satchels ####################################################### ####' YOU CAN USE YOUR OWN RAZOR RECALL SCRIPT: '#### ####################################################### # Enable use of your own Razor script for Auto Recall (otherwise script will prompt for a Runebook and use built-in auto recall): @setvar! EnableDIYRecallScript 0 createlist DIYRecallScriptList // Type the name of your own Home Recall Razor script here: pushlist DIYRecallScriptList "YOUR RECALL SCRIPT NAME" # Must use built-in Home Recall script if using Infinite Loop setting! ############################################################ ####' OR USE THE BUILT-IN AUTO RECALL/ESCAPE SCRIPT: '#### ############################################################ // AUTO RECALL DESTINATION (choose only one): @setvar! BankRecall 0 @setvar! OwnerInnRecall 0 @setvar! CoOwnerInnRecall 0 @setvar! InsideHouseRecall 0 @setvar! OutsideHouseRecall 0 @setvar! EnableEquipWeaponAfterHomeRecall 1 # Will equip your weapon after successful auto recall if OutsideHouseRecall = 1 @setvar! EnableCloseMyDoor 0 @setvar! MyDoor 0x00000000 # Use ">info" to ID your own house door (to quickly close it behind you) endif @setvar! EnableHideAtHomeorInn 0 # Will use hiding skill once inside home or inn room // LOADOUT RESET (after RECALL): # Safe, Repair Bench, Resource Stockpile, Storage Shelf, Magic Recycler and/or Loot Chest must be found within 2 tiles! # Storage Tomes can be locked down (within 2 tiles) or located inside Loot Chest or Storage Tome Container @setvar! EnableAutoRecallOverheadMessages 1 # Controls overhead messages for Home Recall section only @setvar! EnableSafeDeposit 0 # Will deposit all gold and doubloons found in inventory @setvar! EnableRepairBench 0 # Will repair all equipment (Repair Bench must have charges available) @setvar! EnableResourceStockpile 0 # Will deposit all resources (ingots, boards, gems, etc.) @setvar! EnableStorageShelf 0 # Will restock shelf and then resupply a fresh loadout @setvar! EnableMagicRecycler 0 # Will add all unidentified magic items to your Recycler @setvar! EnableRecycleItemsWhenFull 0 # If Recycler is full, it will attempt to ID, Recycle and deposit resources (if stockpile nearby) before adding items @setvar! EnableStorageTomes 0 # Will add items to any nearby storage tomes (skill scrolls, dyes, runes, maps, cards, etc) @setvar! EnableStorageTomeContainer 0 # Script checks on ground (2 tiles) or in LOOT CHEST (enable below) by default # Otherwise you can designate a TOME CONTAINER to check for your books @setvar! EnableLootChest 0 # Will open selected chest to store non-shelf/stockpile/tome items in your HOME/INN/BANK (uses Razor organizer agents 06-09) @setvar! EnableReagentSplitter 0 # Will split reagents into smaller stacks after shelf resupply (not really required for this build, but included anyway) // CHIVALRY INFINITE LOOP: # This variable will get you right back into the fight as quickly as possible! (Requires 90+ Chivalry skill for 'Sacred Journey') # After recalling home, script will UNLOAD/REPAIR/RESUPPLY then CHIV GATE back to LAST DUNGEON or CUSTOM WILDERNESS LOCATION # IMPT: MUST USE 'BUILT-IN HOME RECALL SCRIPT' IF USING 'INFINITE LOOP' # Infinite Loop will always be DISABLED if Recall/Gate was triggered due to tracked RED @setvar! EnableInfiniteLoop 0 # '0' = DISABLED # '1' = Return after WEIGHT or MANUAL Auto Recall/Dungeon Escape # '2' = Return after WEIGHT Auto Recall/Dungeon Escape only # Infinite Loop will always be 'disabled' if AUTO RECALL/DUNGEON ESCAPE was triggered due to a tracked PK # Destination will auto select your 'LAST DUNGEON' Chivalry gate if farming in 'DUNGEONMODE' # Destination will auto select your 'CUSTOM LOCATION' Chivalry Gate if farming in 'WILDERNESSMODE' // Automatically selected based on DUNGEONMODE or WILDERNESSMODE setting at top of script! //////////////////////// //' SCRIPT MODES : '// //////////////////////// // I use this variable to set up multiple "modes" with different hotkeys. # Copy and paste to new script and update variables for different setups (Dungeon, Infinite Loop ON/OFF, Wilderness, different Weapon Abilities, etc.) # Just change the NUMBERS (ie. 'elseif ScriptMode = 3'/'@setvar! ScriptMode 3') and overhead message (ie.'overhead "[ LOOP ACTIVE MODE ]" 2116') for each version # Script will only display overhead mode message when switching between script versions or upon first run of a new client login # I use a ROG Ally and set each hotkey to a different button (A, B, X, Y) and have multiple script modes if DUNGEONMODE = 1 if ScriptMode = 1 // Do nothing else overhead "[ DUNGEON MODE ]" 2338 @setvar! ScriptMode 1 hotkey "Toggle War Only" endif elseif WILDERNESSMODE = 1 if ScriptMode = 2 // Do nothing else overhead "[ WILDERNESS MODE ]" 1182 @setvar! ScriptMode 2 hotkey "Toggle War Only" endif endif /////////////////////////// //' MOB IGNORE LIST : '// /////////////////////////// removelist animalsIgnoreList createlist animalsIgnoreList pushlist animalsIgnoreList "a plover" pushlist animalsIgnoreList "a sheep" pushlist animalsIgnoreList "a frenzied ostard" pushlist animalsIgnoreList "a tundra ostard" pushlist animalsIgnoreList "a desert ostard" pushlist animalsIgnoreList "a forest ostard" pushlist animalsIgnoreList "a finch" pushlist animalsIgnoreList "a sparrow" pushlist animalsIgnoreList "a towhee" pushlist animalsIgnoreList "a lapwing" pushlist animalsIgnoreList "a silverback" pushlist animalsIgnoreList "a crow" pushlist animalsIgnoreList "a woodpecker" pushlist animalsIgnoreList "a horse" pushlist animalsIgnoreList "a swift" pushlist animalsIgnoreList "a skylark" pushlist animalsIgnoreList "a hawk" pushlist animalsIgnoreList "a chickadee" pushlist animalsIgnoreList "a cat" pushlist animalsIgnoreList "a dog" pushlist animalsIgnoreList "a black bear" pushlist animalsIgnoreList "a brown bear" pushlist animalsIgnoreList "a bull" pushlist animalsIgnoreList "a cow" pushlist animalsIgnoreList "a chicken" pushlist animalsIgnoreList "a bird" pushlist animalsIgnoreList "an eagle" pushlist animalsIgnoreList "a nuthatch" pushlist animalsIgnoreList "an elk" pushlist animalsIgnoreList "a great hart" pushlist animalsIgnoreList "a kingfisher" pushlist animalsIgnoreList "a hind" pushlist animalsIgnoreList "a llama" pushlist animalsIgnoreList "a sand crab" pushlist animalsIgnoreList "a pig" pushlist animalsIgnoreList "a polar bear" pushlist animalsIgnoreList "a walrus" pushlist animalsIgnoreList "a cougar" pushlist animalsIgnoreList "a goat" pushlist animalsIgnoreList "a raven" pushlist animalsIgnoreList "a magpie" pushlist animalsIgnoreList "a warbler" pushlist animalsIgnoreList "a tern" pushlist animalsIgnoreList "a nightingale" pushlist animalsIgnoreList "a wren" pushlist animalsIgnoreList "a cuckoo" pushlist animalsIgnoreList "a crossbill" pushlist animalsIgnoreList "a starling" pushlist animalsIgnoreList "ADD MOBS TO IGNORE" pushlist animalsIgnoreList "ADD MOBS TO IGNORE" pushlist animalsIgnoreList "ADD MOBS TO IGNORE" pushlist animalsIgnoreList "ADD MOBS TO IGNORE" /////////////////////////// //' END OF VARIABLES! '// /////////////////////////// ################ EDIT BELOW THIS LINE AT YOUR OWN RISK! ##### EDIT BELOW THIS LINE AT YOUR OWN RISK! ##### EDIT BELOW THIS LINE AT YOUR OWN RISK! ##### EDIT BELOW THIS LINE AT YOUR OWN RISK! ################ ///////////////////// // SCRIPT RESET: // ///////////////////// if ResetScriptPermanentVariables = 1 unsetvar AutoRecallChargedRunebook unsetvar FirstRunDexxer unsetvar DexxerAutoPilot unsetvar LootBag unsetvar LootChest unsetvar TomeContainer @setvar! RedTargetFound 0 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 0 @setvar! DisableWeaponFinisher 0 @setvar! DisableShieldFinisher 0 @setvar! DisableVacuums 0 @setvar! AutoRecallTime 0 clearignore overhead "[ SCRIPT VARIABLES RESET... ]" 333 sysmsg "Please return 'ResetScriptPermanentVariables' to '0' to continue!" 153 stop endif /////////////////////// // TIMER SETUPS: // /////////////////////// if AutoRecallTime != 1 and TimeToGo != 1 if not timerexists 'PotionKegPVPCooldown' createtimer 'PotionKegPVPCooldown' settimer 'PotionKegPVPCooldown' 30000 endif if not timerexists "WorldSaveTimer" createtimer "WorldSaveTimer" settimer "WorldSaveTimer" 0 endif if not timerexists "NoTargetTimer" createtimer "NoTargetTimer" settimer "NoTargetTimer" 0 endif if not timerexists "WeaponAbilityTimer" createtimer "WeaponAbilityTimer" settimer "WeaponAbilityTimer" 0 endif if not timerexists 'LootTimer' createtimer 'LootTimer' settimer 'LootTimer' StoreLootTimer endif if not timerexists 'PurplePotionTimer' createtimer 'PurplePotionTimer' settimer 'PurplePotionTimer' 0 endif if not timerexists 'DisarmedTimer' createtimer 'DisarmedTimer' settimer 'DisarmedTimer' 5000 endif if not timerexists 'WeightTimer' createtimer 'WeightTimer' settimer 'WeightTimer' 0 endif if not timerexists 'PKRadar' createtimer 'PKRadar' settimer 'PKRadar' 0 endif if not timerexists 'AmIclosestMOB' createtimer 'AmIclosestMOB' settimer 'AmIclosestMOB' 0 endif if not timerexists 'TauntingTimer' createtimer 'TauntingTimer' settimer 'TauntingTimer' 0 endif if not timerexists "WeaponCodexTimer" createtimer "WeaponCodexTimer" settimer "WeaponCodexTimer" 0 endif if not timerexists "ShieldCodexTimer" createtimer "ShieldCodexTimer" settimer "ShieldCodexTimer" 0 endif if not timerexists "DungeonEscape" createtimer "DungeonEscape" settimer "DungeonEscape" 0 endif if not timerexists "ArrowCleanupTimer" createtimer "ArrowCleanupTimer" settimer "ArrowCleanupTimer" 1000 endif if not timerexists "DungeonCleanup" createtimer "DungeonCleanup" settimer "DungeonCleanup" 0 endif if not timerexists "DungeonCleanupRadar" createtimer "DungeonCleanupRadar" settimer "DungeonCleanupRadar" 0 endif if not timerexists 'TargetTimer' createtimer 'TargetTimer' settimer 'TargetTimer' 4500 endif if not timerexists 'REDALERT' createtimer 'REDALERT' settimer 'REDALERT' 0 endif if not timerexists 'MANAWAIT' createtimer 'MANAWAIT' settimer 'MANAWAIT' 4500 endif if not timerexists 'GETCLOSER' createtimer 'GETCLOSER' settimer 'GETCLOSER' 4500 endif if not timerexists 'GATEHERE' createtimer 'GATEHERE' settimer 'GATEHERE' 4500 endif if not timerexists 'RECALLDELAY' createtimer 'RECALLDELAY' settimer 'RECALLDELAY' 4500 endif if not timerexists 'CANNOTSEE' createtimer 'CANNOTSEE' settimer 'CANNOTSEE' 4500 endif if not timerexists 'TOOFAR' createtimer 'TOOFAR' settimer 'TOOFAR' 4500 endif if not timerexists 'HEALERSEARCH' createtimer 'HEALERSEARCH' settimer 'HEALERSEARCH' 4500 endif if not timerexists 'RUNAWAY' createtimer 'RUNAWAY' settimer 'RUNAWAY' 6000 endif if not timerexists 'STORELOOT' createtimer 'STORELOOT' settimer 'STORELOOT' 6000 endif if not timerexists 'ATTACKTIMER' createtimer 'ATTACKTIMER' settimer 'ATTACKTIMER' 15000 endif if not timerexists 'OverweightMessageTimer' createtimer 'OverweightMessageTimer' settimer 'OverweightMessageTimer' 4500 endif if not timerexists 'NoTargetMessageTimer' createtimer 'NoTargetMessageTimer' settimer 'NoTargetMessageTimer' 4500 endif if not timerexists 'AnalyzeTargetMessageTimer' createtimer 'AnalyzeTargetMessageTimer' settimer 'AnalyzeTargetMessageTimer' 4500 endif if not timerexists 'PopPouchMessageTimer' createtimer 'PopPouchMessageTimer' settimer 'PopPouchMessageTimer' 4500 endif if not timerexists 'BandageMessageTimer' createtimer 'BandageMessageTimer' settimer 'BandageMessageTimer' 0 endif if not timerexists 'PotionKegTimer' createtimer 'PotionKegTimer' settimer 'PotionKegTimer' 3500 endif if not timerexists 'StrengthPotionMessageTimer' createtimer 'StrengthPotionMessageTimer' settimer 'StrengthPotionMessageTimer' 4500 endif if not timerexists 'AgilityPotionMessageTimer' createtimer 'AgilityPotionMessageTimer' settimer 'AgilityPotionMessageTimer' 4500 endif if not timerexists 'ResistPotionMessageTimer' createtimer 'ResistPotionMessageTimer' settimer 'ResistPotionMessageTimer' 4500 endif if not timerexists 'ExplosionPotionMessageTimer' createtimer 'ExplosionPotionMessageTimer' settimer 'ExplosionPotionMessageTimer' 15000 endif if not timerexists 'CurePotionMessageTimer' createtimer 'CurePotionMessageTimer' settimer 'CurePotionMessageTimer' 4500 endif if not timerexists 'HealPotionMessageTimer' createtimer 'HealPotionMessageTimer' settimer 'HealPotionMessageTimer' 4500 endif if not timerexists 'HealPotionTimer' createtimer 'HealPotionTimer' settimer 'HealPotionTimer' 11000 endif if not timerexists 'RefreshPotionMessageTimer' createtimer 'RefreshPotionMessageTimer' settimer 'RefreshPotionMessageTimer' 4500 endif if not timerexists 'OrganizerAgentTimer' createtimer 'OrganizerAgentTimer' settimer 'OrganizerAgentTimer' 15000 endif if not timerexists 'SkinningTimer' createtimer 'SkinningTimer' settimer 'SkinningTimer' 5000 endif if not timerexists 'WizardSatchelTimer' createtimer 'WizardSatchelTimer' settimer 'WizardSatchelTimer' 60000 endif if not timerexists 'PotionSatchelTimer' createtimer 'PotionSatchelTimer' settimer 'PotionSatchelTimer' 60000 endif if not timerexists "QuiverTimer" createtimer "QuiverTimer" settimer "QuiverTimer" 30000 endif if not timerexists 'HolyLightTimer' createtimer 'HolyLightTimer' settimer 'HolyLightTimer' 31000 endif if not timerexists 'NobleSacrificeTimer' createtimer 'NobleSacrificeTimer' settimer 'NobleSacrificeTimer' 31000 endif if not timerexists 'ChivalryPrevented' createtimer 'ChivalryPrevented' settimer 'ChivalryPrevented' 5000 endif if not timerexists "SongBuffDelay" createtimer "SongBuffDelay" settimer "SongBuffDelay" 0 endif if not timerexists 'Musicianship' createtimer 'Musicianship' settimer 'Musicianship' 5000 endif if not timerexists 'DiscordanceTimer' createtimer 'DiscordanceTimer' settimer 'DiscordanceTimer' 11000 endif if not timerexists "NextTargetCheck" createtimer "NextTargetCheck" settimer "NextTargetCheck" 0 endif if not timerexists "NextTargetTimer" createtimer "NextTargetTimer" settimer "NextTargetTimer" 0 endif if not timerexists "AttackingTimer" createtimer "AttackingTimer" settimer "AttackingTimer" 1000 endif if not timerexists 'TargetAcquired' createtimer 'TargetAcquired' settimer 'TargetAcquired' 4000 endif if not timerexists 'CloseWoundsTimer' createtimer 'CloseWoundsTimer' settimer 'CloseWoundsTimer' 31000 endif if not timerexists 'CleanseByFireTimer' createtimer 'CleanseByFireTimer' settimer 'CleanseByFireTimer' 31000 endif if not timerexists 'DivineFuryTimer' createtimer 'DivineFuryTimer' settimer 'DivineFuryTimer' 31000 endif if not timerexists 'EnemyOfOneTimer' createtimer 'EnemyOfOneTimer' settimer 'EnemyOfOneTimer' 31000 endif if not timerexists 'ConsecrateWeaponTimer' createtimer 'ConsecrateWeaponTimer' settimer 'ConsecrateWeaponTimer' 31000 endif if not timerexists 'AmmunitionTimer' createtimer 'AmmunitionTimer' settimer 'AmmunitionTimer' 6000 endif if not timerexists "LootStorageTimer" createtimer "LootStorageTimer" settimer "LootStorageTimer" 3000 endif if not timerexists "Provoked" createtimer "Provoked" settimer "Provoked" 30000 endif if not timerexists "Pacified" createtimer "Pacified" settimer "Pacified" 30000 endif if not timerexists "Discorded" createtimer "Discorded" settimer "Discorded" 30000 endif if not timerexists "ProvokedTimer" createtimer "ProvokedTimer" settimer "ProvokedTimer" 31000 endif if not timerexists "PacifiedTimer" createtimer "PacifiedTimer" settimer "PacifiedTimer" 31000 endif if not timerexists "DiscordedTimer" createtimer "DiscordedTimer" settimer "DiscordedTimer" 31000 endif if not timerexists "Provocation" createtimer "Provocation" settimer "Provocation" 11000 endif if not timerexists "Discordance" createtimer "Discordance" settimer "Discordance" 11000 endif if not timerexists "Peacemaking" createtimer "Peacemaking" settimer "Peacemaking" 11000 endif if not timerexists "DiscoCheck" createtimer "DiscoCheck" settimer "DiscoCheck" 0 endif if not timerexists "PeaceCheck" createtimer "PeaceCheck" settimer "PeaceCheck" 0 endif if not timerexists "ProvoCheck" createtimer "ProvoCheck" settimer "ProvoCheck" 0 endif if not timerexists "RendTimer" createtimer "RendTimer" settimer "RendTimer" 0 endif if not timerexists "AfterKill" createtimer "AfterKill" settimer "AfterKill" 500 endif if not timerexists "GoldRadar" createtimer "GoldRadar" settimer "GoldRadar" 0 endif if not timerexists "InfiniteLoop" createtimer "InfiniteLoop" settimer "InfiniteLoop" 30000 endif if not timerexists "CleanupRadar" createtimer "CleanupRadar" settimer "CleanupRadar" 0 endif if not timerexists "SatchelTimer" createtimer "SatchelTimer" settimer "SatchelTimer" 0 endif if not timerexists "BoltCleanupRadar" createtimer "BoltCleanupRadar" settimer "BoltCleanupRadar" 0 endif if not timerexists "ArrowCleanupRadar" createtimer "ArrowCleanupRadar" settimer "ArrowCleanupRadar" 0 endif if not timerexists "ClearSysmsgTimer" createtimer "ClearSysmsgTimer" settimer "ClearSysmsgTimer" 30000 endif if not timerexists "AutoHealOverheadTimer" createtimer "AutoHealOverheadTimer" settimer "AutoHealOverheadTimer" 5000 endif if not timerexists "IgnoreMOBtimer" createtimer "IgnoreMOBtimer" settimer "IgnoreMOBtimer" 2500 endif if not timerexists "InventoryCheck" createtimer "InventoryCheck" settimer "InventoryCheck" 5000 endif if not timerexists "RepairTimer" createtimer "RepairTimer" settimer "RepairTimer" 5000 endif if not timerexists "CleansingBrewTimer" createtimer "CleansingBrewTimer" settimer "CleansingBrewTimer" 120000 endif if not timerexists "CleansingBrewOverhead" createtimer "CleansingBrewOverhead" settimer "CleansingBrewOverhead" 15000 endif if not timerexists "DungeonEscapeOverheadTimer" createtimer "DungeonEscapeOverheadTimer" settimer "DungeonEscapeOverheadTimer" 15000 endif if not varexist "WarModeToggledWhileFighting" @setvar! "WarModeToggledWhileFighting" 0 endif if not varexist "NeedtoSecureLoot" @setvar! NeedtoSecureLoot 0 endif if timer "ClearSysmsgTimer" > 30000 clearsysmsg settimer "ClearSysmsgTimer" 0 endif if skill 'Arms Lore' < 50 @setvar! WeaponAbilityCooldown 60000 endif endif # Emote Cooldown @setvar! EnableUseEmotes 1 @setvar! SetEmoteCooldown 30000 # Requires the following emotes to be unlocked: [Awoo, [Yell, [Hurt, [HighFive, [Yes, [Hohoho, [Bark and [Whistle # Requires 'EnableOverheadMessages' set to '1' or '2' # Will use Emotes when Aspect, Codex or Chain Links are leveled up and when entering the Auto Heal loop # Also uses Emotes when certain finishers are performed (W.I.P.) and when target is eliminated # Cooldown defaults to 2 minutes but can be reduced via customizations in-game (375k gold reduces it to 30 seconds) # Add optional cooldown in UO client: 'Emote Cooldown' (case sensitive) if not timerexists "EmoteCooldownTimer" createtimer "EmoteCooldownTimer" settimer "EmoteCooldownTimer" SetEmoteCooldown endif # Juggling Cooldown @setvar! EnableAxeJuggling 0 @setvar! SetAxeJugglingCooldown 30000 # Requires juggling hatchets in inventory, dual wielding skill > 50 and Dual Norse Axes in hands # Only works in DUNGEON MODE due to no mounts and has a minimum 30 second cooldown (set above) # Will juggle hatchets when target is eliminated (if not on cooldown) # Will also trigger emotes if enabled above # Juggling hinders movement for a couple of seconds so flex at your own risk! # Add optional cooldown in UO client: 'Juggling Cooldown' (case sensitive) if not timerexists "JugglingTimer" createtimer "JugglingTimer" settimer "JugglingTimer" SetAxeJugglingCooldown endif @setvar! DisableShieldFinisher 0 @setvar! SkipCheckSection 0 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 if DUNGEONMODE = 1 @setvar! InfiniteLoopDestination 1 elseif WILDERNESSMODE = 1 @setvar! InfiniteLoopDestination 2 endif endif if DUNGEONMODE = 1 and WILDERNESSMODE = 0 // Valid Dungeon Mode elseif DUNGEONMODE = 0 and WILDERNESSMODE = 1 // Valid Wilderness Mode else overhead "[ INVALID SCRIPT STATE! ]" 153 wait 1500 overhead "[ STOPPING SCRIPT! ]" 88 sysmsg "DUNGEONMODE and WILDERNESSMODE must be set to either 1/0 or 0/1. Please ENABLE only one mode!" 69 stop endif ////////////////////// // INITIAL SETUP: // ////////////////////// if AutoRecallTime != 1 and TimeToGo != 1 if not dead if not varexist DexxerAutoPilot overhead "Lord Glacier's Chill Dexxer Auto Pilot Script" 2234 # ' overhead "version 3.1.2" 2234 wait 1000 overhead "Last Updated: October 9, 2026" 88 wait 2500 overhead "Thank you for trying my Dexxer AUTO PILOT script! It appears this may be your first time running it..." 0 wait 4000 overhead "IMPT: Please make sure to check and adjust your required VARIABLES!" 153 wait 3500 overhead "Read the TIPS section at the beginning of the script for more info" 0 wait 4000 setvar DexxerAutoPilot 1 sysmsg "Beginning Lord Glacier's Chill Dexxer Auto Pilot script...... " 88 # ' wait 1000 endif if EnableDIYRecallScript != 1 and IHAVEDIED != 1 if EnableAutoRedRecall = 1 or EnableAutoWeightRecall = 1 or EnableRecallAfterResurrection = 1 or EnableRecallAfterDungeonGate = 1 if not varexist AutoRecallChargedRunebook wait 500 overhead "You have enabled Auto Recall (PK or Weight) and must select a runebook to continue!" 0 wait 1500 overhead "Select your escape runebook..." 253 setvar AutoRecallChargedRunebook wait 500 while targetexists wait 100 endwhile sysmsg "Will cast to 'default rune' in Runebook (if 'casting' enabled) or uses scrolls to 'first location' in Runebook (if no Magery skill)" 153 wait 1500 endif if not find AutoRecallChargedRunebook self overhead "[ NO RUNEBOOK FOUND! ]" 337 wait 1500 overhead "Select your new escape runebook..." 253 wait 500 setvar AutoRecallChargedRunebook wait 250 while targetexists wait 100 endwhile endif endif endif if EnableLootChest = 1 if EnableAutoRedRecall = 1 or EnableAutoWeightRecall = 1 or EnableRecallAfterResurrection = 1 or EnableRecallAfterDungeonGate = 1 if not varexist LootChest wait 500 overhead "Select a secure container to store your Loot..." 253 sysmsg "Can be disabled under script variables section." 0 wait 1000 overhead "Anything that will not go into a Resource Stockpile, Storage Shelf, Tomes or Magic Recycler" 0 overhead "(ie. Skill Orbs, Research Mats, Paragon chests, etc.)" setvar LootChest wait 500 while targetexists wait 100 endwhile sysmsg "Use Razor Organizer Agents 06 - 09 for the Loot Chest and its contents - organize to your own liking!" 0 wait 1500 endif endif endif if EnableStorageTomeContainer = 1 if EnableAutoRedRecall = 1 or EnableAutoWeightRecall = 1 or EnableRecallAfterResurrection = 1 or EnableRecallAfterDungeonGate = 1 if not varexist TomeContainer wait 500 overhead "Please select a secure container to store your Tomes..." 253 sysmsg "Can be disabled under script variables section." 0 wait 1000 overhead "This will cause script to look in this container for any Storage Tomes when unloading loot..." 0 setvar TomeContainer wait 500 while targetexists if diffhits >= ActivateAutoHealHPdiff break endif wait 100 endwhile sysmsg "Turn this variable off if your tomes are stored on the ground in your home/inn room" 0 wait 1500 endif endif endif if EnableLootBag = 1 and IHAVEDIED != 1 if EnableAutoRedRecall = 1 or EnableAutoWeightRecall = 1 or EnableRecallAfterResurrection = 1 or EnableRecallAfterDungeonGate = 1 if not varexist LootBag wait 500 overhead "Please select your loot bag..." 253 wait 1000 overhead "This should be whatever is set as your 'Grab Bag' and will be opened when unloading loot after recalling..." 0 setvar LootBag wait 500 while targetexists and diffhits < ActivateAutoHealHPdiff if diffhits >= ActivateAutoHealHPdiff break endif wait 100 endwhile endif if not find LootBag self overhead "[ NO LOOT BAG ]" 337 wait 1500 overhead "Select your new loot bag..." 253 wait 500 setvar LootBag wait 250 while targetexists if diffhits >= ActivateAutoHealHPdiff break endif wait 100 endwhile endif endif endif if not varexist FirstRunDexxer overhead "Ok, looks like you are all set!" 84 wait 2000 overhead "Good luck out there!" 2234 overhead " - Dan (aka. Lord Glacier)" 2234 wait 1500 hotkey 'Toggle War Only' setvar FirstRunDexxer 1 endif endif endif ############################### ### SCRIPT STARTS HERE: ### ############################### /////////////////// // ALIVE LOOP: // /////////////////// while not dead if dead break endif if paralyzed and EnableAutoParalyzePouch = 1 if findtype "pouch" self yell "[pouch" wait 250 hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 if DUNGEONMODE = 1 @setvar! TimeToGo 1 elseif WILDERNESSMODE = 1 @setvar! AutoRecallTime 1 endif else if timer PopPouchMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ NO MORE POUCHES! ]" 337 settimer PopPouchMessageTimer 0 endif endif endif if EnableDropGoldWhenOverweight = 1 if weight > maxweight and diffhits < ActivateAutoHealHPdiff if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer OverweightMessageTimer > 4500 overhead "[ OVERWEIGHT! ]" 34 settimer OverweightMessageTimer 0 endif endif if DropGoldAmount != 0 clearignore @setvar! DisableVacuums 1 wait 250 if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 100 if "items" in lockboxlabel // Do nothing else dclick key wft 1500 target lockbox if EnableOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif while weight > maxweight and diffhits < ActivateAutoHealHPdiff if findtype "gold coin" self as easycomeeasygo lift easycomeeasygo DropGoldAmount droprelloc 0 0 getlabel backpack packdesc if EnableOverheadMessages = 1 overhead "[ DROPPING GOLD... ]" 149 endif wait 250 if insysmsg "cannot drop anything" drop backpack -1 -1 -1 break endif wait 250 else break endif if diffhits >= ActivateAutoHealHPdiff break endif endwhile if diffhits >= ActivateAutoHealHPdiff break endif endif endif endif if AutoRecallTime != 1 and TimeToGo != 1 if EnableTrackingAutoRecall = 1 and skill 'Tracking' > 50 if not findbuff 'tracking' while not gumpexists 4267467659 useskill 'tracking' wait 250 waitforgump 4267467659 5000 endwhile if gumpexists 4267467659 while not insysmsg "You will now hunt all hostile players." gumpresponse 8 4267467659 waitforgump 4267467659 5000 wait 100 endwhile gumpresponse 6 4267467659 wait 500 clearsysmsg endif gumpclose 4267467659 if EnableOverheadMessages = 1 overhead "[ RED RECALL ACTIVATED! ]" 334 endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg endif endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 endif endif endif if timer "AttackingTimer" > 500 if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange attack ClosestTarget settimer "AttackingTimer" 0 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetDisengageRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif endif endif if EnableUsePotionKegs = 1 and findtype 'empty bottle%s%' self and findtype 'keg' self and timer 'PotionKegPVPCooldown' > 30000 if not timerexists PotionKegTimer createtimer PotionKegTimer settimer PotionKegTimer 5000 endif @setvar! PotionStockCheck 0 while PotionStockCheck < 8 and findtype 'empty bottle%s%' self @setvar! PotionAmounttoFill 0 if PotionStockCheck = 0 if ExplosionPotionAmount != 0 @setvar! PotionType 3853 @setvar! KegColour 419 @setvar! PotionAmounttoFill ExplosionPotionAmount endif @setvar! PotionStockCheck 1 elseif PotionStockCheck = 1 if HealingPotionAmount != 0 @setvar! PotionType 3852 @setvar! KegColour 253 @setvar! PotionAmounttoFill HealingPotionAmount endif @setvar! PotionStockCheck 2 elseif PotionStockCheck = 2 if CurePotionAmount != 0 @setvar! PotionType 3847 @setvar! KegColour 44 @setvar! PotionAmounttoFill CurePotionAmount endif @setvar! PotionStockCheck 3 elseif PotionStockCheck = 3 if RefreshPotionAmount != 0 @setvar! PotionType 3851 @setvar! KegColour 37 @setvar! PotionAmounttoFill RefreshPotionAmount endif @setvar! PotionStockCheck 4 elseif PotionStockCheck = 4 if StrengthPotionAmount != 0 @setvar! PotionType 3849 @setvar! KegColour 956 @setvar! PotionAmounttoFill StrengthPotionAmount endif @setvar! PotionStockCheck 5 elseif PotionStockCheck = 5 if AgilityPotionAmount != 0 @setvar! PotionType 3848 @setvar! KegColour 93 @setvar! PotionAmounttoFill AgilityPotionAmount endif @setvar! PotionStockCheck 6 elseif PotionStockCheck = 6 if ResistPotionAmount != 0 @setvar! PotionType 3846 @setvar! KegColour 1109 @setvar! PotionAmounttoFill ResistPotionAmount endif @setvar! PotionStockCheck 7 elseif PotionStockCheck = 7 if PoisonPotionAmount != 0 @setvar! PotionType 3850 @setvar! KegColour 363 @setvar! PotionAmounttoFill PoisonPotionAmount endif @setvar! PotionStockCheck 8 endif if PotionAmounttoFill != 0 while counttype PotionType self < PotionAmounttoFill if not findtype 'empty bottle%s%' self if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif if diffhits > 10 break endif if findtype 'keg' self KegColour as myKeg dclick myKeg wait 250 if EnableAutoRecallOverheadMessages = 1 if timer 'PotionKegTimer' > 2000 overhead '[ FILLING POTS... ]' KegColour settimer 'PotionKegTimer' 0 endif endif else if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO KEG TO USE... ]" KegColour settimer 'PotionKegTimer' 0 endif break endif if insysmsg "You have been in combat with another player" settimer "PotionKegPVPCooldown" 0 break endif endwhile if counttype PotionType self < PotionAmounttoFill and not findtype 'empty bottle%s%' self if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif endif endwhile endif if not warmode and WarModeToggledWhileFighting = 1 if SetWeaponCodexStance = 6 or SetShieldCodexStance = 6 or SetWeaponCodexFinisher = 3 or SetWeaponCodexFinisher = 4 or SetShieldCodexFinisher = 3 or SetShieldCodexFinisher = 4 hotkey 'Toggle War Only' endif @setvar! WarModeToggledWhileFighting 0 endif endif ////////////////////////// // AUTO HEALING LOOP: // ////////////////////////// if diffhits >= ActivateAutoHealHPdiff if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 clearsysmsg say "[Hurt" wait 250 if insysmsg 'You have not yet unlocked' say "[Yell" endif settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif settimer WeaponCodexTimer 3000 while diffhits > DeactivateAutoHealHPdiff if dead break endif if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer AutoHealOverheadTimer > 10000 sysmsg 'Prioritized healing loop active until HP is restored to a safe level....' 88 settimer AutoHealOverheadTimer 0 endif endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif while not gumpexists 1387930325 say "[ChivalryHotbar" wait 100 endwhile if gumpexists 1387930325 if ingump "12/" 1387930325 @setvar! HolySymbols 12 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "13/" 1387930325 @setvar! HolySymbols 13 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "14/" 1387930325 @setvar! HolySymbols 14 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "15/" 1387930325 @setvar! HolySymbols 15 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "16/" 1387930325 @setvar! HolySymbols 16 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "17/" 1387930325 @setvar! HolySymbols 17 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "18/" 1387930325 @setvar! HolySymbols 18 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "19/" 1387930325 @setvar! HolySymbols 19 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "20/" 1387930325 @setvar! HolySymbols 20 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "21/" 1387930325 @setvar! HolySymbols 21 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "11/" 1387930325 @setvar! HolySymbols 11 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "10/" 1387930325 @setvar! HolySymbols 10 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "9/" 1387930325 @setvar! HolySymbols 9 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "8/" 1387930325 @setvar! HolySymbols 8 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "7/" 1387930325 @setvar! HolySymbols 7 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "6/" 1387930325 @setvar! HolySymbols 6 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "5/" 1387930325 @setvar! HolySymbols 5 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "4/" 1387930325 @setvar! HolySymbols 4 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "3/" 1387930325 @setvar! HolySymbols 3 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "2/" 1387930325 @setvar! HolySymbols 2 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "1/" 1387930325 @setvar! HolySymbols 1 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "0/" 1387930325 @setvar! HolySymbols 0 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 endif endif if EnableNobleSacrifice = 1 if diffhits >= NobleSacrificeHPdiff and skill "Chivalry" >= 80 and timer 'NobleSacrificeTimer' > 31000 and timer 'ChivalryPrevented' > 5000 and NobleSacrificeAvailable = 1 clearsysmsg yell "[NobleSacrifice" wait 250 if insysmsg "You do not have enough holy" settimer 'ChivalryPrevented' 0 clearsysmsg else wft 1000 target 'self' if EnableOverheadMessages = 1 overhead "[ NOBLE SACRIFICE! ]" 155 endif settimer 'NobleSacrificeTimer' 0 cooldown "Noble Sacrifice" 31000 settimer 'ChivalryPrevented' 4000 endif wait 250 endif endif if EnableHolyLight = 1 if diffhits >= HolyLightHPdiff and skill "Chivalry" >= 95 and timer 'HolyLightTimer' > 31000 and timer 'ChivalryPrevented' > 5000 and HolyLightAvailable = 1 clearsysmsg yell "[HolyLight" wait 250 if insysmsg "You do not have enough holy" settimer 'ChivalryPrevented' 0 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ HOLY LIGHT! ]" 254 endif settimer 'HolyLightTimer' 0 cooldown "Holy Light" 31000 settimer 'ChivalryPrevented' 4000 endif wait 250 endif endif if paralyzed and EnableAutoParalyzePouch = 1 if findtype "pouch" self yell "[pouch" wait 250 hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 if DUNGEONMODE = 1 @setvar! TimeToGo 1 elseif WILDERNESSMODE = 1 @setvar! AutoRecallTime 1 endif else if timer PopPouchMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ NO MORE POUCHES! ]" 337 settimer PopPouchMessageTimer 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnablePanaceaPotion = 1 and skill 'Alchemy' >= 80 if findbuff "Bleed" or findbuff "Diseased" if not findbuff "panacea potion cooldown" if findtype "Orange Potion" self dclicktype "Orange Potion" wait 250 if findbuff "panacea potion cooldown" and EnableOverheadMessages = 1 overhead '[ PANACEA ACTIVATED ]' 55 cooldown "Panacea Potion" 30000 endif endif endif endif endif if EnableCleansingBrews = 1 if findbuff "Diseased" or findbuff "Bleed" if timer CleansingBrewTimer > 120000 if findtype 50675 self 2935 as CleansingBrew dclick CleansingBrew if EnableOverheadMessages = 1 overhead '[ CLEANSING BREW ]' 2117 endif cooldown 'Cleansing Brew' 120000 settimer CleansingBrewTimer 0 wait 250 else if timer CleansingBrewOverhead > 15000 overhead "[ NO CLEANSING BREWS! ]" 337 settimer CleansingBrewOverhead 0 settimer CleansingBrewTimer 0 endif endif else if EnableOverheadMessages = 1 and timer CleansingBrewOverhead > 15000 overhead '[ BREW ON COOLDOWN! ]' 37 settimer CleansingBrewOverhead 0 endif endif endif endif if EnableCurePotion = 1 and not dead while poisoned if EnableCleanseByFire = 1 if skill "Chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if SetWeaponCodexStance = 6 and timer WeaponCodexTimer > 2500 if skill 'Swordsmanship' >= 80 and UsingSwords = 1 if findtype "sword codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Defensive" in MyCodexDesc // Do nothing else yell '[SwordsStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Mace Fighting' >= 80 and UsingMacing = 1 if findtype "macing codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Defensive" in MyCodexDesc // Do nothing else yell '[MacingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Fencing' >= 80 and UsingFencing = 1 if findtype "fencing codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Defensive" in MyCodexDesc // Do nothing else yell '[FencingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Archery' >= 80 and UsingArchery = 1 if findtype "archery codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Fowling" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition2" settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Wrestling' >= 80 and UsingWrestling = 1 if findtype "wrestling codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Crab" in MyCodexDesc // Do nothing else yell '[WrestlingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Throwing' >= 80 and UsingThrowing = 1 if findtype "throwing codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Suppress" in MyCodexDesc // Do nothing else yell '[ThrowingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif elseif skill 'Dual Wielding' >= 80 and UsingDualWield = 1 if findtype "dual wield codex" self as MyCodex getlabel MyCodex MyCodexDesc endif wait 200 if AutoWeaponStanceSetting != 0 if "Defensive" in MyCodexDesc // Do nothing else yell '[DualWieldingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif endif if SetShieldCodexStance = 6 and findbuff "Bleed" or findbuff "Diseased" or poisoned if skill 'Parrying' >= 80 if findtype "shield codex" self as ShieldCodex getlabel ShieldCodex ShieldCodexDesc endif if AutoShieldStanceSetting != 0 if "Warding" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance2' settimer "ShieldCodexTimer" 0 wait 250 endif endif endif endif if EnableCloseWounds = 1 if findbuff "Bleed" or findbuff "Diseased" if skill "chivalry" >= 70 and timer "CloseWoundsTimer" > 31000 and timer "ChivalryPrevented" > 5000 and CloseWoundsAvailable = 1 clearsysmsg yell "[CloseWounds" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CloseWoundsTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Close Wounds" 31000 if EnableOverheadMessages = 1 overhead "[ CLOSE WOUNDS! ]" 48 endif endif wait 250 endif endif endif if EnableCleanseByFire = 1 if skill "chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if EnableRefreshPotion = 1 and diffstam >= RefreshPotionSPdiff if findtype "Red Potion" self dclicktype "Red Potion" if EnableOverheadMessages = 1 overhead "[ REFRESH POTION ]" 37 endif wait 250 else if timer RefreshPotionMessageTimer > 4500 overhead "[ NO REFRESH POTS! ]" 337 settimer RefreshPotionMessageTimer 0 endif endif endif if EnableWeightWarningMessage = 1 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING... ]" 77 settimer "WeightTimer" 0 else overhead " � " 77 settimer "WeightTimer" 0 endif elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING! ]" 153 settimer "WeightTimer" 0 else overhead " � " 153 settimer "WeightTimer" 0 endif elseif diffweight <= RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT LIMIT REACHED! ]" 37 settimer "WeightTimer" 0 else overhead " � " 37 settimer "WeightTimer" 0 endif endif endif if timer "AttackingTimer" > 1000 if varexist DisengagedTarget @unignore DisengagedTarget if not dead DisengagedTarget and find DisengagedTarget ground -1 -1 TargetAnalyzeRange and not find DisengagedTarget ground -1 -1 TargetDisengageRange @ignore DisengagedTarget else unsetvar DisengagedTarget endif endif clearsysmsg hotkey 'target closest grey monster' getlabel backpack backpacklabel wait 250 if insysmsg 'No one matching that' // Do nothing else @setvar! TargetToAnalyze lasttarget getlabel TargetToAnalyze ClosestTargetLabel if inlist animalsIgnoreList ClosestTargetLabel if timer "IgnoreMOBtimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ IGNORING MOB! ]' 333 TargetToAnalyze else overhead " � " 333 TargetToAnalyze endif getlabel backpack backpacklabel settimer "IgnoreMOBtimer" 0 endif @ignore TargetToAnalyze else if find TargetToAnalyze ground -1 -1 6 or find ClosestTarget ground -1 -1 6 if TargetToAnalyze != ClosestTarget @setvar! ClosestTarget lasttarget getlabel ClosestTarget ClosestTargetLabel attack ClosestTarget else attack ClosestTarget endif endif endif endif settimer "AttackingTimer" 0 endif if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer 'TargetAcquired' > 2500 if "Paragon" in TargetDesc and find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " � PARAGON! � " 12 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead "[ TARGET ]" 253 ClosestTarget overhead " � " 253 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 6 and not dead ClosestTarget overhead "[ TARGET ]" 44 ClosestTarget overhead " � " 44 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget endif endif else if timer 'TargetAcquired' > 3000 if "Paragon" in TargetDesc and find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " ��� " 12 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " � " 253 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 6 and not dead ClosestTarget overhead " � " 44 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget endif endif endif if EnableUsePotionKegs = 1 and findtype 'empty bottle%s%' self and findtype 'keg' self and timer 'PotionKegPVPCooldown' > 30000 if not timerexists PotionKegTimer createtimer PotionKegTimer settimer PotionKegTimer 5000 endif @setvar! PotionStockCheck 0 while PotionStockCheck < 8 and findtype 'empty bottle%s%' self @setvar! PotionAmounttoFill 0 if PotionStockCheck = 0 if ExplosionPotionAmount != 0 @setvar! PotionType 3853 @setvar! KegColour 419 @setvar! PotionAmounttoFill ExplosionPotionAmount endif @setvar! PotionStockCheck 1 elseif PotionStockCheck = 1 if HealingPotionAmount != 0 @setvar! PotionType 3852 @setvar! KegColour 253 @setvar! PotionAmounttoFill HealingPotionAmount endif @setvar! PotionStockCheck 2 elseif PotionStockCheck = 2 if CurePotionAmount != 0 @setvar! PotionType 3847 @setvar! KegColour 44 @setvar! PotionAmounttoFill CurePotionAmount endif @setvar! PotionStockCheck 3 elseif PotionStockCheck = 3 if RefreshPotionAmount != 0 @setvar! PotionType 3851 @setvar! KegColour 37 @setvar! PotionAmounttoFill RefreshPotionAmount endif @setvar! PotionStockCheck 4 elseif PotionStockCheck = 4 if StrengthPotionAmount != 0 @setvar! PotionType 3849 @setvar! KegColour 956 @setvar! PotionAmounttoFill StrengthPotionAmount endif @setvar! PotionStockCheck 5 elseif PotionStockCheck = 5 if AgilityPotionAmount != 0 @setvar! PotionType 3848 @setvar! KegColour 93 @setvar! PotionAmounttoFill AgilityPotionAmount endif @setvar! PotionStockCheck 6 elseif PotionStockCheck = 6 if ResistPotionAmount != 0 @setvar! PotionType 3846 @setvar! KegColour 1109 @setvar! PotionAmounttoFill ResistPotionAmount endif @setvar! PotionStockCheck 7 elseif PotionStockCheck = 7 if PoisonPotionAmount != 0 @setvar! PotionType 3850 @setvar! KegColour 363 @setvar! PotionAmounttoFill PoisonPotionAmount endif @setvar! PotionStockCheck 8 endif if PotionAmounttoFill != 0 while counttype PotionType self < PotionAmounttoFill if not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif if diffhits > 10 break endif if findtype 'keg' self KegColour as myKeg dclick myKeg wait 250 if EnableOverheadMessages = 1 if timer 'PotionKegTimer' > 2000 overhead '[ FILLING POTS... ]' KegColour settimer 'PotionKegTimer' 0 endif endif else if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO KEG TO USE... ]" KegColour settimer 'PotionKegTimer' 0 endif break endif if insysmsg "You have been in combat with another player" settimer "PotionKegPVPCooldown" 0 break endif endwhile if counttype PotionType self < PotionAmounttoFill and not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif endif endwhile endif if EnableOverheadMessages = 1 if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ CHAIN LINK UNLOCKED!! ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED!! ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You execute your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ EXECUTION!! ]" 37 endif endif if insysmsg "You shatter your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SHATTERED!! ]" 333 endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ COUP DE GRACE! ]" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*[ PULVERIZED! ]" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SMASHED! ]" 187 ClosestTarget endif endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ CRIPPLED! ]" 187 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "causes you to bleed" overhead "[ YOU ARE BLEEDING... ]" 2118 endif if insysmsg "been struck by an ancient blight" overhead "[ DISEASED... ]" 1109 endif if insysmsg "You feel chilled!" overhead "[ YOU ARE CHILLED... ]" 2234 endif if insysmsg "You resist a disease effect" overhead "[ DISEASE RESISTED! ]" 888 endif if insysmsg "resist a bleed" overhead "[ BLEED RESISTED! ]" 888 endif if insysmsg "The creature pierces and bypasses your armor!" overhead "[ YOU ARE PIERCED... ]" 337 endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget overhead "[ BLEED OUT! ]" 2118 ClosestTarget endif if insysmsg "Your attack causes your target to bleed" and not dead ClosestTarget overhead "[ BLEED! ]" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "[ HINDERED! ]" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "[ DISARMED! ]" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "[ DISARMED! ]" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "[ HAMSTRUNG! ]" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "[ HAMSTRUNG! ]" 337 endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "[ VICIOUS WOUND! ]" 1664 ClosestTarget endif if insysmsg "Barding break avoided" and not dead ClosestTarget overhead "[ BREAK AVOIDED! ]" 84 ClosestTarget endif if insysmsg "You parry the spell" overhead "[ SPELL PARRY ]" 111 endif if insysmsg "Frost Shell activated" overhead "[ FROST SHELL! ]" 2234 endif if insysmsg "Judgment activated" overhead "[ JUDGMENT! ]" 2114 endif if insysmsg "Cacophony activated" overhead "[ j CACOPHONY! j ]" 2241 endif if insysmsg "You perform a feint" overhead "[ FEINT! ]" 187 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif else if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ � CHAIN! � ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead '[ � CODEX! � ]' 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*coup de grace!*" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*bleeding out!*" 2118 ClosestTarget endif endif if insysmsg "You execute your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*executed!*" 2118 ClosestTarget endif endif if insysmsg "You shatter your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*shattered!*" 420 ClosestTarget endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*pulverized!*" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*smashed*" 333 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif if insysmsg "Cacophony activated" overhead " j j j " 2241 endif if insysmsg "You perform a feint" overhead "*feint*" 187 endif if insysmsg "causes your target to bleed" and not dead ClosestTarget overhead "*bleeding*" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget overhead "*crippled*" 333 ClosestTarget endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "*vicious wound*" 1664 ClosestTarget endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "*hindered*" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "*disarmed*" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "*disarmed*" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "*hamstrung*" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "*hamstrung*" 337 endif if insysmsg "You parry the spell" overhead "*spell parry*" 111 endif endif if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange @setvar! SkipCheckSection 1 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 6 @setvar! SkipCheckSection 1 else @setvar! SkipCheckSection 0 endif if diffhits <= DeactivateAutoHealHPdiff if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange @setvar! SkipCheckSection 1 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 6 @setvar! SkipCheckSection 1 else @setvar! SkipCheckSection 0 endif break endif endwhile endif ///////////////////////////// // END AUTO HEALING LOOP // ///////////////////////////// ////////////////////////// // BEGIN AUTO RECALL: // ////////////////////////// if not warmode and WarModeToggledWhileFighting != 1 and not dead if EnableAutoWeightRecall = 1 and AutoWeightRecall = 1 and WILDERNESSMODE = 1 if EnableDIYRecallScript = 1 @setvar! RedTargetFound 0 @setvar! AutoWeightRecall 0 @setvar! AutoRecallTime 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else if targetexists hotkey 'Cancel Current Target' endif hotkey 'Toggle Peace Only' clearsysmsg while not varexist AutoRecallChargedRunebook and EnableDIYRecallScript != 1 overhead "Select your escape runebook..." 253 @setvar! AutoRecallChargedRunebook wait 2500 endwhile while mana < 11 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "MANAWAIT" > 4000 overhead "[ WAITING FOR MANA... ]" 12 settimer "MANAWAIT" 0 endif endif wait 500 endwhile if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ AUTO WEIGHT RECALL! ]" 88 wait 1000 endif @setvar! AutoWeightRecall 0 @setvar! RECALLTIME 1 endif elseif EnableAutoRedRecall = 1 and RedTargetFound = 1 and WILDERNESSMODE = 1 if EnableDIYRecallScript = 1 @setvar! RedTargetFound 0 @setvar! AutoRecallTime 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else if targetexists hotkey 'Cancel Current Target' endif hotkey 'Toggle Peace Only' clearsysmsg while not varexist AutoRecallChargedRunebook and EnableDIYRecallScript != 1 overhead "Select your escape runebook..." 253 @setvar! AutoRecallChargedRunebook wait 2500 endwhile while mana < 11 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "MANAWAIT" > 4000 overhead "[ WAITING FOR MANA... ]" 12 settimer "MANAWAIT" 0 endif endif wait 500 endwhile @setvar! RECALLTIME 1 endif elseif EnableRecallAfterDungeonGate = 1 and DungeonGateThenTimeToGo = 1 and DUNGEONMODE = 1 if EnableDIYRecallScript = 1 @setvar! DungeonGateThenTimeToGo 0 @setvar! AutoRecallTime 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else if targetexists hotkey 'Cancel Current Target' endif hotkey 'Toggle Peace Only' clearsysmsg while not varexist AutoRecallChargedRunebook and EnableDIYRecallScript != 1 overhead "Select your escape runebook..." 253 @setvar! AutoRecallChargedRunebook wait 2500 endwhile while mana < 11 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "MANAWAIT" > 4000 overhead "[ WAITING FOR MANA... ]" 12 settimer "MANAWAIT" 0 endif endif wait 500 endwhile if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ AUTO RECALL! ]" 88 endif @setvar! DungeonGateThenTimeToGo 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 1 endif elseif EnableRecallAfterResurrection = 1 and ResThenTimeToGo = 1 if EnableDIYRecallScript = 1 @setvar! ResThenTimeToGo 0 @setvar! AutoRecallTime 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else if targetexists hotkey 'Cancel Current Target' endif hotkey 'Toggle Peace Only' clearsysmsg while not varexist AutoRecallChargedRunebook and EnableDIYRecallScript != 1 overhead "Select your escape runebook..." 253 @setvar! AutoRecallChargedRunebook wait 2500 endwhile while mana < 11 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "MANAWAIT" > 4000 overhead "[ WAITING FOR MANA... ]" 12 settimer "MANAWAIT" 0 endif endif wait 500 endwhile if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ AUTO RECALL! ]" 88 wait 1000 endif @setvar! ResThenTimeToGo 0 @setvar! RecallScrollsOnly 1 @setvar! RECALLTIME 1 endif elseif AutoRecallTime = 1 if EnableDIYRecallScript = 1 @setvar! AutoRecallTime 0 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else if targetexists hotkey 'Cancel Current Target' endif hotkey 'Toggle Peace Only' clearsysmsg while not varexist AutoRecallChargedRunebook and EnableDIYRecallScript != 1 overhead "Select your escape runebook..." 253 @setvar! AutoRecallChargedRunebook wait 2500 endwhile while mana < 11 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "MANAWAIT" > 4000 overhead "[ WAITING FOR MANA... ]" 12 settimer "MANAWAIT" 0 endif endif wait 500 endwhile if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ AUTO RECALL! ]" 88 wait 1000 endif @setvar! AutoRecallTime 0 @setvar! RECALLTIME 1 endif elseif TimeToGo = 1 if EnableAutoRedDungeonGate = 1 or EnableAutoWeightDungeonGate = 1 or EnableManualDungeonEscape = 1 //////////////////////////// // DUNGEON ESCAPE LOOP: // //////////////////////////// if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if RedTargetFound = 1 and timer "REDALERT" > 5000 overhead "[ !! RED ALERT !! ]" 37 settimer "REDALERT" 0 endif endif settimer "DungeonEscape" 0 getlabel backpack backpacklabel while timer "DungeonEscape" < DungeonEscapeTimeLimit and not dead if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff and not dead if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if EnableNobleSacrifice = 1 or EnableHolyLight = 1 or EnableCleanseByFire = 1 while not gumpexists 1387930325 say "[ChivalryHotbar" wait 100 endwhile if gumpexists 1387930325 if ingump "12/" 1387930325 @setvar! HolySymbols 12 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "13/" 1387930325 @setvar! HolySymbols 13 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "14/" 1387930325 @setvar! HolySymbols 14 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "15/" 1387930325 @setvar! HolySymbols 15 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "16/" 1387930325 @setvar! HolySymbols 16 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "17/" 1387930325 @setvar! HolySymbols 17 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "18/" 1387930325 @setvar! HolySymbols 18 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "19/" 1387930325 @setvar! HolySymbols 19 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "20/" 1387930325 @setvar! HolySymbols 20 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "21/" 1387930325 @setvar! HolySymbols 21 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "11/" 1387930325 @setvar! HolySymbols 11 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "10/" 1387930325 @setvar! HolySymbols 10 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "9/" 1387930325 @setvar! HolySymbols 9 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "8/" 1387930325 @setvar! HolySymbols 8 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "7/" 1387930325 @setvar! HolySymbols 7 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "6/" 1387930325 @setvar! HolySymbols 6 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "5/" 1387930325 @setvar! HolySymbols 5 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "4/" 1387930325 @setvar! HolySymbols 4 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "3/" 1387930325 @setvar! HolySymbols 3 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "2/" 1387930325 @setvar! HolySymbols 2 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "1/" 1387930325 @setvar! HolySymbols 1 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "0/" 1387930325 @setvar! HolySymbols 0 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 endif endif endif if EnableNobleSacrifice = 1 and not dead and RedTargetFound != 1 if diffhits > 50 and skill "Chivalry" >= 80 and timer "NobleSacrificeTimer" > 31000 and timer "ChivalryPrevented" > 5000 clearsysmsg yell "[NobleSacrifice" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else wft 1000 target 'self' if EnableOverheadMessages = 1 overhead "[ NOBLE SACRIFICE! ]" 155 endif settimer "NobleSacrificeTimer" 0 cooldown "Noble Sacrifice" 31000 settimer "ChivalryPrevented" 0 endif wait 250 endif endif if EnableHolyLight = 1 and not dead and RedTargetFound != 1 if diffhits > 30 and skill "Chivalry" >= 95 and timer "HolyLightTimer" > 31000 and timer "ChivalryPrevented" > 5000 clearsysmsg yell "[HolyLight" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ HOLY LIGHT! ]" 254 endif settimer "HolyLightTimer" 0 cooldown "Holy Light" 31000 settimer "ChivalryPrevented" 0 endif wait 250 endif endif if EnablePanaceaPotion = 1 and skill 'Alchemy' >= 80 and RedTargetFound != 1 if findbuff "Bleed" or findbuff "Diseased" if not findbuff "panacea potion cooldown" if findtype "Orange Potion" self dclicktype "Orange Potion" wait 500 if findbuff "panacea potion cooldown" and EnableOverheadMessages = 1 overhead '[ PANACEA ACTIVATED ]' 55 cooldown "Panacea Potion" 30000 endif endif endif endif endif if EnableCleansingBrews = 1 if findbuff "Diseased" or findbuff "Bleed" if timer CleansingBrewTimer > 120000 if findtype 50675 self 2935 as CleansingBrew dclick CleansingBrew if EnableOverheadMessages = 1 overhead '[ CLEANSING BREW ]' 2117 endif cooldown 'Cleansing Brew' 120000 settimer CleansingBrewTimer 0 wait 250 else if timer CleansingBrewOverhead > 15000 overhead "[ NO CLEANSING BREWS! ]" 337 settimer CleansingBrewOverhead 0 settimer CleansingBrewTimer 0 endif endif else if EnableOverheadMessages = 1 and timer CleansingBrewOverhead > 15000 overhead '[ BREW ON COOLDOWN! ]' 37 settimer CleansingBrewOverhead 0 endif endif endif endif if EnableCurePotion = 1 and not dead while poisoned if EnableCleanseByFire = 1 if skill "Chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate dclick EscapeGate wait 150 if dead or warmode break endif endwhile if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate while gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate gumpresponse 2 3899019871 wait 250 endwhile wait 1500 if EnableDIYRecallScript = 1 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else hotkey 'Toggle Peace Only' @setvar! DungeonGateThenTimeToGo 1 @setvar! TimeToGo 1 break endif endif while not gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate dclick EscapeGate wait 150 settimer DungeonEscapeOverheadTimer 0 if dead or warmode break endif endwhile if gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate while gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate gumpresponse 2 3899019871 wait 250 endwhile wait 1500 if EnableDIYRecallScript = 1 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else hotkey 'Toggle Peace Only' @setvar! DungeonGateThenTimeToGo 1 @setvar! TimeToGo 1 break endif endif while not gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate dclick EscapeGate wait 150 settimer DungeonEscapeOverheadTimer 0 if dead or warmode break endif endwhile if gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate while gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate gumpresponse 2 3773199800 wait 250 endwhile wait 1500 if EnableDIYRecallScript = 1 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else hotkey 'Toggle Peace Only' @setvar! DungeonGateThenTimeToGo 1 @setvar! TimeToGo 1 break endif endif while not gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate dclick EscapeGate wait 150 settimer DungeonEscapeOverheadTimer 0 if dead or warmode break endif endwhile if gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate while gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate gumpresponse 2 3899019871 wait 250 endwhile wait 1500 if EnableDIYRecallScript = 1 foreach RecallScript in DIYRecallScriptList script RecallScript endfor else hotkey 'Toggle Peace Only' @setvar! DungeonGateThenTimeToGo 1 @setvar! TimeToGo 1 break endif endif if findtype "moongate" ground -1 1 12 as EscapeGate if timer "GETCLOSER" > 4000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER TO GATE! ]" 253 else overhead " � " 253 endif settimer "GETCLOSER" 0 endif if timer "GATEHERE" > 500 overhead " � " 253 EscapeGate settimer "GATEHERE" 0 endif elseif findtype "blue moongate" ground -1 1 12 as EscapeGate if timer "GETCLOSER" > 4000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER TO GATE! ]" 253 else overhead " � " 253 endif settimer "GETCLOSER" 0 endif if timer "GATEHERE" > 500 overhead " � " 253 EscapeGate settimer "GATEHERE" 0 endif else if timer "RUNAWAY" > 3500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET TO A GATE... ]" 77 else overhead " � " 2118 endif settimer "RUNAWAY" 0 endif endif if diffhits > 0 and not bandaging and not dead if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if warmode if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ ESCAPE CANCELLED! ]" 149 else overhead " � " 149 endif @setvar! AutoRecallTime 0 @setvar! RECALLTIME 0 @setvar! TimeToGo 0 @setvar! RedTargetFound 0 @setvar! WarModeToggledWhileFighting 0 @setvar! SkipInfiniteLoop 0 break endif if EnablePKradar = 1 and RedTargetFound != 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 500 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else if EnableRedAlertOverhead = 1 if timer "REDALERT" > 30000 overhead "[ !! RED ALERT !! ]" 37 settimer "REDALERT" 0 endif endif @setvar! MurdererTarget lasttarget @setvar! SkipInfiniteLoop 1 @setvar! RedTargetFound 1 endif endif endif if dead break endif if EnableAutoParalyzePouch = 1 if paralyzed if findtype "pouch" self yell "[pouch" else if EnableOverheadMessages = 1 overhead "[ NO MORE POUCHES! ]" 337 endif endif endif endif if EnableStrengthPotion = 1 and not dead if not findbuff "Strength" if findtype "White Potion" self dclicktype "White Potion" if EnableOverheadMessages = 1 overhead "[ STRENGTH POTION ]" 956 endif wait 250 else if timer StrengthPotionMessageTimer > 4500 overhead "[ NO STRENGTH POTS! ]" 337 settimer StrengthPotionMessageTimer 0 endif endif endif endif if EnableAgilityPotion = 1 and not findbuff "Agility" and not dead and RedTargetFound != 1 if findtype "Blue Potion" self dclicktype "Blue Potion" if EnableOverheadMessages = 1 overhead "[ AGILITY POTION ]" 93 endif wait 250 else if timer AgilityPotionMessageTimer > 4500 overhead "[ NO AGILITY POTS! ]" 337 settimer AgilityPotionMessageTimer 0 endif endif endif if EnableMagicResistPotion = 1 and not findbuff "Magic Resist" and not dead and RedTargetFound != 1 if findtype "Black Potion" self dclicktype "Black Potion" if EnableOverheadMessages = 1 overhead "[ RESIST POTION ]" 1109 endif wait 250 else if timer ResistPotionMessageTimer > 4500 overhead "[ NO RESIST POTS! ]" 337 settimer ResistPotionMessageTimer 0 endif endif endif if RedTargetFound = 1 if EnableRefreshPotion = 1 and stam < maxstam and not dead if findtype "Red Potion" self dclicktype "Red Potion" if EnableOverheadMessages = 1 overhead "[ REFRESH POTION ]" 37 endif wait 250 else if timer RefreshPotionMessageTimer > 4500 overhead "[ NO REFRESH POTS! ]" 337 settimer RefreshPotionMessageTimer 0 endif endif endif else if EnableRefreshPotion = 1 and diffstam > RefreshPotionSPdiff and not dead if findtype "Red Potion" self dclicktype "Red Potion" if EnableOverheadMessages = 1 overhead "[ REFRESH POTION ]" 37 endif wait 250 else if timer RefreshPotionMessageTimer > 4500 overhead "[ NO REFRESH POTS! ]" 337 settimer RefreshPotionMessageTimer 0 endif endif endif endif if EnableAutoCarving = 1 and findtype 11552 self and RedTargetFound != 1 while findtype "corpse" ground -1 -1 2 as deadbody and diffhits < ActivateAutoHealHPdiff if findtype 11552 self if targetexists hotkey 'cancel current target' endif while not targetexists skill 'forensicevaluation' wait 100 endwhile if targetexists and find deadbody ground -1 -1 2 target 'self' @ignore deadbody wait 500 endif if insysmsg "You dont see anything nearby" clearsysmsg break else if EnableOverheadMessages = 1 and timer SkinningTimer > 3000 overhead "[ SKINNING... ]" 333 settimer SkinningTimer 0 endif endif else if EnableOverheadMessages = 1 and timer SkinningTimer > 15000 overhead "[ NO SKINNING KNIFE ]" 337 settimer SkinningTimer 0 break endif endif endwhile endif if weight > maxweight and EnableDropGoldWhenOverweight = 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer OverweightMessageTimer > 4500 overhead "[ OVERWEIGHT! ]" 34 settimer OverweightMessageTimer 0 endif endif if DropGoldAmount != 0 clearignore @setvar! DisableVacuums 1 wait 250 if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 100 if "items" in lockboxlabel // Do nothing else dclick key wft 1500 target lockbox if EnableOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif while weight > maxweight and diffhits < ActivateAutoHealHPdiff if findtype "gold coin" self as easycomeeasygo lift easycomeeasygo DropGoldAmount droprelloc 0 0 getlabel backpack packdesc if EnableOverheadMessages = 1 overhead "[ DROPPING GOLD... ]" 149 endif wait 250 if insysmsg "cannot drop anything" drop backpack -1 -1 -1 break endif wait 250 else break endif endwhile endif endif endwhile /////////////////////////////// // END DUNGEON ESCAPE LOOP // /////////////////////////////// endif elseif EnableAutoRedRecall = 0 and EnableAutoWeightRecall = 0 // Do nothing elseif EnableAutoRedDungeonGate = 0 and EnableAutoWeightDungeonGate = 0 // Do nothing elseif TimeToGo = 0 and WarModeToggledWhileFighting = 1 @setvar! WarModeToggledWhileFighting 0 else hotkey 'Toggle War Only' endif endif if RECALLTIME = 1 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 endif dclick AutoRecallChargedRunebook waitforgump 1551740969 gumpresponse 2 wait 1000 for 5 wait 500 if insysmsg 'Your concentration is disturbed' dclick AutoRecallChargedRunebook waitforgump 1551740969 gumpresponse 2 wait 1000 clearsysmsg endif endfor if insysmsg 'Your concentration is disturbed' for 5 if diffhits > 25 and timer 'HealPotionTimer' > HealingPotionCooldown if findtype "Yellow Potion" self as healpot dclick healpot wait 250 settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 overhead "[ HEAL POTION ]" 253 endif endif endif while poisoned if findtype "Orange Potion" self as curepot dclick curepot wait 250 endif endwhile clearsysmsg overhead '[ INTERRUPTED! ]' 153 wait 2500 dclick AutoRecallChargedRunebook waitforgump 1551740969 gumpresponse 2 wait 1000 if insysmsg 'Your concentration is disturbed' wait 1500 else break endif endfor endif @clearignore @setvar! RecallScrollsOnly 0 @setvar! RECALLTIME 0 @setvar! TimeToGo 0 @setvar! AutoRecallTime 0 @setvar! RedTargetFound 0 if EnableEquipWeaponAfterHomeRecall = 1 and IHAVEDIED != 1 if find weapon backpack dclick weapon getlabel backpack backpacklabel wait 250 endif if skill 'Swordsmanship' >= 50 and UsingSwords = 1 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self overhead "[ NO WEAPON! ]" 337 else if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Mace Fighting' >= 50 and UsingMacing = 1 if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self overhead "[ NO WEAPON! ]" 337 else if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Fencing' >= 50 and UsingFencing = 1 if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self overhead "[ NO WEAPON! ]" 337 else if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Archery' >= 50 and UsingArchery = 1 if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self overhead "[ NO WEAPON! ]" 337 else if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Wrestling' >= 50 and UsingWrestling = 1 if not findtype '22187|31141|31142' self overhead "[ NO WEAPON! ]" 337 else if not findtype '22187|31141|31142' hand if findtype '22187|31141|31142' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Throwing' >= 50 and UsingThrowing = 1 if not findtype '67713|67723|67734|67744|67754|67764' self overhead "[ NO WEAPON! ]" 337 else if not findtype '67713|67723|67734|67744|67754|67764' hand if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Dual Wielding' >= 50 and UsingDualWield = 1 if not findtype '67773|67774|67775|67776|67777|67778' self overhead "[ NO WEAPON! ]" 337 else if not findtype '67773|67774|67775|67776|67777|67778' hand if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif endif endif if EnableShieldCheck = 1 wait 250 if not findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' lefthand if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel for 5 wait 250 if "unidentified" in ShieldLabel @ignore shield wait 250 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel wait 250 endif else break endif endfor wait 250 dclick shield wait 500 endif endif endif while queued wait 100 endwhile if OutsideHouseRecall = 1 wait 2500 if find MyDoor ground -1 -1 2 and EnableCloseMyDoor = 1 dclick MyDoor overhead "*door slams!*" 0 MyDoor wait 1000 endif wait 2500 elseif OwnerInnRecall = 1 wait 500 say "Innkeeper, I need a room!" 2234 waitforgump 2393832411 gumpresponse 4 wait 1500 elseif CoOwnerInnRecall = 1 wait 500 say "Innkeeper, I need a room!" 2234 waitforgump 2393832411 gumpresponse 5 wait 500 gumpresponse 100 wait 1500 elseif InsideHouseRecall = 1 wait 1000 elseif BankRecall = 1 say "Open my bank!" 2234 wait 1000 else wait 1000 endif if EnableHideAtHomeorInn = 1 useskill "Hiding" wait 500 endif if EnableResetInventoryAfterDeath = 1 and IHAVEDIED = 1 wait 500 if EnableAutoRecallOverheadMessages = 1 overhead "[ RESETTING LOADOUT... ]" 77 endif endif if IHAVEDIED != 1 if EnableLootBag = 1 dclick LootBag wait 500 endif if EnableLootChest = 1 dclick LootChest wait 500 endif if EnableStorageTomeContainer = 1 wait 250 dclick TomeContainer wait 500 endif if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 250 if "items" in lockboxlabel dclick lockbox wait 500 else dclick key wft 1500 target lockbox if EnableAutoRecallOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 dclick lockbox wait 250 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 500 dclick lockbox endif endif elseif EnableAutoRecallOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif if EnableSafeDeposit = 1 if findtype "bank deposit safe" ground -1 -1 2 as safe clearignore while findtype "gold coin" self as gold if findtype "wooden box" self as lockbox if findtype "copper key" self as key getlabel lockbox lockboxlabel if "items" in lockboxlabel wait 500 else dclick key wft 1500 target lockbox wait 250 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO LOCKBOX KEY! ]' 337 endif endif if EnableAutoRecallOverheadMessages = 1 overhead '[ DEPOSITING GOLD... ]' 149 else overhead " � " 149 endif for 5 menu safe 0 wait 500 if not findtype 'gold coins' self break endif endfor break endwhile while findtype 2539 self as dubs if EnableAutoRecallOverheadMessages = 1 overhead '[ DEPOSITING DUBS... ]' 149 else overhead " � " 149 endif for 5 menu safe 0 wait 500 if not findtype '2539' self break endif endfor break endwhile elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO BANK SAFE FOUND ]' 337 wait 1500 endif endif if EnableMagicRecycler = 1 if findtype "ornate elven chest|magic item recycler" ground -1 -1 2 as recycler for 2 getlabel recycler recyclerdesc if EnableRecycleItemsWhenFull = 1 if "(125 items" in recyclerdesc dclick recycler waitforgump 4045111101 gumpresponse 7 waitforgump 4045111101 gumpresponse 6 waitforgump 4045111101 gumpresponse 6 if EnableAutoRecallOverheadMessages = 1 overhead '[ RECYCLING JUNK... ]' 66 else overhead " � " 66 endif wait 500 gumpclose 4045111101 if EnableResourceStockpile = 1 if findtype "resource container" ground -1 -1 2 as resource menu resource 0 wft 1500 target recycler wait 500 if EnableAutoRecallOverheadMessages = 1 overhead '[ PILING RESOURCES... ]' 84 else overhead " � " 84 endif wait 500 elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO RESOURCE STOCKPILE FOUND ]' 337 endif endif menu recycler 1 getlabel backpack backpacklabel if insysmsg "0 recyclable" break else if EnableAutoRecallOverheadMessages = 1 overhead '[ ADDING TO RECYCLER... ]' 6 else overhead " � " 6 endif wait 1500 endif endif endif menu recycler 1 wait 500 if insysmsg "0 recyclable" if EnableAutoRecallOverheadMessages = 1 and timer "InventoryCheck" > 5000 overhead '[ NO MAGIC LOOT! ]' 6 elseif timer "InventoryCheck" > 5000 overhead " � " 6 endif break else if EnableAutoRecallOverheadMessages = 1 overhead '[ ADDING TO RECYCLER... ]' 6 else overhead " � " 6 endif settimer "InventoryCheck" 0 wait 1500 endif wait 500 endfor elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO MAGIC ITEM RECYCLER FOUND ]' 337 endif endif if EnableLootChest = 1 dclick LootChest if EnableAutoRecallOverheadMessages = 1 overhead '[ STASHING LOOT... ]' 69 else overhead " � " 69 endif wait 500 for 2 hotkey "Organizer Agent-06" wait 250 hotkey "Organizer Agent-07" wait 250 hotkey "Organizer Agent-08" wait 250 hotkey "Organizer Agent-09" wait 250 endfor while queued wait 100 endwhile endif if EnableStorageTomes = 1 if EnableStorageTomeContainer = 1 dclick TomeContainer wait 500 endif if findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" ground -1 -1 2 as StorageTome or findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" LootChest as StorageTome or findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" TomeContainer as StorageTome while findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" ground -1 -1 2 as StorageTome menu StorageTome 0 if EnableAutoRecallOverheadMessages = 1 and timer "InventoryCheck" > 3500 overhead '[ STORING TOME ITEMS... ]' 2117 settimer "InventoryCheck" 0 elseif EnableAutoRecallOverheadMessages = 0 and timer "InventoryCheck" > 3500 overhead " � " 2117 settimer "InventoryCheck" 0 endif wait 250 @ignore StorageTome endwhile while findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" LootChest as StorageTome or findtype "70142|70143|70144|70145|70158|70159|70160|70161|70162|70163|70164|70165|70166|70167|70168" TomeContainer as StorageTome menu StorageTome 0 if EnableAutoRecallOverheadMessages = 1 and timer "InventoryCheck" > 3500 overhead '[ STORING TOME ITEMS... ]' 2117 settimer "InventoryCheck" 0 elseif EnableAutoRecallOverheadMessages = 0 and timer "InventoryCheck" > 3500 overhead " � " 2117 settimer "InventoryCheck" 0 endif wait 250 @ignore StorageTome endwhile @clearignore elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO STORAGE TOMES FOUND ]' 337 wait 1500 endif endif if EnableResourceStockpile = 1 if findtype "resource container" ground -1 -1 2 as resource menu resource 0 wft 500 target self if EnableAutoRecallOverheadMessages = 1 overhead '[ PILING RESOURCES... ]' 84 else overhead " � " 84 endif wait 1500 elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO RESOURCE STOCKPILE FOUND ]' 337 wait 1500 endif endif if EnableRepairBench = 1 if findtype "repair bench" ground -1 -1 3 as RepairBench clearsysmsg dclick RepairBench wait 500 if insysmsg "You do not have any items equipped or in your backpack in need of repairs." if EnableAutoRecallOverheadMessages = 1 overhead '[ NOTHING TO REPAIR! ]' 0 endif wait 1500 else if EnableAutoRecallOverheadMessages = 1 overhead '[ REPAIRING EQUIPMENT... ]' 339 else overhead " � " 339 endif settimer RepairTimer 0 while timer RepairTimer <= 5000 if insysmsg "Repair" break endif endwhile if EnableAutoRecallOverheadMessages = 1 overhead '[ ITEMS REPAIRED! ]' 0 wait 500 overhead "Repair took: {{RepairTimer}}ms" 77 else overhead " � " 0 endif wait 500 endif elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO REPAIR BENCH FOUND ]' 337 wait 1500 endif endif endif wait 500 if EnableStorageShelf = 1 if findtype "storage shelf" ground -1 -1 2 as shelf if IHAVEDIED != 1 menu shelf 0 wft 500 target self if EnableAutoRecallOverheadMessages = 1 overhead '[ STORING GOODS... ]' 2114 else overhead " � " 2114 endif wait 500 gumpclose 3232825965 wait 1000 endif menu shelf 1 if EnableAutoRecallOverheadMessages = 1 overhead '[ RESUPPLYING... ]' 93 wait 500 else overhead " � " 93 endif wait 250 if insysmsg 'No resupply' and EnableAutoRecallOverheadMessages = 1 wait 500 overhead '[loadout missing items]' 2117 wait 250 endif wait 500 elseif EnableAutoRecallOverheadMessages = 1 overhead '[ NO STORAGE SHELF FOUND ]' 337 wait 1500 endif endif if EnableResetInventoryAfterDeath = 1 and IHAVEDIED = 1 clearignore if skill 'healing' > 0 and hp < maxhp and not bandaging if findtype 'clean bandage%s%' self and not bandaging hotkey 'Bandage Self' if EnableAutoRecallOverheadMessages = 1 overhead "[ BANDAGING... ]" 88 endif endif wait 500 endif if EnableNobleSacrifice = 1 if diffhits > 50 and skill "Chivalry" >= 80 and timer "NobleSacrificeTimer" > 31000 and timer "ChivalryPrevented" > 5000 clearsysmsg yell "[NobleSacrifice" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else wft 1000 target 'self' if EnableOverheadMessages = 1 overhead "[ NOBLE SACRIFICE! ]" 155 endif settimer "NobleSacrificeTimer" 0 cooldown "Noble Sacrifice" 31000 settimer "ChivalryPrevented" 0 endif wait 250 endif endif if not varexist maininventorybag or not find maininventorybag self overhead "[ SELECT MAIN POUCH... ]" 253 @setvar! maininventorybag wft 500 while targetexists wait 100 endwhile overhead "[ MAIN POUCH SET! ]" 93 wait 500 endif lift maininventorybag wait 500 drop backpack 69 69 0 wait 500 if EnableSetMainPouchOrganizer01 = 1 hotkey 'Set Organizer Hotbag-01' wft 1000 target maininventorybag if EnableAutoRecallOverheadMessages = 1 overhead "[ POUCH SET TO AGENT-01! ]" 84 endif wait 500 endif dclick maininventorybag wait 1000 sysmsg "Auto-selecting your loot/grab bag..." 0 hotkey 'Set Grab Item Hotbag' wft 1500 while targetexists if findtype 'bag' self as grabbag target grabbag wait 500 else wait 1000 sysmsg "Auto-select failed! Please manually target your loot/grab bag!" 0 wait 1000 overhead "[ SELECT GRAB BAG... ]" 253 wait 3500 endif wait 500 endwhile overhead "[ GRAB BAG SET! ]" 93 wait 500 if EnableLootBag = 1 if not find LootBag self wait 500 overhead "Select your new loot bag..." 253 wait 500 @setvar! LootBag wait 500 while targetexists wait 100 endwhile endif endif if find grabbag self lift grabbag wait 500 drop maininventorybag -1 -1 -1 wait 500 @ignore maininventorybag endif while findtype 'scissors' self if findtype 'scissors' self as myscissors if findtype 'pouch' self as trappedpouch lift myscissors wait 250 drop trappedpouch wait 750 lift trappedpouch wait 250 drop backpack 69 69 0 @ignore trappedpouch @ignore myscissors endif endif wait 500 while queued wait 100 endwhile endwhile clearignore while findtype 'pouch' backpack as decoypouch getlabel decoypouch decoypouchlabel wait 250 if '(1 items' in decoypouchlabel lift decoypouch drop backpack 97 97 0 break else @ignore decoypouch endif endwhile if findtype 'atlas' backpack as hidemypouchstack lift hidemypouchstack drop backpack 72 66 0 wait 500 else say "[atlas" wait 500 if findtype 'atlas' backpack as hidemypouchstack lift hidemypouchstack drop backpack 72 66 0 wait 500 endif endif if EnableAutoRecallOverheadMessages = 1 overhead "[ ACTIVATING ASPECT... ]" 2234 wait 500 endif say "[aspect" waitforgump 2424293173 gumpresponse 8 wait 500 gumpresponse 8 wait 250 gumpresponse 17 wait 500 gumpresponse 17 wait 250 gumpclose 2424293173 dclick backpack wait 250 if findtype "storage shelf" ground -1 -1 2 as shelf menu shelf 1 wait 500 endif if find maininventorybag self dclick maininventorybag wait 500 endif if findtype 'alchemists satchel' self as BagofPot dclick BagofPot wait 500 endif if findtype 'reagent satchel' self as WizardBag dclick WizardBag wait 500 endif if find grabbag self dclick grabbag wait 500 endif clearignore @setvar! IHAVEDIED 0 overhead "[ RESET COMPLETE! ]" 69 wait 500 endif if EnableUsePotionKegs = 1 and findtype 'empty bottle%s%' self and findtype 'keg' self and timer 'PotionKegPVPCooldown' > 30000 if not timerexists PotionKegTimer createtimer PotionKegTimer settimer PotionKegTimer 5000 endif @setvar! PotionStockCheck 0 while PotionStockCheck < 8 and findtype 'empty bottle%s%' self @setvar! PotionAmounttoFill 0 if PotionStockCheck = 0 if ExplosionPotionAmount != 0 @setvar! PotionType 3853 @setvar! KegColour 419 @setvar! PotionAmounttoFill ExplosionPotionAmount endif @setvar! PotionStockCheck 1 elseif PotionStockCheck = 1 if HealingPotionAmount != 0 @setvar! PotionType 3852 @setvar! KegColour 253 @setvar! PotionAmounttoFill HealingPotionAmount endif @setvar! PotionStockCheck 2 elseif PotionStockCheck = 2 if CurePotionAmount != 0 @setvar! PotionType 3847 @setvar! KegColour 44 @setvar! PotionAmounttoFill CurePotionAmount endif @setvar! PotionStockCheck 3 elseif PotionStockCheck = 3 if RefreshPotionAmount != 0 @setvar! PotionType 3851 @setvar! KegColour 37 @setvar! PotionAmounttoFill RefreshPotionAmount endif @setvar! PotionStockCheck 4 elseif PotionStockCheck = 4 if StrengthPotionAmount != 0 @setvar! PotionType 3849 @setvar! KegColour 956 @setvar! PotionAmounttoFill StrengthPotionAmount endif @setvar! PotionStockCheck 5 elseif PotionStockCheck = 5 if AgilityPotionAmount != 0 @setvar! PotionType 3848 @setvar! KegColour 93 @setvar! PotionAmounttoFill AgilityPotionAmount endif @setvar! PotionStockCheck 6 elseif PotionStockCheck = 6 if ResistPotionAmount != 0 @setvar! PotionType 3846 @setvar! KegColour 1109 @setvar! PotionAmounttoFill ResistPotionAmount endif @setvar! PotionStockCheck 7 elseif PotionStockCheck = 7 if PoisonPotionAmount != 0 @setvar! PotionType 3850 @setvar! KegColour 363 @setvar! PotionAmounttoFill PoisonPotionAmount endif @setvar! PotionStockCheck 8 endif if PotionAmounttoFill != 0 while counttype PotionType self < PotionAmounttoFill if not findtype 'empty bottle%s%' self if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif if diffhits > 10 break endif if findtype 'keg' self KegColour as myKeg dclick myKeg wait 250 if EnableAutoRecallOverheadMessages = 1 if timer 'PotionKegTimer' > 2000 overhead '[ FILLING POTS... ]' KegColour settimer 'PotionKegTimer' 0 endif endif else if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO KEG TO USE... ]" KegColour settimer 'PotionKegTimer' 0 endif break endif if insysmsg "You have been in combat with another player" settimer "PotionKegPVPCooldown" 0 break endif endwhile if counttype PotionType self < PotionAmounttoFill and not findtype 'empty bottle%s%' self if EnableAutoRecallOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif endif endwhile endif if EnableReagentSplitter = 1 if findtype "reagent satchel" self while findtype "reagent satchel" self as MyWizardBag getlabel MyWizardBag MyWizardBagdesc if 'decorative' in MyWizardBagdesc @ignore MyWizardBag else break endif endwhile sysmsg "Disable 'EnableReagentSplitter' in script variables to turn off this feature!" 0 dclick MyWizardBag wait 500 if EnableAutoRecallOverheadMessages = 1 and timer "InventoryCheck" > 3500 overhead "[ SPLITTING REGS... ]" 111 settimer "InventoryCheck" 0 elseif EnableAutoRecallOverheadMessages = 0 and timer "InventoryCheck" > 3500 overhead " � " 111 settimer "InventoryCheck" 0 endif @setvar! amount 0 @setvar! regsID 3981 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 15 @setvar! amount 2 elseif counttype regsID self <= 30 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 65 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 65 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 65 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 65 0 wait 150 else lift regs amount drop MyWizardBag 142 65 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3962 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 76 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 76 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 76 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 76 0 wait 150 else lift regs amount drop MyWizardBag 142 76 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3976 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 88 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 88 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 88 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 88 0 wait 150 else lift regs amount drop MyWizardBag 142 88 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3974 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 100 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 100 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 100 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 100 0 wait 150 else lift regs amount drop MyWizardBag 142 100 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3980 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 112 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 112 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 112 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 112 0 wait 150 else lift regs amount drop MyWizardBag 142 112 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3973 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 124 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 124 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 124 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 124 0 wait 150 else lift regs amount drop MyWizardBag 142 124 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3963 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 136 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 136 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 136 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 136 0 wait 150 else lift regs amount drop MyWizardBag 142 136 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 3972 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 50 @setvar! amount 10 elseif counttype regsID self <= 100 @setvar! amount 20 elseif counttype regsID self <= 150 @setvar! amount 30 elseif counttype regsID self <= 200 @setvar! amount 40 else @setvar! amount 50 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif if moveRegs = 1 if index = 0 lift regs amount drop MyWizardBag 44 148 0 wait 150 elseif index = 1 lift regs amount drop MyWizardBag 68 148 0 wait 150 elseif index = 2 lift regs amount drop MyWizardBag 96 148 0 wait 150 elseif index = 3 lift regs amount drop MyWizardBag 121 148 0 wait 150 else lift regs amount drop MyWizardBag 142 148 0 wait 150 endif endif @ignore regs if moveRegs = 1 wait 500 endif endwhile @setvar! regsID 8012 @setvar! myCounter 0 while findtype regsID self as r @setvar! myCounter index @ignore r endwhile @clearignore if counttype regsID self <= 5 @setvar! amount 1 elseif counttype regsID self <= 10 @setvar! amount 2 elseif counttype regsID self <= 20 @setvar! amount 4 elseif counttype regsID self <= 40 @setvar! amount 8 else @setvar! amount 15 endif while findtype regsID self as regs @setvar! moveRegs 0 if myCounter = 0 @setvar! moveRegs 1 elseif myCounter != 0 and not find regs MyWizardBag @setvar! moveRegs 1 endif @ignore regs if moveRegs = 1 wait 500 endif endwhile elseif EnableAutoRecallOverheadMessages = 1 overhead "[ NO WIZARD BAG! ]" 337 endif endif if EnableInfiniteLoop != 0 and RedTargetFound != 1 and SkipInfiniteLoop != 1 and skill 'Chivalry' >= 90 @setvar! TimeToGo 0 @setvar! RECALLTIME 0 hotkey 'Toggle War Only' if skill 'Healing' > 30 if not bandaging if hp < maxhp or poisoned or findbuff "Bleed" or findbuff "Diseased" if EnableAutoRecallOverheadMessages = 1 overhead '[ BANDAGING... ]' 88 endif hotkey "Bandage Self" wait 500 endif endif endif if EnableNobleSacrifice = 1 if diffhits > 50 and skill "Chivalry" >= 80 and timer "NobleSacrificeTimer" > 31000 and timer "ChivalryPrevented" > 5000 clearsysmsg yell "[NobleSacrifice" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else wft 1000 target 'self' if EnableAutoRecallOverheadMessages = 1 overhead "[ NOBLE SACRIFICE! ]" 155 endif settimer "NobleSacrificeTimer" 0 cooldown "Noble Sacrifice" 31000 endif wait 250 endif endif if EnableHolyLight = 1 if diffhits > 30 and skill "Chivalry" >= 95 and timer "HolyLightTimer" > 31000 and timer "ChivalryPrevented" > 5000 clearsysmsg yell "[HolyLight" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else if EnableAutoRecallOverheadMessages = 1 overhead "[ HOLY LIGHT! ]" 254 endif settimer "HolyLightTimer" 0 cooldown "Holy Light" 31000 endif wait 250 endif endif if SkipInfiniteLoop != 1 if EnableAutoRecallOverheadMessages = 1 overhead '[ ACTIVATING LOOP! ]' 420 endif sysmsg 'Chivalry Infinite Loop activated! Countdown until gate opens...' 420 wait 2000 endif while SkipInfiniteLoop != 1 sysmsg 'Toggle PEACE MODE to CANCEL Infinite Loop' 153 overhead "3" 69 wait 1500 if not warmode @setvar! SkipInfiniteLoop 1 break endif overhead "2" 69 wait 1500 if not warmode @setvar! SkipInfiniteLoop 1 break endif overhead "1" 69 wait 1500 if not warmode @setvar! SkipInfiniteLoop 1 break endif break endwhile getlabel backpack backpacklabel while timer "InfiniteLoop" < 30000 if timer "NoTargetTimer" < 2500 if EnableAutoRecallOverheadMessages = 1 overhead "[ WAITING TO LOOP... ]" 420 settimer "NoTargetTimer" 0 endif endif wait 500 if not warmode @setvar! SkipInfiniteLoop 1 break endif endwhile getlabel backpack backpacklabel if SkipInfiniteLoop != 1 and warmode if EnableAutoRecallOverheadMessages = 1 overhead "[ �� INFINITE LOOP! �� ]" 420 endif say '[SacredJourney' wait 1000 for 5 if insysmsg "You have been in combat" wait 2000 clearsysmsg say '[SacredJourney' wait 1000 else break endif endfor waitforgump 1482653814 if InfiniteLoopDestination = 2 gumpresponse 4 elseif InfiniteLoopDestination = 1 gumpresponse 2 endif wait 1500 for 5 if findtype 30528 ground -1 -1 1 as ChivGate dclick ChivGate wait 1500 break else wait 1000 endif endfor waitforgump gumpresponse 2 wait 1000 hotkey "Organizer Agent-01" @setvar! IHAVEDIED 0 @setvar! DisableVacuums 0 @setvar! TimeToGo 0 @setvar! SkipInfiniteLoop 0 @setvar! RedTargetFound 0 @setvar! WarModeToggledWhileFighting 0 @setvar! RECALLTIME 0 hotkey 'Toggle War Only' replay else if EnableAutoRecallOverheadMessages = 1 wait 500 overhead '[ INFINITE LOOP SKIPPED! ]' 37 wait 1000 endif hotkey "Organizer Agent-01" @setvar! IHAVEDIED 0 @setvar! DisableVacuums 0 @setvar! TimeToGo 0 @setvar! SkipInfiniteLoop 0 @setvar! RedTargetFound 0 @setvar! WarModeToggledWhileFighting 0 @setvar! RECALLTIME 0 if name = "Glacier" wait 1000 if UsingSwords = 1 script 'My Scripts\Sheath Sword' elseif UsingDualWield = 1 script 'My Scripts\Sheath Axes' endif else overhead "[ SCRIPT COMPLETE! ]" 88 endif stop endif else hotkey "Organizer Agent-01" @setvar! IHAVEDIED 0 @setvar! DisableVacuums 0 @setvar! TimeToGo 0 @setvar! SkipInfiniteLoop 0 @setvar! RedTargetFound 0 @setvar! WarModeToggledWhileFighting 0 @setvar! RECALLTIME 0 if name = "Glacier" wait 1000 if UsingSwords = 1 script 'My Scripts\Sheath Sword' elseif UsingDualWield = 1 script 'My Scripts\Sheath Axes' endif else overhead "[ SCRIPT COMPLETE! ]" 88 endif stop endif endif ////////////////////////// // END AUTO RECALL // ////////////////////////// /////////////////////// // CHECKS: // /////////////////////// if dead break endif if skill 'Swordsmanship' >= 50 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand as weapon @setvar! UsingSwords 1 elseif findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as potentialweapon @setvar! UsingSwords 2 elseif not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self @setvar! UsingSwords 0 endif else @setvar! UsingSwords 0 endif if skill 'Mace Fighting' >= 50 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand as weapon @setvar! UsingMacing 1 elseif findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as potentialweapon @setvar! UsingMacing 2 elseif not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self @setvar! UsingMacing 0 endif else @setvar! UsingMacing 0 endif if skill 'Fencing' >= 50 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand as weapon @setvar! UsingFencing 1 elseif findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as potentialweapon @setvar! UsingFencing 2 elseif not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self @setvar! UsingFencing 0 endif else @setvar! UsingFencing 0 endif if skill 'Archery' >= 50 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand as weapon @setvar! UsingArchery 1 elseif findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as potentialweapon @setvar! UsingArchery 2 elseif not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self @setvar! UsingArchery 0 endif else @setvar! UsingArchery 0 endif if skill 'Wrestling' >= 50 if findtype '22187|31141|31142' hand as weapon @setvar! UsingWrestling 1 elseif findtype '22187|31141|31142' backpack as potentialweapon @setvar! UsingWrestling 2 elseif not findtype '22187|31141|31142' self @setvar! UsingWrestling 0 endif else @setvar! UsingWrestling 0 endif if skill 'Throwing' >= 50 if findtype '67713|67723|67734|67744|67754|67764' hand as weapon @setvar! UsingThrowing 1 elseif findtype '67713|67723|67734|67744|67754|67764' backpack as potentialweapon @setvar! UsingThrowing 2 elseif not findtype '67713|67723|67734|67744|67754|67764' self @setvar! UsingThrowing 0 endif else @setvar! UsingThrowing 0 endif if skill 'Dual Wielding' >= 50 if findtype '67773|67774|67775|67776|67777|67778' hand as weapon @setvar! UsingDualWield 1 elseif findtype '67773|67774|67775|67776|67777|67778' backpack as potentialweapon @setvar! UsingDualWield 2 elseif not findtype '67773|67774|67775|67776|67777|67778' self @setvar! UsingDualWield 0 endif else @setvar! UsingDualWield 0 endif if EnableAutoEquipWeapon = 1 if timer DisarmedTimer > 2500 if skill 'Swordsmanship' >= 50 and UsingSwords != 0 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Mace Fighting' >= 50 and UsingMacing != 0 if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Fencing' >= 50 and UsingFencing != 0 if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Archery' >= 50 and UsingArchery != 0 if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Wrestling' >= 50 and UsingWrestling != 0 if not findtype '22187|31141|31142' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '22187|31141|31142' hand if findtype '22187|31141|31142' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Throwing' >= 50 and UsingThrowing != 0 if not findtype '67713|67723|67734|67744|67754|67764' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '67713|67723|67734|67744|67754|67764' hand if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Dual Wielding' >= 50 and UsingDualWield != 0 if not findtype '67773|67774|67775|67776|67777|67778' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '67773|67774|67775|67776|67777|67778' hand if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif endif else overhead '[ WAITING TO ARM... ]' 154 wait 500 endif elseif EnableAutoEquipWeapon = 2 if timer DisarmedTimer > 2500 if skill 'Swordsmanship' >= 50 if UsingSwords = 1 // Do nothing elseif UsingSwords = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingSwords = 0 overhead "[ NO SWORD WEAPON! ]" 337 wait 500 endif endif if skill 'Mace Fighting' >= 50 if UsingMacing = 1 // Do nothing elseif UsingMacing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingMacing = 0 overhead "[ NO MACE WEAPON! ]" 337 wait 500 endif endif if skill 'Fencing' >= 50 if UsingFencing = 1 // Do nothing elseif UsingFencing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingFencing = 0 overhead "[ NO FENCING WEAPON! ]" 337 wait 500 endif endif if skill 'Archery' >= 50 if UsingArchery = 1 // Do nothing elseif UsingArchery = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingArchery = 0 overhead "[ NO ARCHERY WEAPON! ]" 337 wait 500 endif endif if skill 'Wrestling' >= 50 if UsingWrestling = 1 // Do nothing elseif UsingWrestling = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '22187|31141|31142' backpack as weapon and timer DisarmedTimer > 2500 for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingWrestling = 0 overhead "[ NO WRESTLING WEAPON! ]" 337 wait 500 endif endif if skill 'Throwing' >= 50 if UsingThrowing = 1 // Do nothing elseif UsingThrowing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingThrowing = 0 overhead "[ NO THROWING WEAPON! ]" 337 wait 500 endif endif if skill 'Dual Wielding' >= 50 if UsingDualWield = 1 // Do nothing elseif UsingDualWield = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingDualWield = 0 overhead "[ NO DUAL WIELD WEAPON! ]" 337 wait 500 endif endif else overhead '[ WAITING TO ARM... ]' 154 wait 500 endif endif if EnableShieldCheck = 1 if not findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' lefthand if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel for 4 wait 250 if "unidentified" in ShieldLabel @ignore shield wait 150 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel endif endif endfor wait 150 dclick shield wait 250 endif endif endif if SkipCheckSection != 1 or TimeToGo != 1 if insysmsg "Captcha successful" and EnableOverheadMessages = 1 overhead "[ CAPTCHA SUCCESSFUL! ]" 84 clearsysmsg endif if not findbuff 'food satisfaction' and findtype "tray" self and EnableEatingFood = 1 if findtype "tray" self as Food if EnableOverheadMessages = 1 overhead "[ EATING FOOD... ]" 88 endif dclick Food wait 500 endif endif if EnableSetMainPouchOrganizer01 = 1 if timer "OrganizerAgentTimer" > 30000 hotkey 'Organizer Agent-01' settimer "OrganizerAgentTimer" 0 endif endif if dead break endif if EnablePKradar = 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif getlabel backpack backpacklabel else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif //////////////////////// // BARD BUFFS: // //////////////////////// if diffhits < ActivateAutoHealHPdiff and not dead and warmode if skill 'Peacemaking' >= 50 or skill 'Provocation' >= 50 or skill 'Discordance' >= 50 if EnableProvocationBuff = 1 and not findbuff "Song of Provocation" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 skill "Provocation" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PROVOCATION j ]" 2117 endif cooldown "Provocation Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnableDiscordanceBuff = 1 and not findbuff "Song Of Discordance" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 skill "Discordance" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF DISCORDANCE j ]" 69 endif cooldown "Discordance Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnablePeacemakingBuff = 1 and not findbuff "Song Of Peacemaking" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 clearsysmsg skill "Peacemaking" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PEACEMAKING j ]" 84 endif cooldown "Peacemaking Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif endif endif endif if not warmode and WarModeToggledWhileFighting = 1 if SetWeaponCodexStance = 6 or SetShieldCodexStance = 6 or SetWeaponCodexFinisher = 3 or SetWeaponCodexFinisher = 4 or SetShieldCodexFinisher = 3 or SetShieldCodexFinisher = 4 hotkey 'Toggle War Only' endif @setvar! WarModeToggledWhileFighting 0 endif ///////////////////////// // FIND TARGET: // ///////////////////////// if TimeToGo = 1 and DUNGEONMODE = 1 // Do nothing elseif AutoRecallTime = 1 and WILDERNESSMODE = 1 // Do nothing elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange if warmode attack ClosestTarget endif else @setvar! TargetisnotClosest 0 @setvar! NoTargetsFound 0 if targetexists hotkey 'cancel current target' endif if varexist DisengagedTarget @unignore DisengagedTarget if not dead DisengagedTarget and find DisengagedTarget ground -1 -1 TargetAnalyzeRange and not find DisengagedTarget ground -1 -1 TargetDisengageRange @ignore DisengagedTarget else unsetvar DisengagedTarget endif endif clearsysmsg hotkey 'target closest grey monster' getlabel backpack backpacklabel wait 250 if insysmsg 'No one matching that' @setvar! NoTargetsFound 1 getlabel backpack backpacklabel /////////////////////// // NO TARGET LOOP: // /////////////////////// while NoTargetsFound = 1 and diffhits < ActivateAutoHealHPdiff and not dead if dead break endif if diffhits >= ActivateAutoHealHPdiff break endif if weight > maxweight and EnableDropGoldWhenOverweight = 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer OverweightMessageTimer > 4500 overhead "[ OVERWEIGHT! ]" 34 settimer OverweightMessageTimer 0 endif endif if DropGoldAmount != 0 clearignore @setvar! DisableVacuums 1 wait 250 if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 100 if "items" in lockboxlabel // Do nothing else dclick key wft 1500 target lockbox if EnableOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif while weight > maxweight and diffhits < ActivateAutoHealHPdiff if findtype "gold coin" self as easycomeeasygo lift easycomeeasygo DropGoldAmount droprelloc 0 0 getlabel backpack packdesc if EnableOverheadMessages = 1 overhead "[ DROPPING GOLD... ]" 149 endif wait 250 if insysmsg "cannot drop anything" drop backpack -1 -1 -1 break endif wait 250 else break endif endwhile endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableWeightWarningMessage = 1 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING... ]" 77 settimer "WeightTimer" 0 else overhead " � " 77 settimer "WeightTimer" 0 endif elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING! ]" 153 settimer "WeightTimer" 0 else overhead " � " 153 settimer "WeightTimer" 0 endif elseif diffweight <= RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT LIMIT REACHED! ]" 37 settimer "WeightTimer" 0 else overhead " � " 37 settimer "WeightTimer" 0 endif if EnableAutoWeightRecall = 1 and not find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! AutoWeightRecall 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 replay elseif EnableAutoWeightRecall = 1 and find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 endif if timer "RECALLDELAY" > 3500 and EnableAutoRecallOverheadMessages = 1 overhead "[ WAITING TO RECALL... ]" 149 settimer "RECALLDELAY" 0 endif wait 500 elseif EnableAutoWeightDungeonGate = 1 and DUNGEONMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! TimeToGo 1 replay else overhead "[ OVERWEIGHT! ]" 337 sysmsg "Time to head home and unload your loot!" 0 settimer "WeightTimer" 0 endif endif endif while not warmode if WILDERNESSMODE = 1 if EnableManualRecall = 1 overhead "[ RECALLING IN... ]" 2114 if warmode overhead "[ RECALL CANCELLED! ]" 337 break endif wait 500 overhead "3" 69 wait 1000 if warmode overhead "[ RECALL CANCELLED! ]" 337 break endif overhead "2" 69 wait 1000 if warmode overhead "[ RECALL CANCELLED! ]" 337 break endif overhead "1" 69 wait 500 if warmode overhead "[ RECALL CANCELLED! ]" 337 break else if skill 'Chivalry' >= 90 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 1 endif endif @setvar! WarModeToggledWhileFighting 0 @setvar! AutoRecallTime 1 replay endif else hotkey 'Toggle War Only' break endif elseif DUNGEONMODE = 1 if EnableManualDungeonEscape = 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ DUNGEON ESCAPE! ]" 337 else overhead " � " 337 endif if skill 'Chivalry' >= 90 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 1 else @setvar! SkipInfiniteLoop 1 endif endif settimer "RUNAWAY" 2000 @setvar! TimeToGo 1 @setvar! WarModeToggledWhileFighting 0 replay else hotkey 'Toggle War Only' break endif endif endwhile if not find weapon hand if find weapon backpack if EnableAutoEquipWeapon != 0 if timer DisarmedTimer > 2500 dclick weapon getlabel backpack backpacklabel wait 250 else overhead '[ WAITING TO ARM... ]' 44 wait 500 endif else overhead '[ EQUIP YOUR WEAPON! ]' 154 wait 250 endif endif endif if skill 'Swordsmanship' >= 50 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand as weapon @setvar! UsingSwords 1 elseif findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as potentialweapon @setvar! UsingSwords 2 elseif not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self @setvar! UsingSwords 0 endif else @setvar! UsingSwords 0 endif if skill 'Mace Fighting' >= 50 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand as weapon @setvar! UsingMacing 1 elseif findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as potentialweapon @setvar! UsingMacing 2 elseif not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self @setvar! UsingMacing 0 endif else @setvar! UsingMacing 0 endif if skill 'Fencing' >= 50 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand as weapon @setvar! UsingFencing 1 elseif findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as potentialweapon @setvar! UsingFencing 2 elseif not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self @setvar! UsingFencing 0 endif else @setvar! UsingFencing 0 endif if skill 'Archery' >= 50 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand as weapon @setvar! UsingArchery 1 elseif findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as potentialweapon @setvar! UsingArchery 2 elseif not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self @setvar! UsingArchery 0 endif else @setvar! UsingArchery 0 endif if skill 'Wrestling' >= 50 if findtype '22187|31141|31142' hand as weapon @setvar! UsingWrestling 1 elseif findtype '22187|31141|31142' backpack as potentialweapon @setvar! UsingWrestling 2 elseif not findtype '22187|31141|31142' self @setvar! UsingWrestling 0 endif else @setvar! UsingWrestling 0 endif if skill 'Throwing' >= 50 if findtype '67713|67723|67734|67744|67754|67764' hand as weapon @setvar! UsingThrowing 1 elseif findtype '67713|67723|67734|67744|67754|67764' backpack as potentialweapon @setvar! UsingThrowing 2 elseif not findtype '67713|67723|67734|67744|67754|67764' self @setvar! UsingThrowing 0 endif else @setvar! UsingThrowing 0 endif if skill 'Dual Wielding' >= 50 if findtype '67773|67774|67775|67776|67777|67778' hand as weapon @setvar! UsingDualWield 1 elseif findtype '67773|67774|67775|67776|67777|67778' backpack as potentialweapon @setvar! UsingDualWield 2 elseif not findtype '67773|67774|67775|67776|67777|67778' self @setvar! UsingDualWield 0 endif else @setvar! UsingDualWield 0 endif if EnableShieldCheck = 1 if not findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' lefthand if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel for 4 wait 250 if "unidentified" in ShieldLabel @ignore shield wait 150 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel endif endif endfor wait 150 dclick shield wait 250 endif endif endif if varexist DisengagedTarget @unignore DisengagedTarget if not dead DisengagedTarget and find DisengagedTarget ground -1 -1 TargetAnalyzeRange and not find DisengagedTarget ground -1 -1 TargetDisengageRange @ignore DisengagedTarget else unsetvar DisengagedTarget endif endif clearsysmsg hotkey 'target closest grey monster' getlabel backpack backpacklabel wait 250 if insysmsg 'No one matching that' @setvar! NoTargetsFound 1 if timer NoTargetMessageTimer > 3500 and diffweight > RedWeightLimitDiffWeight if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ NOTHING TO TARGET... ]' 2338 else overhead ' � ' 2338 endif settimer NoTargetMessageTimer 0 endif else @setvar! NoTargetsFound 0 @setvar! TargetToAnalyze lasttarget break endif if EnableUsePotionKegs = 1 and findtype 'empty bottle%s%' self and findtype 'keg' self and timer 'PotionKegPVPCooldown' > 30000 if not timerexists PotionKegTimer createtimer PotionKegTimer settimer PotionKegTimer 5000 endif @setvar! PotionStockCheck 0 while PotionStockCheck < 8 and findtype 'empty bottle%s%' self @setvar! PotionAmounttoFill 0 if PotionStockCheck = 0 if ExplosionPotionAmount != 0 @setvar! PotionType 3853 @setvar! KegColour 419 @setvar! PotionAmounttoFill ExplosionPotionAmount endif @setvar! PotionStockCheck 1 elseif PotionStockCheck = 1 if HealingPotionAmount != 0 @setvar! PotionType 3852 @setvar! KegColour 253 @setvar! PotionAmounttoFill HealingPotionAmount endif @setvar! PotionStockCheck 2 elseif PotionStockCheck = 2 if CurePotionAmount != 0 @setvar! PotionType 3847 @setvar! KegColour 44 @setvar! PotionAmounttoFill CurePotionAmount endif @setvar! PotionStockCheck 3 elseif PotionStockCheck = 3 if RefreshPotionAmount != 0 @setvar! PotionType 3851 @setvar! KegColour 37 @setvar! PotionAmounttoFill RefreshPotionAmount endif @setvar! PotionStockCheck 4 elseif PotionStockCheck = 4 if StrengthPotionAmount != 0 @setvar! PotionType 3849 @setvar! KegColour 956 @setvar! PotionAmounttoFill StrengthPotionAmount endif @setvar! PotionStockCheck 5 elseif PotionStockCheck = 5 if AgilityPotionAmount != 0 @setvar! PotionType 3848 @setvar! KegColour 93 @setvar! PotionAmounttoFill AgilityPotionAmount endif @setvar! PotionStockCheck 6 elseif PotionStockCheck = 6 if ResistPotionAmount != 0 @setvar! PotionType 3846 @setvar! KegColour 1109 @setvar! PotionAmounttoFill ResistPotionAmount endif @setvar! PotionStockCheck 7 elseif PotionStockCheck = 7 if PoisonPotionAmount != 0 @setvar! PotionType 3850 @setvar! KegColour 363 @setvar! PotionAmounttoFill PoisonPotionAmount endif @setvar! PotionStockCheck 8 endif if PotionAmounttoFill != 0 while counttype PotionType self < PotionAmounttoFill if not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif if diffhits > 10 break endif if findtype 'keg' self KegColour as myKeg dclick myKeg wait 250 if EnableOverheadMessages = 1 if timer 'PotionKegTimer' > 2000 overhead '[ FILLING POTS... ]' KegColour settimer 'PotionKegTimer' 0 endif endif else if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO KEG TO USE... ]" KegColour settimer 'PotionKegTimer' 0 endif break endif if insysmsg "You have been in combat with another player" settimer "PotionKegPVPCooldown" 0 break endif endwhile if counttype PotionType self < PotionAmounttoFill and not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif endif endwhile endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnableAutoSatchels = 1 if findtype "3962|3963|3972|3973|3974|3976|3980|3981" backpack and findtype "reagent satchel" self as MyWizardBag while findtype "reagent satchel" self as MyWizardBag getlabel MyWizardBag MyWizardBagdesc if 'decorative' in MyWizardBagdesc @ignore MyWizardBag else break endif endwhile if timer "WizardSatchelTimer" > 60000 menu MyWizardBag 0 wait 250 settimer "WizardSatchelTimer" 0 endif endif if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion" backpack and findtype 31262 self as MyPotBag if timer "PotionSatchelTimer" > 60000 menu MyPotBag 0 wait 250 settimer "PotionSatchelTimer" 0 endif endif endif if EnableAutoCarving = 1 and findtype 11552 self while findtype "corpse" ground -1 -1 2 as deadbody and diffhits < ActivateAutoHealHPdiff if findtype 11552 self if targetexists hotkey 'cancel current target' endif while not targetexists skill 'forensicevaluation' wait 100 endwhile if targetexists and find deadbody ground -1 -1 2 target 'self' @ignore deadbody wait 500 endif if insysmsg "You dont see anything nearby" clearsysmsg break else if EnableOverheadMessages = 1 and timer SkinningTimer > 3000 overhead "[ SKINNING... ]" 333 settimer SkinningTimer 0 endif endif else if EnableOverheadMessages = 1 and timer SkinningTimer > 15000 overhead "[ NO SKINNING KNIFE ]" 337 settimer SkinningTimer 0 break endif endif endwhile endif if EnableGoldVacuum = 1 and DisableVacuums != 1 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 3500 overhead " � " 149 droppedmoney settimer "GoldRadar" 0 endif while findtype "gold coin" ground -1 -1 2 as droppedmoney and diffhits < ActivateAutoHealHPdiff overhead " � " 149 clearsysmsg hotkey "Grab Item" wft 2500 target droppedmoney wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore droppedmoney endif wait 250 endwhile endif if EnableDungeonCleanup = 1 and DisableVacuums != 1 while findtype "iron ingot%s|board%s|cut up leather|3972|3962|3963|3980|3976|3973|3974|3981" ground -1 -1 2 as item and diffhits < ActivateAutoHealHPdiff if EnableOverheadMessages = 1 if timer "DungeonCleanup" > 1500 overhead '[ CLEANUP... ]' 420 settimer "DungeonCleanup" 0 endif else if timer "DungeonCleanup" > 1500 overhead ' � ' 420 settimer "DungeonCleanup" 0 endif endif clearsysmsg hotkey "Grab Item" wft 1000 target item wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore item endif if not warmode hotkey 'Toggle War Only' break endif endwhile if findtype "iron ingot%s|board%s|cut up leather|3972|3962|3963|3980|3976|3973|3974|3981" ground -1 -1 15 as dungeonjunk and timer "DungeonCleanupRadar" > 3500 overhead " � " 420 dungeonjunk settimer "DungeonCleanupRadar" 0 endif endif if EnableArrowCleanup = 1 and skill 'Archery' > 50 while findtype 7163|3903 ground -1 -1 2 as item and diffhits < ActivateAutoHealHPdiff if timer "ArrowCleanupTimer" > 3500 if EnableOverheadMessages = 1 overhead '[ CLEANUP... ]' 93 settimer "ArrowCleanupTimer" 0 else overhead ' � ' 93 settimer "ArrowCleanupTimer" 0 endif endif clearsysmsg hotkey "Grab Item" wft 1000 target item wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore item endif if not warmode hotkey 'Toggle War Only' break endif endwhile if findtype "quiver" self as MyQuiver and timer "QuiverTimer" > 30000 while findtype "quiver" self as MyQuiver getlabel MyQuiver MyQuiverdesc wait 250 if 'decorative' in MyQuiverdesc @ignore MyQuiver wait 500 else break endif endwhile settimer "QuiverTimer" 0 menu MyQuiver 0 wait 250 endif if findtype 7163 ground -1 -1 10 as bolt and timer "BoltCleanupRadar" > 3500 overhead " � " 93 bolt settimer "BoltCleanupRadar" 0 endif if findtype 3903 ground -1 -1 10 as arrow and timer "ArrowCleanupRadar" > 3500 overhead " � " 37 arrow settimer "ArrowCleanupRadar" 0 endif endif if timer "SatchelTimer" > 15000 and findtype "reagent satchel" self for 2 if findtype "reagent satchel" self as MyWizardBag getlabel MyWizardBag MyWizardBagdesc if "decorative" in MyWizardBagdesc ignore MyWizardBag else menu MyWizardBag 0 settimer "SatchelTimer" 0 wait 250 break endif endif endfor endif if timer "SatchelTimer" > 15000 and findtype 31262 self as MyPotBag menu MyPotBag 0 settimer "SatchelTimer" 0 wait 250 endif if findtype "quiver" self as MyQuiver and timer "QuiverTimer" > 30000 while findtype "quiver" self as MyQuiver getlabel MyQuiver MyQuiverdesc wait 250 if 'decorative' in MyQuiverdesc @ignore MyQuiver wait 500 else break endif endwhile settimer "QuiverTimer" 0 menu MyQuiver 0 wait 250 endif if EnableArcheryWarningMessage = 1 and skill 'Archery' >= 50 if findtype 'stubnose crossbow|tower guard crossbow|balestra|heavy crossbow|crossbow' hand @setvar! AMMO 1 elseif findtype 'long bow|bow|recurve bow|composite bow' hand @setvar! AMMO 2 endif if counttype "crossbow bolt" self < ArcheryLowAmmoWarningAmount and timer "AmmunitionTimer" > 6000 and AMMO = 1 overhead "[ AMMO LOW! ]" 37 settimer 'AmmunitionTimer' 0 endif if counttype "arrow" self < ArcheryLowAmmoWarningAmount and timer 'AmmunitionTimer' > 6000 and AMMO = 2 overhead "[ AMMO LOW! ]" 37 settimer 'AmmunitionTimer' 0 endif endif if skill 'Peacemaking' >= 50 or skill 'Provocation' >= 50 or skill 'Discordance' >= 50 if EnableProvocationBuff = 1 and not findbuff "Song of Provocation" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 skill "Provocation" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PROVOCATION j ]" 2117 endif cooldown "Provocation Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnableDiscordanceBuff = 1 and not findbuff "Song Of Discordance" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 skill "Discordance" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF DISCORDANCE j ]" 69 endif cooldown "Discordance Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnablePeacemakingBuff = 1 and not findbuff "Song Of Peacemaking" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 clearsysmsg skill "Peacemaking" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PEACEMAKING j ]" 84 endif cooldown "Peacemaking Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif endif if not varexist "NoLockbox" @setvar! NoLockbox 0 endif if findtype "wooden box" self and findtype "copper key" self @setvar! NoLockbox 0 else @setvar! NoLockbox 1 endif if EnablePutLootinLockBox = 1 and NoLockbox != 1 and timer LootTimer > StoreLootTimer and warmode and NeedtoSecureLoot = 1 if not findtype "wooden box" backpack or not findtype "copper key" backpack if EnableOverheadMessages != 0 overhead '[ NO LOCKBOX FOUND! ]' 337 endif @setvar! NoLockbox 1 wait 1500 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 if EnableOverheadMessages != 0 overhead '[ TOO MANY LOCKBOXES/KEYS! ]' 337 endif @setvar! NoLockbox 1 wait 1500 else if targetexists hotkey 'Cancel Current Target' endif clearsysmsg hotkey 'Target closest grey monster' wait 250 if insysmsg "No one matching that was found" if findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key @ignore ItemToIgnore1 @ignore ItemToIgnore2 @ignore ItemToIgnore3 @ignore ItemToIgnore4 @ignore ItemToIgnore5 @ignore Instrument @ignore shield @ignore weapon @ignore potentialweapon @setvar! FoundNewTarget 0 settimer STORELOOT 0 settimer LootTimer 0 settimer PKRadar 0 getlabel lockbox lockboxLabel if "items" in lockboxLabel // Do nothing else if EnableOverheadMessages != 0 overhead "[loot box unlocked]" 84 endif dclick key wft 1500 target lockbox getlabel backpack backpacklabel endif removelist TemporaryLootIgnoreList createlist TemporaryLootIgnoreList if findtype '3821|70148|70151|70154|70157|30988|20016|11858|39889|39891|39892|39896|39897|39898|39905|39909|39911|39912|39916|39917|39918|3834|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778|7109|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|31169|31172|31128|31141|31002|31130|31000|31001|31180|31182|31178|30991|30999|20014|20012|20010|20008|20006|30992|30997|31176|31188|30998|30989|30996|30995|31186|31184|30990|30993|37181|4026|4025|31010|31008|31007|31006|31015|31005|31009|31012|31011|31004|31003|31191|17686|31014|30994|31142|31190|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|48407|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|7170|7033|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5205|5046|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|7031|5207|5056|5085|3763|5129|5187|3721|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|5356|8455|5362|45315|8454|22187|5901|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8030|8031|8032|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044|3843|3842|15296|15297|29025|29034|29036|2472|2475|3648|3649|3650|3651|3708|3712|29832|29833|7107' backpack as loottostore ////////////////////////// // LOOT STORAGE LOOP: // ////////////////////////// while findtype '3821|70148|70151|70154|70157|30988|20016|11858|39889|39891|39892|39896|39897|39898|39905|39909|39911|39912|39916|39917|39918|3834|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778|7109|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|31169|31172|31128|31141|31002|31130|31000|31001|31180|31182|31178|30991|30999|20014|20012|20010|20008|20006|30992|30997|31176|31188|30998|30989|30996|30995|31186|31184|30990|30993|37181|4026|4025|31010|31008|31007|31006|31015|31005|31009|31012|31011|31004|31003|31191|17686|31014|30994|31142|31190|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|48407|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|7170|7033|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5205|5046|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|7031|5207|5056|5085|3763|5129|5187|3721|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|5356|8455|5362|45315|8454|22187|5901|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8030|8031|8032|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044|3843|3842|15296|15297|29025|29034|29036|2472|2475|3648|3649|3650|3651|3708|3712|29832|29833|7107' backpack as loottostore if dead break endif if diffhits >= ActivateAutoHealHPdiff sysmsg 'Damage threshold exceeded - Loot storage loop cancelled!' 153 break endif if not warmode sysmsg 'Peace Mode triggered - Loot storage loop cancelled!' 153 hotkey 'Toggle War Only' break endif if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "LootStorageTimer" > 3000 overhead '[ SECURING LOOT... ]' 149 settimer "LootStorageTimer" 0 endif endif getlabel loottostore loottostorelabel wait 200 if "blessed" in loottostorelabel or "aspect" in loottostorelabel @ignore loottostore pushlist TemporaryLootIgnoreList loottostore else lift loottostore 60000 drop lockbox -1 -1 -1 wait 200 if find loottostore lockbox @ignore loottostore else @ignore loottostore pushlist TemporaryLootIgnoreList loottostore endif endif if insysmsg "to be locked" clearsysmsg dclick key wft 1500 target lockbox wait 250 endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff and not dead if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging and not dead if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnableCurePotion = 1 and not dead while poisoned if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if EnablePKradar = 1 if timer "PKRadar" > 2000 clearsysmsg hotkey 'Next Murderer Player Target' wait 150 if insysmsg "No one matching that was found" settimer "PKRadar" 0 else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if timer 'STORELOOT' > 1500 clearsysmsg hotkey 'Target Closest Grey Monster' getlabel backpack backpacklabel wait 100 if insysmsg 'No one matching that was found' @setvar! FoundNewTarget 0 @setvar! LootTargetMOB 0 else @setvar! LootTargetMOB lasttarget getlabel LootTargetMOB templabel if inlist animalsIgnoreList tempLabel if timer "IgnoreMOBtimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ IGNORING MOB! ]' 333 LootTargetMOB else overhead " � " 333 LootTargetMOB endif getlabel backpack backpacklabel settimer "IgnoreMOBtimer" 0 endif @ignore LootTargetMOB elseif find LootTargetMOB ground -1 -1 TargetAnalyzeRange clearsysmsg skill 'begging' wft 500 if not targetexists or insysmsg 'You must wait' clearsysmsg skill 'begging' wft 500 endif target LootTargetMOB getlabel backpack backpackdesc if not dead LootTargetMOB if insysmsg "Target cannot be seen" or insysmsg "That is too far away." @setvar! FoundNewTarget 0 @setvar! LootTargetMOB 0 elseif insysmsg "Perhaps" or insysmsg "They do not appear to have anything to offer you" sysmsg 'Nearby MOB detected - Loot storage loop cancelled!' 153 @setvar! FoundNewTarget 1 break endif endif else @setvar! LootTargetMOB 0 endif endif settimer 'STORELOOT' 0 endif endwhile endif ///////////////////////////// // END LOOT STORAGE LOOP // ///////////////////////////// if not dead dclick key wft 1500 target lockbox if EnableOverheadMessages != 0 overhead "[loot box locked]" 69 endif endif foreach TemporaryLootIgnore in TemporaryLootIgnoreList @unignore TemporaryLootIgnore endfor removelist TemporaryLootIgnoreList @unignore ItemToIgnore1 @unignore ItemToIgnore2 @unignore ItemToIgnore3 @unignore ItemToIgnore4 @unignore ItemToIgnore5 @unignore Instrument @unignore shield @unignore weapon @unignore potentialweapon @setvar! NeedtoSecureLoot 0 settimer LootTimer 0 getlabel lockbox lockboxLabel if "items" in lockboxLabel and not dead dclick key wft 1500 target lockbox endif endif else @setvar! TargetToAnalyze lasttarget getlabel backpack backpacklabel break endif endif settimer LootTimer 0 endif if targetexists hotkey 'cancel current target' endif if diffhits >= ActivateAutoHealHPdiff or FoundNewTarget = 1 break endif if dead break endif endwhile ////////////////////////// // END NO TARGET LOOP // ////////////////////////// else @setvar TargetToAnalyze lasttarget getlabel backpack backpacklabel endif if DUNGEONMODE = 1 if TimeToGo = 1 replay endif elseif WILDERNESSMODE = 1 if AutoRecallTime = 1 or RedTargetFound = 1 replay endif endif if dead break endif //////////////////////////// // ANALYZE TARGET LOOP: // //////////////////////////// if not dead TargetToAnalyze and find TargetToAnalyze ground -1 -1 TargetAnalyzeRange and diffhits < ActivateAutoHealHPdiff and warmode while not dead TargetToAnalyze and find TargetToAnalyze ground -1 -1 TargetAnalyzeRange and diffhits < ActivateAutoHealHPdiff and warmode if dead break endif if dead TargetToAnalyze or not find TargetToAnalyze ground -1 -1 TargetAnalyzeRange break endif if diffhits >= ActivateAutoHealHPdiff break endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnablePanaceaPotion = 1 and skill 'Alchemy' >= 80 if findbuff "Bleed" or findbuff "Diseased" if not findbuff "panacea potion cooldown" if findtype "Orange Potion" self dclicktype "Orange Potion" wait 250 if findbuff "panacea potion cooldown" and EnableOverheadMessages = 1 overhead '[ PANACEA ACTIVATED ]' 55 cooldown "Panacea Potion" 30000 endif endif endif endif endif if EnableCleansingBrews = 1 if findbuff "Diseased" or findbuff "Bleed" if timer CleansingBrewTimer > 120000 if findtype 50675 self 2935 as CleansingBrew dclick CleansingBrew if EnableOverheadMessages = 1 overhead '[ CLEANSING BREW ]' 2117 endif cooldown 'Cleansing Brew' 120000 settimer CleansingBrewTimer 0 wait 250 else if timer CleansingBrewOverhead > 15000 overhead "[ NO CLEANSING BREWS! ]" 337 settimer CleansingBrewOverhead 0 settimer CleansingBrewTimer 0 endif endif else if EnableOverheadMessages = 1 and timer CleansingBrewOverhead > 15000 overhead '[ BREW ON COOLDOWN! ]' 37 settimer CleansingBrewOverhead 0 endif endif endif endif if EnableCurePotion = 1 and not dead while poisoned if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if not warmode break endif if weight > maxweight and EnableDropGoldWhenOverweight = 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer OverweightMessageTimer > 4500 overhead "[ OVERWEIGHT! ]" 34 settimer OverweightMessageTimer 0 endif endif if DropGoldAmount != 0 clearignore @setvar! DisableVacuums 1 wait 250 if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 100 if "items" in lockboxlabel // Do nothing else dclick key wft 1500 target lockbox if EnableOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif while weight > maxweight and diffhits < ActivateAutoHealHPdiff if findtype "gold coin" self as easycomeeasygo lift easycomeeasygo DropGoldAmount droprelloc 0 0 getlabel backpack packdesc if EnableOverheadMessages = 1 overhead "[ DROPPING GOLD... ]" 149 endif wait 250 if insysmsg "cannot drop anything" drop backpack -1 -1 -1 break endif wait 250 else break endif endwhile endif endif if EnableWeightWarningMessage = 1 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING... ]" 77 settimer "WeightTimer" 0 else overhead " � " 77 settimer "WeightTimer" 0 endif elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING! ]" 153 settimer "WeightTimer" 0 else overhead " � " 153 settimer "WeightTimer" 0 endif elseif diffweight <= RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT LIMIT REACHED! ]" 37 settimer "WeightTimer" 0 else overhead " � " 37 settimer "WeightTimer" 0 endif if EnableAutoWeightRecall = 1 and not find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! AutoWeightRecall 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 break elseif EnableAutoWeightRecall = 1 and find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 endif if timer "RECALLDELAY" > 3500 and EnableAutoRecallOverheadMessages = 1 overhead "[ WAITING TO RECALL... ]" 149 settimer "RECALLDELAY" 0 endif wait 500 elseif EnableAutoWeightDungeonGate = 1 and DUNGEONMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! TimeToGo 1 replay else overhead "[ OVERWEIGHT! ]" 337 sysmsg "Time to head home and unload your loot!" 0 settimer "WeightTimer" 0 endif endif endif if timer AnalyzeTargetMessageTimer > 10000 and TimeToGo != 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ ANALYZING TARGET... ]' 88 else overhead " � " 88 endif settimer AnalyzeTargetMessageTimer 0 endif getlabel TargetToAnalyze tempLabel getlabel backpack backpackdesc if inlist animalsIgnoreList tempLabel if timer "IgnoreMOBtimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ IGNORING MOB! ]' 333 TargetToAnalyze else overhead " � " 333 TargetToAnalyze endif getlabel backpack backpacklabel settimer "IgnoreMOBtimer" 0 endif @ignore TargetToAnalyze else clearsysmsg skill 'begging' wft 500 if not targetexists or insysmsg 'You must wait' clearsysmsg skill 'begging' wft 500 endif target TargetToAnalyze getlabel backpack backpackdesc if not dead TargetToAnalyze if insysmsg "Target cannot be seen" if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "CANNOTSEE" > 3000 overhead "[ CANNOT SEE TARGET! ]" 44 settimer "CANNOTSEE" 0 settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif else if timer "CANNOTSEE" > 3000 overhead " � " 44 TargetToAnalyze settimer "CANNOTSEE" 0 settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif endif elseif insysmsg "That is too far away." if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "TOOFAR" > 3000 overhead "[ TARGET TOO FAR AWAY! ]" 44 settimer "TOOFAR" 0 settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif else if timer "TOOFAR" > 3000 overhead " � " 44 TargetToAnalyze settimer "TOOFAR" 0 settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif endif elseif insysmsg "Perhaps" or insysmsg "You are too far away from them." or insysmsg "They do not appear to have anything to offer you." or insysmsg "You must wait" or insysmsg "You cannot beg from an individual" if varexist DisengagedTarget @unignore DisengagedTarget if not dead DisengagedTarget and find DisengagedTarget ground -1 -1 TargetAnalyzeRange and not find DisengagedTarget ground -1 -1 TargetDisengageRange @ignore DisengagedTarget else unsetvar DisengagedTarget endif endif if insysmsg "You must wait" hotkey 'target closest grey monster' getlabel backpack packdesc @setvar! TargetToAnalyze lasttarget clearsysmsg endif hotkey 'target closest grey monster' getlabel backpack packdesc @setvar! ClosestTarget lasttarget if find TargetToAnalyze ground -1 -1 TargetAttackRange and TargetToAnalyze = ClosestTarget if timer "NoTargetTimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ TARGET ]" 69 TargetToAnalyze overhead " � " 69 TargetToAnalyze else overhead " � " 69 TargetToAnalyze endif settimer "NoTargetTimer" 0 endif settimer "TargetAcquired" 0 if TargetToAnalyze = ClosestTarget attack ClosestTarget else break endif if skill 'Discordance' >= 50 and EnableDiscordance = 1 @setvar! NeedtoDiscord 1 settimer DiscoCheck 0 endif if skill 'Peacemaking' >= 50 and EnablePeacemaking = 1 @setvar! NeedtoPacify 1 settimer PeaceCheck 0 endif if skill 'Provocation' >= 50 and EnableProvocation = 1 @setvar! NeedtoProvoke 0 settimer ProvoCheck 0 settimer NextTargetCheck 1500 settimer NextTargetTimer 3500 endif if timer "ATTACKTIMER" > 4000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ ATTACKING! ]" 69 settimer "ATTACKTIMER" 0 settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 else settimer "ATTACKTIMER" 0 settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 settimer "AttackingTimer" 500 endif endif break elseif find TargetToAnalyze ground -1 -1 TargetAnalyzeRange and TargetToAnalyze = ClosestTarget if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 TargetToAnalyze else overhead " � " 353 TargetToAnalyze endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif endif endif else break endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 clearsysmsg hotkey 'Next Murderer Player Target' getlabel backpack backpacklabel if insysmsg "No one matching that was found" settimer "PKRadar" 0 else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if targetexists hotkey 'cancel current target' endif if varexist DisengagedTarget @unignore DisengagedTarget if not dead DisengagedTarget and find DisengagedTarget ground -1 -1 TargetAnalyzeRange and not find DisengagedTarget ground -1 -1 TargetDisengageRange @ignore DisengagedTarget else unsetvar DisengagedTarget endif endif clearsysmsg hotkey 'target closest grey monster' getlabel backpack backpacklabel if varexist TargetCheck unsetvar TargetCheck else @setvar TargetCheck 0 endif wait 250 if insysmsg 'No one matching that' @setvar TargetCheck 0 break else @setvar TargetCheck lasttarget getlabel backpack backpacklabel endif if TargetToAnalyze != TargetCheck break endif endwhile /////////////////////////////// // END ANALYZE TARGET LOOP // /////////////////////////////// endif endif if dead break endif /////////////////////////// // ATTACK TARGET LOOP: // /////////////////////////// while not dead ClosestTarget and diffhits < ActivateAutoHealHPdiff and find ClosestTarget ground -1 -1 TargetDisengageRange if dead break endif if diffhits >= ActivateAutoHealHPdiff break endif if not find ClosestTarget ground -1 -1 TargetDisengageRange if skill 'Archery' > 80 @setvar! SwitchtoIncendiaryAmmo 0 endif break endif if not find weapon hand if find weapon backpack if EnableAutoEquipWeapon != 0 if timer DisarmedTimer > 2500 dclick weapon getlabel backpack backpacklabel wait 250 else overhead '[ WAITING TO ARM... ]' 44 wait 500 endif else overhead '[ EQUIP YOUR WEAPON! ]' 154 wait 250 endif endif endif if skill 'Swordsmanship' >= 50 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand as weapon @setvar! UsingSwords 1 elseif findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as potentialweapon @setvar! UsingSwords 2 elseif not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self @setvar! UsingSwords 0 endif else @setvar! UsingSwords 0 endif if skill 'Mace Fighting' >= 50 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand as weapon @setvar! UsingMacing 1 elseif findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as potentialweapon @setvar! UsingMacing 2 elseif not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self @setvar! UsingMacing 0 endif else @setvar! UsingMacing 0 endif if skill 'Fencing' >= 50 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand as weapon @setvar! UsingFencing 1 elseif findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as potentialweapon @setvar! UsingFencing 2 elseif not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self @setvar! UsingFencing 0 endif else @setvar! UsingFencing 0 endif if skill 'Archery' >= 50 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand as weapon @setvar! UsingArchery 1 elseif findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as potentialweapon @setvar! UsingArchery 2 elseif not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self @setvar! UsingArchery 0 endif else @setvar! UsingArchery 0 endif if skill 'Wrestling' >= 50 if findtype '22187|31141|31142' hand as weapon @setvar! UsingWrestling 1 elseif findtype '22187|31141|31142' backpack as potentialweapon @setvar! UsingWrestling 2 elseif not findtype '22187|31141|31142' self @setvar! UsingWrestling 0 endif else @setvar! UsingWrestling 0 endif if skill 'Throwing' >= 50 if findtype '67713|67723|67734|67744|67754|67764' hand as weapon @setvar! UsingThrowing 1 elseif findtype '67713|67723|67734|67744|67754|67764' backpack as potentialweapon @setvar! UsingThrowing 2 elseif not findtype '67713|67723|67734|67744|67754|67764' self @setvar! UsingThrowing 0 endif else @setvar! UsingThrowing 0 endif if skill 'Dual Wielding' >= 50 if findtype '67773|67774|67775|67776|67777|67778' hand as weapon @setvar! UsingDualWield 1 elseif findtype '67773|67774|67775|67776|67777|67778' backpack as potentialweapon @setvar! UsingDualWield 2 elseif not findtype '67773|67774|67775|67776|67777|67778' self @setvar! UsingDualWield 0 endif else @setvar! UsingDualWield 0 endif if EnableAutoEquipWeapon = 1 if timer DisarmedTimer > 2500 if skill 'Swordsmanship' >= 50 and UsingSwords != 0 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' hand if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Mace Fighting' >= 50 and UsingMacing != 0 if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' hand if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Fencing' >= 50 and UsingFencing != 0 if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' hand if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Archery' >= 50 and UsingArchery != 0 if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' hand if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Wrestling' >= 50 and UsingWrestling != 0 if not findtype '22187|31141|31142' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '22187|31141|31142' hand if findtype '22187|31141|31142' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Throwing' >= 50 and UsingThrowing != 0 if not findtype '67713|67723|67734|67744|67754|67764' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '67713|67723|67734|67744|67754|67764' hand if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif elseif skill 'Dual Wielding' >= 50 and UsingDualWield != 0 if not findtype '67773|67774|67775|67776|67777|67778' self overhead "[ NO WEAPON! ]" 337 wait 1500 else if not findtype '67773|67774|67775|67776|67777|67778' hand if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif endif endif else overhead '[ WAITING TO ARM... ]' 154 wait 500 endif elseif EnableAutoEquipWeapon = 2 if timer DisarmedTimer > 2500 if skill 'Swordsmanship' >= 50 if UsingSwords = 1 // Do nothing elseif UsingSwords = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingSwords = 0 overhead "[ NO SWORD WEAPON! ]" 337 wait 500 endif endif if skill 'Mace Fighting' >= 50 if UsingMacing = 1 // Do nothing elseif UsingMacing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31182' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingMacing = 0 overhead "[ NO MACE WEAPON! ]" 337 wait 500 endif endif if skill 'Fencing' >= 50 if UsingFencing = 1 // Do nothing elseif UsingFencing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingFencing = 0 overhead "[ NO FENCING WEAPON! ]" 337 wait 500 endif endif if skill 'Archery' >= 50 if UsingArchery = 1 // Do nothing elseif UsingArchery = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '3920|5042|5117|30990|30993|30994|30995|31184|31186' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingArchery = 0 overhead "[ NO ARCHERY WEAPON! ]" 337 wait 500 endif endif if skill 'Wrestling' >= 50 if UsingWrestling = 1 // Do nothing elseif UsingWrestling = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '22187|31141|31142' backpack as weapon and timer DisarmedTimer > 2500 for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '22187|31141|31142' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingWrestling = 0 overhead "[ NO WRESTLING WEAPON! ]" 337 wait 500 endif endif if skill 'Throwing' >= 50 if UsingThrowing = 1 // Do nothing elseif UsingThrowing = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67713|67723|67734|67744|67754|67764' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingThrowing = 0 overhead "[ NO THROWING WEAPON! ]" 337 wait 500 endif endif if skill 'Dual Wielding' >= 50 if UsingDualWield = 1 // Do nothing elseif UsingDualWield = 2 if not findtype '30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3920|5042|5117|30990|30993|30994|30995|31184|31186|22187|31141|31142|67713|67723|67734|67744|67754|67764|67773|67774|67775|67776|67777|67778' hand if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon for 10 getlabel weapon WeaponLabel wait 250 if "unidentified" in WeaponLabel @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif elseif "aspect" in WeaponLabel or "Aspect" in WeaponLabel break else @ignore weapon wait 150 if findtype '67773|67774|67775|67776|67777|67778' backpack as weapon getlabel weapon WeaponLabel endif endif endfor wait 150 clearsysmsg dclick weapon wait 250 if insysmsg 'You have been disarmed' if EnableOverheadMessages = 1 overhead '[ DISARMED! ]' 44 elseif EnableOverheadMessages = 2 overhead '*disarmed!*' 44 endif settimer DisarmedTimer 0 clearsysmsg endif endif endif elseif UsingDualWield = 0 overhead "[ NO DUAL WIELD WEAPON! ]" 337 wait 500 endif endif else overhead '[ WAITING TO ARM... ]' 154 wait 500 endif endif if EnableShieldCheck = 1 if not findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' lefthand if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel for 4 wait 250 if "unidentified" in ShieldLabel @ignore shield wait 150 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield getlabel shield ShieldLabel endif endif endfor wait 150 dclick shield wait 250 endif endif endif /////////////////////// // BARDING SKILLS: // /////////////////////// if EnableProvocation = 1 and skill "Provocation" >= 50 and diffhits <= ActivateAutoHealHPdiff if timer "NextTargetCheck" > 500 hotkey 'Next Grey Monster Target' getlabel backpack backpacklabel @setvar! NextClosestTarget lasttarget for 5 if NextClosestTarget != ClosestTarget and find NextClosestTarget ground -1 -1 TargetBardingRange getlabel ClosestTarget descTarget getlabel NextClosestTarget descNextTarget wait 250 if inlist animalsIgnoreList descNextTarget if timer "IgnoreMOBtimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ IGNORING MOB! ]' 333 NextClosestTarget else overhead " � " 333 NextClosestTarget endif getlabel backpack backpacklabel settimer "IgnoreMOBtimer" 0 endif @ignore NextClosestTarget wait 250 @setvar! NextClosestTarget 0 elseif "provoked" in descTarget if timer "ProvokedTimer" > 31000 settimer "ProvokedTimer" 0 endif @setvar! NeedtoProvoke 0 settimer "ProvoCheck" 0 else if timer "NextTargetTimer" > 3000 if "Paragon" in descNextTarget if not dead NextClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead " � PARAGON! � " 12 NextClosestTarget else overhead " ��� " 12 NextClosestTarget endif endif else if not dead NextClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ PROVO TARGET ]" 2117 NextClosestTarget overhead " � " 2117 NextClosestTarget else overhead " � " 2117 NextClosestTarget endif endif endif settimer "NextTargetTimer" 0 endif settimer "ProvokedTimer" 31000 settimer "ProvoCheck" 0 @setvar! NeedtoProvoke 1 hotkey 'Target Closest Grey Monster' break endif elseif NextClosestTarget != ClosestTarget and find NextClosestTarget ground -1 -1 TargetAnalyzeRange hotkey 'Next Grey Monster Target' getlabel backpack backpacklabel @setvar! NextClosestTarget lasttarget else hotkey 'Next Grey Monster Target' getlabel backpack backpacklabel @setvar! NextClosestTarget lasttarget endif endfor if NextClosestTarget = ClosestTarget or NextClosestTarget = 0 or dead NextClosestTarget or not find NextClosestTarget ground -1 -1 TargetBardingRange @setvar! NeedtoProvoke 0 @setvar! NextClosestTarget 0 settimer ProvoCheck 0 hotkey 'Target Closest Grey Monster' endif endif if timer "ProvoCheck" > 500 and NeedtoProvoke != 1 if find ClosestTarget ground -1 -1 TargetBardingRange and find NextClosestTarget ground -1 -1 TargetBardingRange and ClosestTarget != NextClosestTarget getlabel ClosestTarget descTarget getlabel NextClosestTarget descNextTarget wait 250 if inlist animalsIgnoreList descNextTarget if timer "IgnoreMOBtimer" > 2500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ IGNORING MOB! ]' 333 NextClosestTarget else overhead " � " 333 NextClosestTarget endif getlabel backpack backpacklabel settimer "IgnoreMOBtimer" 0 endif @ignore NextClosestTarget @setvar! NeedtoProvoke 0 wait 250 @setvar! NextClosestTarget 0 elseif "provoked" in descTarget or "provoked" in descNextTarget if timer "ProvokedTimer" > 31000 settimer "ProvokedTimer" 0 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 settimer "ProvoCheck" 0 else settimer "ProvokedTimer" 31000 @setvar! NeedtoProvoke 1 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 0 settimer "ProvoCheck" 0 @setvar! SwitchtoIncendiaryAmmo 0 endif else @setvar! NeedtoProvoke 0 settimer "ProvoCheck" 0 endif endif if NeedtoProvoke = 1 if timer "Provocation" > 11000 and timer "Musicianship" > 5000 and NextClosestTarget != ClosestTarget clearsysmsg skill "Provocation" wft 1000 target NextClosestTarget wait 250 if insysmsg 'Target cannot be seen' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ CANNOT SEE TARGET... ]" 44 else sysmsg "Provoke target cannot be seen..." 2117 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 settimer "ProvoCheck" 0 settimer "NextTargetTimer" 0 clearsysmsg elseif insysmsg "You must wait" clearsysmsg if EnableOverheadMessages = 1 overhead "[ WAITING... ]" 2117 endif wait 500 @setvar! NeedtoProvoke 1 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 0 elseif insysmsg 'That is too far away.' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ TARGET TOO FAR AWAY! ]" 44 else sysmsg "Provoke target is too far away... " 2117 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 settimer "ProvoCheck" 0 settimer "NextTargetTimer" 0 clearsysmsg else wft 1500 if not dead ClosestTarget if EnableOverheadMessages = 1 overhead "[ j PROVOKING... j ]" 2117 else overhead ' j ' 2117 endif target ClosestTarget else hotkey 'Cancel Current Target' endif wait 250 endif if insysmsg 'You play successfully, provoking' if not dead ClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ j PROVOKED! j ]' 2117 ClosestTarget overhead '[ j PROVOKED! j ]' 2117 NextClosestTarget settimer "TargetAcquired" 0 settimer "NextTargetTimer" 0 else overhead ' j ' 2117 ClosestTarget overhead ' j ' 2117 NextClosestTarget settimer "TargetAcquired" 0 settimer "NextTargetTimer" 0 endif endif if EnableOverheadMessages = 1 sysmsg "You play an aggressive tune, provoking rage into your targets..." 2117 endif settimer "Musicianship" 0 settimer "Provocation" 0 cooldown "Provocation" 11000 cooldown "Provoked" ProvocationReapply @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 1 if skill 'Archery' >= 80 and SetWeaponCodexStance = 6 and UsingArchery = 1 if findtype "archery codex" self as MyCodex getlabel MyCodex MyCodexDesc wait 150 if "Incendiary" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition3" settimer "WeaponCodexTimer" 0 wait 250 endif @setvar! SwitchtoIncendiaryAmmo 1 endif endif elseif insysmsg 'You fail to incite' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ PROVO FAIL! ]' 337 settimer "TargetAcquired" 0 settimer "NextTargetTimer" 0 else if not dead ClosestTarget overhead ' � ' 337 ClosestTarget overhead ' � ' 337 NextClosestTarget settimer "TargetAcquired" 0 settimer "NextTargetTimer" 0 endif endif sysmsg "You fail to provoke your targets!" 339 settimer "Provocation" 5500 @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 1 elseif insysmsg 'Target cannot be seen' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ CANNOT BE SEEN... ]" 44 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 elseif insysmsg 'That is too far away.' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ TARGET TOO FAR AWAY! ]" 44 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 elseif insysmsg 'The creatures you are trying to provoke are too far away from each' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ TOO FAR APART! ]' 43 ClosestTarget overhead '[ TOO FAR APART! ]' 43 NextClosestTarget endif wait 250 @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 elseif insysmsg 'tell someone to attack themselves' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead '[ SELF TARGET FAIL... ]' 337 ClosestTarget else overhead ' � ' 337 endif @setvar! NeedtoProvoke 1 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 endif endif endif if NextClosestTarget = ClosestTarget @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 endif endif if skill "Peacemaking" >= 50 and EnablePeacemaking = 1 and diffhits <= ActivateAutoHealHPdiff if timer "PeaceCheck" > 500 and NeedtoProvoke != 1 and NeedtoPacify != 1 if find ClosestTarget ground -1 -1 TargetBardingRange getlabel ClosestTarget descTarget if EnableProvocation = 1 and NextClosestTarget != ClosestTarget and find NextClosestTarget ground -1 -1 TargetBardingRange getlabel NextClosestTarget descNextTarget endif wait 250 if "pacified" in descTarget if timer "PacifiedTimer" > 31000 settimer "PacifiedTimer" 0 endif @setvar! NeedtoPacify 0 settimer "PeaceCheck" 0 elseif EnableProvocation = 1 if "provoked" in descTarget or "provoked" in descNextTarget @setvar! NeedtoPacify 0 settimer "PeaceCheck" 0 else settimer "PacifiedTimer" 31000 @setvar! NeedtoPacify 1 settimer "PeaceCheck" 0 endif endif else break endif endif endif if EnablePeacemaking = 1 and skill "Peacemaking" >= 50 if NeedtoPacify = 1 if timer "Pacified" > 30000 and timer "Peacemaking" > 11000 and timer "Musicianship" > 5000 clearsysmsg skill "Peacemaking" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" target ClosestTarget wait 250 endif if insysmsg "Target cannot be seen" if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ CANNOT BE SEEN... ]" 44 endif break elseif insysmsg 'That is too far away.' if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ TARGET TOO FAR AWAY! ]" 44 endif break elseif insysmsg "You must wait" clearsysmsg if EnableOverheadMessages = 1 overhead "[ WAITING... ]" 84 endif wait 500 @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 0 elseif insysmsg "You play successfully, pacifying your" if EnableOverheadMessages = 1 overhead "[ j PACIFYING... j ]" 84 else overhead " j " 84 endif cooldown "Pacified" PeacemakingReapply settimer "Musicianship" 0 settimer "Peacemaking" 0 cooldown "Peacemaking" 11000 if not dead ClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 wait 250 overhead "[ j PACIFIED! j ]" 84 ClosestTarget else overhead ' j ' 84 ClosestTarget settimer "TargetAcquired" 0 endif endif if EnableOverheadMessages = 1 sysmsg "You play a calming tune, pacifying your target..." 84 endif elseif insysmsg "you fail to pacify your opponent" if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ PACIFY FAIL! ]" 337 else overhead ' � ' 337 ClosestTarget overhead ' � ' 337 endif sysmsg "You fail to pacify your target!" 337 settimer "Peacemaking" 5500 else if not find ClosestTarget ground -1 -1 TargetBardingRange or dead ClosestTarget break endif endif endif endif endif if EnableDiscordance = 1 and skill "Discordance" >= 50 and diffhits <= ActivateAutoHealHPdiff if timer "DiscoCheck" > 500 and NeedtoProvoke != 1 and NeedtoDiscord != 1 if find ClosestTarget ground -1 -1 TargetBardingRange getlabel ClosestTarget descTarget wait 250 if "discord" in descTarget if EnableProvocation = 1 and find NextClosestTarget ground -1 -1 TargetBardingRange and ClosestTarget != NextClosestTarget and NextClosestTarget != 0 getlabel NextClosestTarget descNextTarget wait 250 if "discord" in descNextTarget @setvar! NeedtoDiscord 0 settimer "DiscoCheck" 0 else @setvar! NeedtoDiscord 2 settimer "DiscoCheck" 0 endif else if timer "DiscordedTimer" > 31000 settimer "DiscordedTimer" 0 endif @setvar! NeedtoDiscord 0 settimer "DiscoCheck" 0 endif else settimer "DiscordedTimer" 31000 @setvar! NeedtoDiscord 1 settimer "DiscoCheck" 0 endif endif endif endif if skill "Discordance" >= 50 and EnableDiscordance = 1 and diffhits <= ActivateAutoHealHPdiff if NeedtoDiscord = 1 if timer "Discorded" > 31000 and timer "DiscordanceTimer" > 11000 and timer "Musicianship" > 5000 clearsysmsg skill "Discordance" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif elseif not insysmsg "This is not a musical instrument" target ClosestTarget wait 250 if insysmsg "Target cannot be seen." if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ CANNOT BE SEEN... ]" 44 endif elseif insysmsg "You must wait" clearsysmsg if EnableOverheadMessages = 1 overhead "[ WAITING... ]" 69 endif wait 500 @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 1 elseif insysmsg "You play successfully, disrupting your opponent" if EnableOverheadMessages = 1 overhead "[ j DISCORDING... j ]" 69 else overhead " j " 69 endif cooldown "Discorded" DiscordanceReapply settimer "Musicianship" 0 settimer "Discorded" 0 settimer "DiscordanceTimer" 0 cooldown "Discordance" 11000 if not dead ClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j DISCORDED! j ]" 69 ClosestTarget else overhead ' j ' 69 ClosestTarget settimer "TargetAcquired" 0 endif endif if EnableOverheadMessages = 1 sysmsg "You play a mesmerizing tune, disrupting your target's focus..." 69 # ' endif elseif insysmsg "fail to discord" settimer "DiscordanceTimer" 5500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ DISCORD FAIL! ]" 337 else overhead ' � ' 337 ClosestTarget overhead ' � ' 337 settimer "TargetAcquired" 0 endif sysmsg "You fail to discord your target!" 337 else if not find ClosestTarget ground -1 -1 TargetBardingRange or dead ClosestTarget break endif endif else if not find ClosestTarget ground -1 -1 TargetBardingRange or dead ClosestTarget break endif endif endif elseif NeedtoDiscord = 2 and EnableProvocation = 1 and not dead NextClosestTarget and NextClosestTarget != ClosestTarget and find NextClosestTarget ground -1 -1 TargetBardingRange if timer "DiscordanceTimer" > 11000 and timer "Musicianship" > 5000 and diffhits <= ActivateAutoHealHPdiff clearsysmsg skill "Discordance" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif elseif not insysmsg "This is not a musical instrument" clearsysmsg target NextClosestTarget wait 250 if insysmsg "Target cannot be seen." if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ CANNOT BE SEEN... ]" 44 endif elseif insysmsg "You must wait" clearsysmsg if EnableOverheadMessages = 1 overhead "[ WAITING... ]" 69 endif wait 500 @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 1 elseif insysmsg "You play successfully, disrupting your opponent" if EnableOverheadMessages = 1 overhead "[ j DISCORDING... j ]" 69 else overhead " j " 69 endif wait 250 settimer "Musicianship" 0 settimer "DiscordanceTimer" 0 settimer "Discordance" 0 if not dead NextClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j DISCORDED! j]" 69 NextClosestTarget else overhead ' j ' 69 NextClosestTarget settimer "NextTargetTimer" 0 endif endif if EnableOverheadMessages = 1 sysmsg "You play another doozey and distract your provoked target, too!" 69 endif elseif insysmsg "fail to discord" settimer "DiscordanceTimer" 5500 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ DISCORD FAIL! ]" 37 else overhead ' � ' 37 settimer "NextTargetTimer" 0 endif sysmsg "You fail to discord your target!" 337 wait 250 else if not find NextClosestTarget ground -1 -1 TargetBardingRange or dead NextClosestTarget break endif endif else if not find NextClosestTarget ground -1 -1 TargetBardingRange or dead NextClosestTarget break endif endif endif endif endif /////////////////// // END BARDING // /////////////////// if EnableOverheadMessages = 1 if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ CHAIN LINK UNLOCKED!! ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED!! ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You execute your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ EXECUTION!! ]" 37 endif endif if insysmsg "You shatter your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SHATTERED!! ]" 333 endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ COUP DE GRACE! ]" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*[ PULVERIZED! ]" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SMASHED! ]" 187 ClosestTarget endif endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ CRIPPLED! ]" 187 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "causes you to bleed" overhead "[ YOU ARE BLEEDING... ]" 2118 endif if insysmsg "been struck by an ancient blight" overhead "[ DISEASED... ]" 1109 endif if insysmsg "You feel chilled!" overhead "[ YOU ARE CHILLED... ]" 2234 endif if insysmsg "You resist a disease effect" overhead "[ DISEASE RESISTED! ]" 888 endif if insysmsg "resist a bleed" overhead "[ BLEED RESISTED! ]" 888 endif if insysmsg "The creature pierces and bypasses your armor!" overhead "[ YOU ARE PIERCED... ]" 337 endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget overhead "[ BLEED OUT! ]" 2118 ClosestTarget endif if insysmsg "Your attack causes your target to bleed" and not dead ClosestTarget overhead "[ BLEED! ]" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "[ HINDERED! ]" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "[ DISARMED! ]" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "[ DISARMED! ]" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "[ HAMSTRUNG! ]" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "[ HAMSTRUNG! ]" 337 endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "[ VICIOUS WOUND! ]" 1664 ClosestTarget endif if insysmsg "Barding break avoided" and not dead ClosestTarget overhead "[ BREAK AVOIDED! ]" 84 ClosestTarget endif if insysmsg "You parry the spell" overhead "[ SPELL PARRY ]" 111 endif if insysmsg "Frost Shell activated" overhead "[ FROST SHELL! ]" 2234 endif if insysmsg "Judgment activated" overhead "[ JUDGMENT! ]" 2114 endif if insysmsg "Cacophony activated" overhead "[ j CACOPHONY! j ]" 2241 endif if insysmsg "You perform a feint" overhead "[ FEINT! ]" 187 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif else if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ � CHAIN! � ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead '[ � CODEX! � ]' 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*coup de grace!*" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*bleeding out!*" 2118 ClosestTarget endif endif if insysmsg "You execute your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*executed!*" 2118 ClosestTarget endif endif if insysmsg "You shatter your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*shattered!*" 420 ClosestTarget endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*pulverized!*" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*smashed*" 333 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif if insysmsg "Cacophony activated" overhead " j j j " 2241 endif if insysmsg "You perform a feint" overhead "*feint*" 187 endif if insysmsg "causes your target to bleed" and not dead ClosestTarget overhead "*bleeding*" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget overhead "*crippled*" 333 ClosestTarget endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "*vicious wound*" 1664 ClosestTarget endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "*hindered*" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "*disarmed*" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "*disarmed*" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "*hamstrung*" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "*hamstrung*" 337 endif if insysmsg "You parry the spell" overhead "*spell parry*" 111 endif endif ///////////////////// // WEAPON CODEX: // ///////////////////// if EnableWeaponCodexStances = 1 and SetWeaponCodexStance != 0 if skill 'Swordsmanship' >= 80 and UsingSwords = 1 if EnableWeaponCodexStances = 1 and findtype "sword codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToFlayingStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToFlayingStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 1 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToFlayingStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 4 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToFlayingStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToWarriorStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToAggressiveStance 1 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Bleed" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Execute" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Bleed" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Execute" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Execute" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Bleed" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[SwordsFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToFlayingStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Flaying" in MyCodexDesc // Do nothing else yell '[SwordsStance5' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToDefensiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Defensive" in MyCodexDesc // Do nothing else yell '[SwordsStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToWarriorStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Warrior" in MyCodexDesc // Do nothing else yell '[SwordsStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCleaveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Cleave" in MyCodexDesc // Do nothing else yell '[SwordsStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToAggressiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Aggressive" in MyCodexDesc // Do nothing else yell '[SwordsStance1' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Mace Fighting' >= 80 and UsingMacing = 1 if EnableWeaponCodexStances = 1 and findtype "macing codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToSunderStance 1 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 1 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToSunderStance 1 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 4 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToAggressiveStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToSunderStance 0 @setvar! SwitchToWildSwingStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToAggressiveStance 1 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Pulverize" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[MacingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Shatter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 yell '[MacingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Pulverize" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[MacingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Shatter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 yell '[MacingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Shatter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 yell '[MacingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Pulverize" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[MacingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToAggressiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Aggressive" in MyCodexDesc // Do nothing else yell '[MacingStance1' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToDefensiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Defensive" in MyCodexDesc // Do nothing else yell '[MacingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCleaveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Cleave" in MyCodexDesc // Do nothing else yell '[MacingStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToWildSwingStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Wild Swing" in MyCodexDesc // Do nothing else yell '[MacingStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToSunderStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Sunder" in MyCodexDesc // Do nothing else yell '[MacingStance5' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Fencing' >= 80 and UsingFencing = 1 if EnableWeaponCodexStances = 1 and findtype "fencing codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 1 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 1 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 1 elseif SetWeaponCodexStance = 4 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 1 @setvar! SwitchToFangStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToBlackguardStance 0 @setvar! SwitchToFangStance 0 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Assassinate" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Flurry" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Assassinate" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Flurry" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Flurry" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Assassinate" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[FencingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToAggressiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Aggressive" in MyCodexDesc // Do nothing else yell '[FencingStance1' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToDefensiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Defensive" in MyCodexDesc // Do nothing else yell '[FencingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCleaveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Cleave" in MyCodexDesc // Do nothing else yell '[FencingStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToBlackguardStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Blackguard" in MyCodexDesc // Do nothing else yell '[FencingStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToFangStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Fang" in MyCodexDesc // Do nothing else yell '[FencingStance5' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Archery' >= 80 and UsingArchery = 1 if EnableWeaponCodexStances = 1 and findtype "archery codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if SwitchtoIncendiaryAmmo = 1 if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 1 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 1 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 endif elseif findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 1 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 1 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToArcaneStance 1 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToArcaneStance 1 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 1 @setvar! SwitchToMaimingStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 1 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 1 elseif SetWeaponCodexStance = 4 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 1 @setvar! SwitchToMaimingStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 1 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToArcaneStance 0 @setvar! SwitchToFowlingStance 1 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToArcaneStance 1 @setvar! SwitchToFowlingStance 0 @setvar! SwitchToIncendiaryStance 0 @setvar! SwitchToLongshotStance 0 @setvar! SwitchToMaimingStance 0 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Ricochet" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Pincushion" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Ricochet" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Pincushion" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Pincushion" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Ricochet" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ArcheryFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToArcaneStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Arcane" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition1" settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToFowlingStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Fowling" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition2" settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToIncendiaryStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Incendiary" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition3" settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToLongshotStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Longshot" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition4" settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToMaimingStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Maiming" in MyCodexDesc // Do nothing else yell "[ArcheryAmmunition5" settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Wrestling' >= 80 and UsingWrestling = 1 if EnableWeaponCodexStances = 1 and findtype "wrestling codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 1 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 1 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 1 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToDragonStance 1 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToDragonStance 1 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 1 @setvar! SwitchToCraneStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 1 elseif SetWeaponCodexStance = 4 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 1 @setvar! SwitchToCraneStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 1 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToDragonStance 0 @setvar! SwitchToCrabStance 1 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToDragonStance 1 @setvar! SwitchToCrabStance 0 @setvar! SwitchToSpiderStance 0 @setvar! SwitchToMonkeyStance 0 @setvar! SwitchToCraneStance 0 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Chi Thrust" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Zen Strike" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Chi Thrust" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Zen Strike" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Zen Strike" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Chi Thrust" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[WrestlingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToDragonStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Dragon" in MyCodexDesc // Do nothing else yell '[WrestlingStance1' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCrabStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Crab" in MyCodexDesc // Do nothing else yell '[WrestlingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToSpiderStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Spider" in MyCodexDesc // Do nothing else yell '[WrestlingStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToMonkeyStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Monkey" in MyCodexDesc // Do nothing else yell '[WrestlingStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCraneStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Crane" in MyCodexDesc // Do nothing else yell '[WrestlingStance5' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Throwing' >= 80 and UsingThrowing = 1 if EnableWeaponCodexStances = 1 and findtype "throwing codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 1 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 1 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 1 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToTorrentStance 1 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToTorrentStance 1 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 1 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 1 @setvar! SwitchToKiteStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 1 elseif SetWeaponCodexStance = 4 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 1 @setvar! SwitchToKiteStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 1 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToTorrentStance 0 @setvar! SwitchToSuppressStance 1 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToTorrentStance 1 @setvar! SwitchToSuppressStance 0 @setvar! SwitchToReaperStance 0 @setvar! SwitchToRakeStance 0 @setvar! SwitchToKiteStance 0 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "Hunter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Hobble" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "Hunter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Hobble" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Hobble" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Hunter" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[ThrowingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToTorrentStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Torrent" in MyCodexDesc // Do nothing else yell '[ThrowingStance1' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToSuppressStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Suppress" in MyCodexDesc // Do nothing else yell '[ThrowingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToReaperStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Reaper" in MyCodexDesc // Do nothing else yell '[ThrowingStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToRakeStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Rake" in MyCodexDesc // Do nothing else yell '[ThrowingStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToKiteStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Kite" in MyCodexDesc // Do nothing else yell '[ThrowingStance5' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif elseif skill 'Dual Wielding' >= 80 and UsingDualWield = 1 if EnableWeaponCodexStances = 1 and findtype "dual wield codex" self as MyCodex if not gumpexists 2016719803 and EnableWeaponCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetWeaponCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or cooldown "Frost Shell Cooldown" if AutoWeaponStanceSetting = 1 or AutoWeaponStanceSetting = 2 or AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoWeaponStanceSetting = 1 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 1 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 endif elseif warmode if AutoWeaponStanceSetting = 1 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 2 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 1 @setvar! SwitchToShankStance 0 elseif AutoWeaponStanceSetting = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 1 elseif AutoWeaponStanceSetting = 0 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 endif endif elseif SetWeaponCodexStance = 5 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 1 elseif SetWeaponCodexStance = 4 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 1 @setvar! SwitchToShankStance 0 elseif SetWeaponCodexStance = 3 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 1 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif SetWeaponCodexStance = 2 @setvar! SwitchToAggressiveStance 0 @setvar! SwitchToDefensiveStance 1 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 elseif SetWeaponCodexStance = 1 @setvar! SwitchToAggressiveStance 1 @setvar! SwitchToDefensiveStance 0 @setvar! SwitchToCleaveStance 0 @setvar! SwitchToSquareOffStance 0 @setvar! SwitchToShankStance 0 endif getlabel MyCodex MyCodexDesc if EnableWeaponCodexFinishers = 1 if SetWeaponCodexFinisher = 1 if "En Garde" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 2 if "Coup de Grace" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif elseif SetWeaponCodexFinisher = 3 if warmode if "En Garde" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "Coup de Grace" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif elseif SetWeaponCodexFinisher = 4 if warmode if "Coup de Grace" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher2' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif else if "En Garde" in MyCodexDesc // Do nothing elseif DisableWeaponFinisher != 1 say '[DualWieldingFinisher1' @setvar! DisableWeaponFinisher 0 wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableWeaponFinisher 1 endif endif endif endif endif if SwitchToAggressiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Aggressive" in MyCodexDesc // Do nothing else yell '[DualWieldingStance1' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToDefensiveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Defensive" in MyCodexDesc // Do nothing else yell '[DualWieldingStance2' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToCleaveStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Cleave" in MyCodexDesc // Do nothing else yell '[DualWieldingStance3' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToSquareOffStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Square" in MyCodexDesc // Do nothing else yell '[DualWieldingStance4' settimer "WeaponCodexTimer" 0 wait 250 endif elseif SwitchToShankStance = 1 and timer "WeaponCodexTimer" > SwitchWeaponStanceCooldown if "Shank" in MyCodexDesc // Do nothing else yell '[DualWieldingStance5' settimer "WeaponCodexTimer" 0 wait 250 endif endif endif endif endif if timer "AttackingTimer" > 500 if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange attack ClosestTarget settimer "AttackingTimer" 0 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetDisengageRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif else break endif endif if EnableShieldCodexStances = 1 and SetShieldCodexStance != 0 if skill "Parrying" >= 80 and findtype "shield codex" self as ShieldCodex if not gumpexists 2016719803 and EnableShieldCodexHotbar = 1 while not gumpexists 1066647553 say "[CodexHotBar" wait 250 if gumpexists 2016719803 break endif endwhile endif if SetShieldCodexStance = 6 if findbuff "Bleed" or findbuff "Diseased" or poisoned if AutoShieldStanceSetting = 1 or AutoShieldStanceSetting = 2 or AutoShieldStanceSetting = 3 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 1 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 0 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 endif elseif not warmode and TimeToGo != 1 and AutoRecallTime != 1 @setvar! WarModeToggledWhileFighting 1 if AutoShieldStanceSetting = 1 @setvar! SwitchToBulwarkStance 1 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 2 @setvar! SwitchToBulwarkStance 1 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 3 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 1 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 0 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 endif elseif warmode if AutoShieldStanceSetting = 1 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 1 elseif AutoShieldStanceSetting = 2 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 1 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 3 @setvar! SwitchToBulwarkStance 1 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 elseif AutoShieldStanceSetting = 0 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToTestudoStance 0 endif endif elseif SetShieldCodexStance = 5 @setvar! SwitchToBulwarkStance 1 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToTestudoStance 0 elseif SetShieldCodexStance = 4 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToMirrorStance 1 @setvar! SwitchToWardingStance 0 @setvar! SwitchToTestudoStance 0 elseif SetShieldCodexStance = 3 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToTestudoStance 1 elseif SetShieldCodexStance = 2 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToShieldBashStance 0 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToWardingStance 1 @setvar! SwitchToTestudoStance 0 elseif SetShieldCodexStance = 1 @setvar! SwitchToBulwarkStance 0 @setvar! SwitchToShieldBashStance 1 @setvar! SwitchToMirrorStance 0 @setvar! SwitchToWardingStance 0 @setvar! SwitchToTestudoStance 0 endif getlabel ShieldCodex ShieldCodexDesc if EnableShieldCodexFinishers = 1 if SetShieldCodexFinisher = 1 if "Last Stand" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 yell '[ShieldsFinisher1' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif elseif SetShieldCodexFinisher = 2 if "Barrier" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 say '[ShieldsFinisher2' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif elseif SetShieldCodexFinisher = 3 if warmode if "Last Stand" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 yell '[ShieldsFinisher1' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif else if "Barrier" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 say '[ShieldsFinisher2' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif endif elseif SetShieldCodexFinisher = 4 if warmode if "Barrier" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 say '[ShieldsFinisher2' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif else if "Last Stand" in ShieldCodexDesc @setvar! DisableShieldFinisher 0 elseif DisableShieldFinisher != 1 yell '[ShieldsFinisher1' wait 250 if insysmsg "You must first reach rank 5" @setvar! DisableShieldFinisher 1 endif endif endif endif endif if SwitchToWardingStance = 1 if "Warding" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance2' settimer "ShieldCodexTimer" 0 wait 250 endif elseif SwitchToMirrorStance = 1 and timer "ShieldCodexTimer" > SwitchShieldCodexCooldown if "Mirror" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance4' settimer "ShieldCodexTimer" 0 wait 250 endif elseif SwitchToBulwarkStance = 1 and timer "ShieldCodexTimer" > SwitchShieldCodexCooldown if "Bulwark" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance5' settimer "ShieldCodexTimer" 0 wait 250 endif elseif SwitchToTestudoStance = 1 and timer "ShieldCodexTimer" > SwitchShieldCodexCooldown if "Testudo" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance3' settimer "ShieldCodexTimer" 0 wait 250 endif elseif SwitchToShieldBashStance = 1 and timer "ShieldCodexTimer" > SwitchShieldCodexCooldown if "Shield Bash" in ShieldCodexDesc // Do nothing else yell '[ShieldsStance1' settimer "ShieldCodexTimer" 0 wait 250 endif endif endif endif if EnableProvocation = 1 and skill "Provocation" >= 50 if find NextClosestTarget ground -1 -1 TargetBardingRange and ClosestTarget != NextClosestTarget if timer "NextTargetTimer" > 3000 if "Paragon" in descNextTarget if not dead NextClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead " � PARAGON! � " 12 NextClosestTarget else overhead " ��� " 12 NextClosestTarget endif endif else if not dead NextClosestTarget if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ PROVO TARGET ]" 2117 NextClosestTarget overhead " � " 2117 NextClosestTarget else overhead " � " 2117 NextClosestTarget endif endif endif settimer "NextTargetTimer" 0 endif endif endif getlabel ClosestTarget TargetDesc if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer 'TargetAcquired' > 2500 if "Paragon" in TargetDesc and find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " � PARAGON! � " 12 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead "[ TARGET ]" 253 ClosestTarget overhead " � " 253 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget endif endif else if timer 'TargetAcquired' > 3000 if "Paragon" in TargetDesc and find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " ��� " 12 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget elseif find ClosestTarget ground -1 -1 TargetAttackRange and not dead ClosestTarget overhead " � " 253 ClosestTarget settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 attack ClosestTarget endif endif endif if EnableAlwaysTargetClosest = 0 if not find ClosestTarget ground -1 -1 TargetDisengageRange break endif if not find ClosestTarget ground -1 -1 TargetAttackRange and find ClosestTarget ground -1 -1 TargetDisengageRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif elseif find ClosestTarget ground -1 -1 TargetAttackRange attack ClosestTarget endif elseif EnableAlwaysTargetClosest = 1 if not find ClosestTarget ground -1 -1 TargetDisengageRange break endif if timer "AmIclosestMOB" > 2000 and timer "ATTACKTIMER" > 2000 hotkey 'Target Closest Grey Monster' @setvar! TargetCheck lasttarget getlabel TargetCheck tempLabel getlabel backpack backpacklabel if inlist animalsIgnoreList tempLabel if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ IGNORING MOB... ]" 34 TargetCheck else overhead " � " 34 TargetCheck endif @ignore TargetCheck break elseif ClosestTarget != TargetCheck settimer "AmIclosestMOB" 0 @setvar! TargetisnotClosest 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer "NoTargetTimer" > 3000 overhead '[ RETARGETING... ]' 88 overhead "[ TARGET ]" 88 TargetCheck overhead " � " 88 TargetCheck settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif else if timer "NoTargetTimer" > 3000 overhead " � " 88 TargetCheck settimer "TargetAcquired" 0 settimer "NoTargetTimer" 0 endif endif @setvar! TargetCheck 0 break else attack ClosestTarget attack TargetCheck settimer "AmIclosestMOB" 0 @setvar! TargetCheck 0 @setvar! TargetisnotClosest 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if EnableOverheadMessages = 1 if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ CHAIN LINK UNLOCKED!! ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED!! ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY JOB COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You execute your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ EXECUTION!! ]" 37 endif endif if insysmsg "You shatter your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SHATTERED!! ]" 333 endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ COUP DE GRACE! ]" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*[ PULVERIZED! ]" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SMASHED! ]" 187 ClosestTarget endif endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ CRIPPLED! ]" 187 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "causes you to bleed" overhead "[ YOU ARE BLEEDING... ]" 2118 endif if insysmsg "been struck by an ancient blight" overhead "[ DISEASED... ]" 1109 endif if insysmsg "You feel chilled!" overhead "[ YOU ARE CHILLED... ]" 2234 endif if insysmsg "You resist a disease effect" overhead "[ DISEASE RESISTED! ]" 888 endif if insysmsg "resist a bleed" overhead "[ BLEED RESISTED! ]" 888 endif if insysmsg "The creature pierces and bypasses your armor!" overhead "[ YOU ARE PIERCED... ]" 337 endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget overhead "[ BLEED OUT! ]" 2118 ClosestTarget endif if insysmsg "Your attack causes your target to bleed" and not dead ClosestTarget overhead "[ BLEED! ]" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "[ HINDERED! ]" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "[ DISARMED! ]" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "[ DISARMED! ]" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "[ HAMSTRUNG! ]" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "[ HAMSTRUNG! ]" 337 endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "[ VICIOUS WOUND! ]" 1664 ClosestTarget endif if insysmsg "Barding break avoided" and not dead ClosestTarget overhead "[ BREAK AVOIDED! ]" 84 ClosestTarget endif if insysmsg "You parry the spell" overhead "[ SPELL PARRY ]" 111 endif if insysmsg "Frost Shell activated" overhead "[ FROST SHELL! ]" 2234 endif if insysmsg "Judgment activated" overhead "[ JUDGMENT! ]" 2114 endif if insysmsg "Cacophony activated" overhead "[ j CACOPHONY! j ]" 2241 endif if insysmsg "You perform a feint" overhead "[ FEINT! ]" 187 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif else if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ � CHAIN! � ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead '[ � CODEX! � ]' 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*coup de grace!*" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*bleeding out!*" 2118 ClosestTarget endif endif if insysmsg "You execute your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*executed!*" 2118 ClosestTarget endif endif if insysmsg "You shatter your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*shattered!*" 420 ClosestTarget endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*pulverized!*" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*smashed*" 333 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif if insysmsg "Cacophony activated" overhead " j j j " 2241 endif if insysmsg "You perform a feint" overhead "*feint*" 187 endif if insysmsg "causes your target to bleed" and not dead ClosestTarget overhead "*bleeding*" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget overhead "*crippled*" 333 ClosestTarget endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "*vicious wound*" 1664 ClosestTarget endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "*hindered*" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "*disarmed*" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "*disarmed*" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "*hamstrung*" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "*hamstrung*" 337 endif if insysmsg "You parry the spell" overhead "*spell parry*" 111 endif endif if EnableAutoParalyzePouch = 1 if paralyzed if findtype "pouch" self yell "[pouch" hotkey 'Toggle Peace Only' if DUNGEONMODE = 1 @setvar! TimeToGo 1 elseif WILDERNESSMODE = 1 @setvar! AutoRecallTime 1 endif break else if EnableOverheadMessages = 1 overhead "[ NO MORE POUCHES! ]" 337 endif endif endif endif if EnableGoldVacuum = 1 and DisableVacuums != 1 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 3500 overhead " � " 149 droppedmoney settimer "GoldRadar" 0 endif while findtype "gold coin" ground -1 -1 2 as droppedmoney and diffhits < ActivateAutoHealHPdiff overhead " � " 149 hotkey "Grab Item" wft 2500 target droppedmoney wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore droppedmoney endif wait 250 endwhile endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnableCurePotion = 1 and not dead while poisoned if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if EnablePKradar = 1 if timer "PKRadar" > 1000 clearsysmsg hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if weight > maxweight and EnableDropGoldWhenOverweight = 1 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer OverweightMessageTimer > 4500 overhead "[ OVERWEIGHT! ]" 34 settimer OverweightMessageTimer 0 endif endif if DropGoldAmount != 0 clearignore @setvar! DisableVacuums 1 wait 250 if EnablePutLootinLockBox = 1 if findtype "wooden box" self as lockbox if findtype "copper key" self as key clearignore getlabel lockbox lockboxlabel wait 100 if "items" in lockboxlabel // Do nothing else dclick key wft 1500 target lockbox if EnableOverheadMessages = 1 overhead "[loot box unlocked]" 84 endif wait 500 if insysmsg "It appears to be locked." dclick key wft 1500 target lockbox wait 250 endif endif elseif EnableOverheadMessages = 1 overhead "[ NO LOCKBOX KEY! ]" 337 endif endif endif while weight > maxweight and diffhits <= ActivateAutoHealHPdiff if findtype "gold coin" self as easycomeeasygo lift easycomeeasygo DropGoldAmount droprelloc 0 0 getlabel backpack packdesc if EnableOverheadMessages = 1 overhead "[ DROPPING GOLD... ]" 149 endif wait 250 if insysmsg "cannot drop anything" drop backpack -1 -1 -1 break endif wait 250 else break endif endwhile endif endif if dead break endif /////////////////////// // CHIVALRY BUFFS: // /////////////////////// while not gumpexists 1387930325 say "[ChivalryHotbar" wait 100 endwhile if gumpexists 1387930325 if ingump "12/" 1387930325 @setvar! HolySymbols 12 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "13/" 1387930325 @setvar! HolySymbols 13 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "14/" 1387930325 @setvar! HolySymbols 14 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "15/" 1387930325 @setvar! HolySymbols 15 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "16/" 1387930325 @setvar! HolySymbols 16 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "17/" 1387930325 @setvar! HolySymbols 17 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "18/" 1387930325 @setvar! HolySymbols 18 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "19/" 1387930325 @setvar! HolySymbols 19 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "20/" 1387930325 @setvar! HolySymbols 20 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "21/" 1387930325 @setvar! HolySymbols 21 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "11/" 1387930325 @setvar! HolySymbols 11 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "10/" 1387930325 @setvar! HolySymbols 10 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "9/" 1387930325 @setvar! HolySymbols 9 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "8/" 1387930325 @setvar! HolySymbols 8 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "7/" 1387930325 @setvar! HolySymbols 7 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "6/" 1387930325 @setvar! HolySymbols 6 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "5/" 1387930325 @setvar! HolySymbols 5 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "4/" 1387930325 @setvar! HolySymbols 4 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "3/" 1387930325 @setvar! HolySymbols 3 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "2/" 1387930325 @setvar! HolySymbols 2 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "1/" 1387930325 @setvar! HolySymbols 1 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "0/" 1387930325 @setvar! HolySymbols 0 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 endif endif if EnableDivineFury = 1 if skill "Chivalry" >= 85 and timer "DivineFuryTimer" > 31000 and timer "ChivalryPrevented" > 5000 and DivineFuryAvailable = 1 clearsysmsg yell "[DivineFury" wait 250 if not insysmsg "You do not have enough holy" settimer "DivineFuryTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Divine Fury" 31000 if EnableOverheadMessages = 1 overhead "[ DIVINE FURY! ]" 2117 endif else settimer "ChivalryPrevented" 0 endif wait 250 endif endif if EnableEnemyOfOne = 1 if skill "Chivalry" >= 75 and timer "EnemyOfOneTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and EnemyOfOneAvailable = 1 yell "[EnemyOfOne" wait 250 if not insysmsg "You do not have enough holy" settimer "EnemyOfOneTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Enemy Of One" 31000 if EnableOverheadMessages = 1 overhead "[ ENEMY OF ONE! ]" 332 endif else settimer "ChivalryPrevented" 0 endif wait 250 endif endif if EnableConsecrateWeapon = 1 if skill "Chivalry" >= 65 and timer "ConsecrateWeaponTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and ConsecrateWeaponAvailable = 1 yell "[ConsecrateWeapon" wait 250 if not insysmsg "You do not have enough holy" and not insysmsg "You must wait a moment" settimer "ConsecrateWeaponTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Consecrate Weapon" 31000 if EnableOverheadMessages = 1 overhead "[ CONSECRATE WEAPON! ]" 2206 endif else settimer "ChivalryPrevented" 0 endif wait 250 endif endif if EnableCloseWounds = 1 if findbuff "Bleed" or findbuff "Diseased" if skill "chivalry" >= 70 and timer "CloseWoundsTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CloseWoundsAvailable = 1 clearsysmsg yell "[CloseWounds" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CloseWoundsTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Close Wounds" 31000 if EnableOverheadMessages = 1 overhead "[ CLOSE WOUNDS! ]" 48 endif endif wait 250 endif endif endif if EnableCleanseByFire = 1 if skill "Chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if EnablePanaceaPotion = 1 and skill 'Alchemy' >= 80 if findbuff "Bleed" or findbuff "Diseased" if not findbuff "panacea potion cooldown" if findtype "Orange Potion" self dclicktype "Orange Potion" wait 500 if findbuff "panacea potion cooldown" and EnableOverheadMessages = 1 overhead '[ PANACEA ACTIVATED ]' 55 cooldown "Panacea Potion" 30000 endif endif endif endif endif if EnableCleansingBrews = 1 if findbuff "Diseased" or findbuff "Bleed" if timer CleansingBrewTimer > 120000 if findtype 50675 self 2935 as CleansingBrew dclick CleansingBrew if EnableOverheadMessages = 1 overhead '[ CLEANSING BREW ]' 2117 endif cooldown 'Cleansing Brew' 120000 settimer CleansingBrewTimer 0 wait 250 else if timer CleansingBrewOverhead > 15000 overhead "[ NO CLEANSING BREWS! ]" 337 settimer CleansingBrewOverhead 0 settimer CleansingBrewTimer 0 endif endif else if EnableOverheadMessages = 1 and timer CleansingBrewOverhead > 15000 overhead '[ BREW ON COOLDOWN! ]' 37 settimer CleansingBrewOverhead 0 endif endif endif endif if EnableFrostAspect = 1 if insysmsg "Frost Shell activated" cooldown "Frost Shell Active" 5000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ FROST SHELL! ]" 2234 endif if FrostAspectTier = 0 cooldown "Frost Shell Cooldown" 30000 elseif FrostAspectTier = 1 cooldown "Frost Shell Cooldown" 29000 elseif FrostAspectTier = 2 cooldown "Frost Shell Cooldown" 28000 elseif FrostAspectTier = 3 cooldown "Frost Shell Cooldown" 27000 elseif FrostAspectTier = 4 cooldown "Frost Shell Cooldown" 26000 elseif FrostAspectTier = 5 cooldown "Frost Shell Cooldown" 25000 elseif FrostAspectTier = 6 cooldown "Frost Shell Cooldown" 24000 elseif FrostAspectTier = 7 cooldown "Frost Shell Cooldown" 23000 elseif FrostAspectTier = 8 cooldown "Frost Shell Cooldown" 22000 elseif FrostAspectTier = 9 cooldown "Frost Shell Cooldown" 21000 elseif FrostAspectTier = 10 cooldown "Frost Shell Cooldown" 20000 elseif FrostAspectTier = 11 cooldown "Frost Shell Cooldown" 19000 elseif FrostAspectTier = 12 cooldown "Frost Shell Cooldown" 18000 elseif FrostAspectTier = 13 cooldown "Frost Shell Cooldown" 17000 elseif FrostAspectTier = 14 cooldown "Frost Shell Cooldown" 16000 elseif FrostAspectTier = 15 cooldown "Frost Shell Cooldown" 15000 elseif FrostAspectTier = 14 cooldown "Frost Shell Cooldown" 15000 endif clearsysmsg endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 clearsysmsg hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if EnableWeightWarningMessage = 1 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING... ]" 77 settimer "WeightTimer" 0 else overhead " � " 77 settimer "WeightTimer" 0 endif elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING! ]" 153 settimer "WeightTimer" 0 else overhead " � " 153 settimer "WeightTimer" 0 endif elseif diffweight <= RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT LIMIT REACHED! ]" 37 settimer "WeightTimer" 0 else overhead " � " 37 settimer "WeightTimer" 0 endif if EnableAutoWeightRecall = 1 and not find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! AutoWeightRecall 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 break elseif EnableAutoWeightRecall = 1 and find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 endif if timer "RECALLDELAY" > 3500 and EnableAutoRecallOverheadMessages = 1 overhead "[ WAITING TO RECALL... ]" 149 settimer "RECALLDELAY" 0 endif wait 500 elseif EnableAutoWeightDungeonGate = 1 and DUNGEONMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! TimeToGo 1 replay else overhead "[ OVERWEIGHT! ]" 337 sysmsg "Time to head home and unload your loot!" 0 settimer "WeightTimer" 0 endif endif endif if EnableAutoTaunting = 1 and diffhits < ActivateAutoHealHPdiff if skill 'Parrying' >= 80 and find ClosestTarget ground -1 -1 TargetAttackRange and timer "TauntingTimer" > 15000 say "[Taunt" wft 1000 target ClosestTarget wait 250 if not targetexists if insysmsg "Cannot be seen" settimer "TauntingTimer" 10000 else if EnableOverheadMessages = 1 overhead "[ TAUNTING... ]" 67 endif settimer "TauntingTimer" 0 endif endif endif endif if timer "AttackingTimer" > 500 if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange attack ClosestTarget settimer "AttackingTimer" 0 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetDisengageRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif else break endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif ////////////////////// // POTIONS: // ////////////////////// if EnableUsePotionKegs = 1 and findtype 'empty bottle%s%' self and findtype 'keg' self and timer 'PotionKegPVPCooldown' > 30000 if not timerexists PotionKegTimer createtimer PotionKegTimer settimer PotionKegTimer 5000 endif @setvar! PotionStockCheck 0 while PotionStockCheck < 8 and findtype 'empty bottle%s%' self @setvar! PotionAmounttoFill 0 if PotionStockCheck = 0 if ExplosionPotionAmount != 0 @setvar! PotionType 3853 @setvar! KegColour 419 @setvar! PotionAmounttoFill ExplosionPotionAmount endif @setvar! PotionStockCheck 1 elseif PotionStockCheck = 1 if HealingPotionAmount != 0 @setvar! PotionType 3852 @setvar! KegColour 253 @setvar! PotionAmounttoFill HealingPotionAmount endif @setvar! PotionStockCheck 2 elseif PotionStockCheck = 2 if CurePotionAmount != 0 @setvar! PotionType 3847 @setvar! KegColour 44 @setvar! PotionAmounttoFill CurePotionAmount endif @setvar! PotionStockCheck 3 elseif PotionStockCheck = 3 if RefreshPotionAmount != 0 @setvar! PotionType 3851 @setvar! KegColour 37 @setvar! PotionAmounttoFill RefreshPotionAmount endif @setvar! PotionStockCheck 4 elseif PotionStockCheck = 4 if StrengthPotionAmount != 0 @setvar! PotionType 3849 @setvar! KegColour 956 @setvar! PotionAmounttoFill StrengthPotionAmount endif @setvar! PotionStockCheck 5 elseif PotionStockCheck = 5 if AgilityPotionAmount != 0 @setvar! PotionType 3848 @setvar! KegColour 93 @setvar! PotionAmounttoFill AgilityPotionAmount endif @setvar! PotionStockCheck 6 elseif PotionStockCheck = 6 if ResistPotionAmount != 0 @setvar! PotionType 3846 @setvar! KegColour 1109 @setvar! PotionAmounttoFill ResistPotionAmount endif @setvar! PotionStockCheck 7 elseif PotionStockCheck = 7 if PoisonPotionAmount != 0 @setvar! PotionType 3850 @setvar! KegColour 363 @setvar! PotionAmounttoFill PoisonPotionAmount endif @setvar! PotionStockCheck 8 endif if PotionAmounttoFill != 0 while counttype PotionType self < PotionAmounttoFill if not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif if diffhits > 10 break endif if findtype 'keg' self KegColour as myKeg dclick myKeg wait 250 if EnableOverheadMessages = 1 if timer 'PotionKegTimer' > 2000 overhead '[ FILLING POTS... ]' KegColour settimer 'PotionKegTimer' 0 endif endif else if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO KEG TO USE... ]" KegColour settimer 'PotionKegTimer' 0 endif break endif if insysmsg "You have been in combat with another player" settimer "PotionKegPVPCooldown" 0 break endif endwhile if counttype PotionType self < PotionAmounttoFill and not findtype 'empty bottle%s%' self if EnableOverheadMessages = 1 and timer 'PotionKegTimer' > 5000 overhead "[ NO EMPTY BOTTLES... ]" 337 settimer 'PotionKegTimer' 0 endif break endif endif endwhile endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if EnableCurePotion = 1 and not dead while poisoned if EnableCleanseByFire = 1 if skill "Chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if EnableStrengthPotion = 1 and diffhits < ActivateAutoHealHPdiff if skill 'Alchemy' > 0 and skill 'Alchemy' < 2 if insysmsg "You may now use a strength" or not findbuff "Strength" if findtype "White Potion" self dclicktype "White Potion" if EnableOverheadMessages = 1 overhead "[ STRENGTH POTION ]" 956 endif wait 250 else if timer StrengthPotionMessageTimer > 4500 overhead "[ NO STRENGTH POTS! ]" 337 settimer StrengthPotionMessageTimer 0 endif endif clearsysmsg endif else if not findbuff "Strength" if findtype "White Potion" self dclicktype "White Potion" if EnableOverheadMessages = 1 overhead "[ STRENGTH POTION ]" 956 endif wait 250 else if timer StrengthPotionMessageTimer > 4500 overhead "[ NO STRENGTH POTS! ]" 337 settimer StrengthPotionMessageTimer 0 endif endif endif endif endif if EnableAgilityPotion = 1 and not findbuff "Agility" and diffhits < ActivateAutoHealHPdiff if findtype "Blue Potion" self dclicktype "Blue Potion" if EnableOverheadMessages = 1 overhead "[ AGILITY POTION ]" 93 endif wait 250 else if timer AgilityPotionMessageTimer > 4500 overhead "[ NO AGILITY POTS! ]" 337 settimer AgilityPotionMessageTimer 0 endif endif endif if EnableMagicResistPotion = 1 and not findbuff "Magic Resist" and diffhits < ActivateAutoHealHPdiff if findtype "Black Potion" self dclicktype "Black Potion" if EnableOverheadMessages = 1 overhead "[ RESIST POTION ]" 1109 endif wait 250 else if timer ResistPotionMessageTimer > 4500 overhead "[ NO RESIST POTS! ]" 337 settimer ResistPotionMessageTimer 0 endif endif endif if EnableRefreshPotion = 1 and diffstam > RefreshPotionSPdiff if findtype "Red Potion" self dclicktype "Red Potion" if EnableOverheadMessages = 1 overhead "[ REFRESH POTION ]" 37 endif wait 500 else if timer RefreshPotionMessageTimer > 4500 overhead "[ NO REFRESH POTS! ]" 337 settimer RefreshPotionMessageTimer 0 endif endif endif if timer "AttackingTimer" > 500 if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAttackRange attack ClosestTarget settimer "AttackingTimer" 0 elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetDisengageRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif else break endif endif if EnableAutoExplosionPots = 1 and skill 'Alchemy' >= 80 and diffhits < ActivateAutoHealHPdiff if findtype 'purple potion' self as explotPot getlabel explotPot potLabel if "(" in potLabel if timer PurplePotionTimer > PurplePotionCooldown @setvar! PurplePotionReady 1 else @setvar! PurplePotionReady 0 endif else @setvar! PurplePotionReady 1 endif else if EnableOverheadMessages = 1 and timer ExplosionPotionMessageTimer > 15000 overhead '[ NO PURPLE POTIONS ]' 337 settimer ExplosionPotionMessageTimer 0 endif endif @setvar! SpellInterrupted 0 if targetexists hotkey 'cancel current target' endif if PurplePotionReady = 1 and not dead ClosestTarget and find ClosestTarget ground -1 -1 PurplePotionTargetRange while not insysmsg "Where should i throw this potion?" and diffhits <= ActivateAutoHealHPdiff potion 'explosion' wait 100 endwhile @setvar! PurplePotionReady 0 settimer PurplePotionTimer 0 while not targetexists if dead ClosestTarget and not find ClosestTarget ground -1 -1 PurplePotionTargetRange @setvar! SpellInterrupted 1 hotkey 'cancel current target' @setvar! SwitchtoIncendiaryAmmo 0 break endif endwhile if SpellInterrupted = 0 target ClosestTarget if EnableOverheadMessages = 1 overhead '[ EXPLOSION POT... ]' 419 endif cooldown "Purple Potion" 15000 getlabel backpack packdesc wait 250 endif endif endif if EnableGoldVacuum = 1 and DisableVacuums != 1 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 3500 overhead " � " 149 droppedmoney settimer "GoldRadar" 0 endif while findtype "gold coin" ground -1 -1 2 as droppedmoney and diffhits < ActivateAutoHealHPdiff if diffhits > ActivateAutoHealHPdiff break endif overhead " � " 149 hotkey "Grab Item" wft 2500 target droppedmoney wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore droppedmoney endif wait 250 endwhile endif if EnableDungeonCleanup = 1 and DisableVacuums != 1 while findtype "iron ingot%s|board%s|cut up leather|3972|3962|3963|3980|3976|3973|3974|3981" ground -1 -1 2 as item and diffhits < ActivateAutoHealHPdiff if diffhits > ActivateAutoHealHPdiff break endif if EnableOverheadMessages = 1 if timer "DungeonCleanup" > 1500 overhead '[ CLEANUP... ]' 420 settimer "DungeonCleanup" 0 endif else if timer "DungeonCleanup" > 1500 overhead ' � ' 420 settimer "DungeonCleanup" 0 endif endif clearsysmsg hotkey "Grab Item" wft 1000 target item wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore item endif if not warmode hotkey 'Toggle War Only' break endif endwhile if findtype "iron ingot%s|board%s|cut up leather|3972|3962|3963|3980|3976|3973|3974|3981" ground -1 -1 15 as dungeonjunk and timer "DungeonCleanupRadar" > 3500 overhead " � " 420 dungeonjunk settimer "DungeonCleanupRadar" 0 endif endif if EnableArrowCleanup = 1 and skill 'Archery' > 50 while findtype 7163|3903 ground -1 -1 2 as item and diffhits < ActivateAutoHealHPdiff if timer "ArrowCleanupTimer" > 3500 if EnableOverheadMessages = 1 overhead '[ CLEANUP... ]' 93 settimer "ArrowCleanupTimer" 0 else overhead ' � ' 93 settimer "ArrowCleanupTimer" 0 endif endif clearsysmsg hotkey "Grab Item" wft 1000 target item wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore item endif if not warmode hotkey 'Toggle War Only' break endif endwhile if findtype "quiver" self as MyQuiver and timer "QuiverTimer" > 30000 while findtype "quiver" self as MyQuiver getlabel MyQuiver MyQuiverdesc wait 250 if 'decorative' in MyQuiverdesc @ignore MyQuiver wait 500 else break endif endwhile settimer "QuiverTimer" 0 menu MyQuiver 0 wait 250 endif if findtype 7163 ground -1 -1 10 as bolt and timer "BoltCleanupRadar" > 3500 overhead " � " 93 bolt settimer "BoltCleanupRadar" 0 endif if findtype 3903 ground -1 -1 10 as arrow and timer "ArrowCleanupRadar" > 3500 overhead " � " 37 arrow settimer "ArrowCleanupRadar" 0 endif endif if EnableAutoCarving = 1 and findtype 11552 self while findtype "corpse" ground -1 -1 2 as deadbody and diffhits < ActivateAutoHealHPdiff if findtype 11552 self if targetexists hotkey 'cancel current target' endif while not targetexists skill 'forensicevaluation' wait 100 endwhile if targetexists and find deadbody ground -1 -1 2 target 'self' @ignore deadbody wait 500 endif if insysmsg "You dont see anything nearby" clearsysmsg break else if EnableOverheadMessages = 1 and timer SkinningTimer > 3000 overhead "[ SKINNING... ]" 333 settimer SkinningTimer 0 endif endif else if EnableOverheadMessages = 1 and timer SkinningTimer > 15000 overhead "[ NO SKINNING KNIFE ]" 337 settimer SkinningTimer 0 break endif endif endwhile endif if diffhits >= ActivateAutoHealHPdiff break endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if insysmsg "your target to bleed" @setvar! TargetisBleeding 1 clearsysmsg endif if dead break endif if skill 'Provocation' >= 50 and EnableProvocation = 1 and diffhits <= ActivateAutoHealHPdiff if timer "ProvoCheck" > 500 and NeedtoProvoke != 1 if find ClosestTarget ground -1 -1 TargetBardingRange and find NextClosestTarget ground -1 -1 TargetBardingRange and ClosestTarget != NextClosestTarget getlabel ClosestTarget descTarget getlabel NextClosestTarget descNextTarget wait 250 if "provoked" in descTarget or "provoked" in descNextTarget if timer "ProvokedTimer" > 31000 settimer "ProvokedTimer" 0 endif @setvar! NeedtoProvoke 0 @setvar! NeedtoPacify 1 @setvar! NeedtoDiscord 1 settimer "ProvoCheck" 0 @setvar! SwitchtoIncendiaryAmmo 1 else settimer "ProvokedTimer" 31000 @setvar! NeedtoProvoke 1 @setvar! NeedtoPacify 0 @setvar! NeedtoDiscord 0 settimer "ProvoCheck" 0 @setvar! SwitchtoIncendiaryAmmo 0 endif else @setvar! NeedtoProvoke 0 settimer "ProvoCheck" 0 endif endif endif if skill "Peacemaking" >= 50 and EnablePeacemaking = 1 and diffhits <= ActivateAutoHealHPdiff if timer "PeaceCheck" > 500 and NeedtoProvoke != 1 if find ClosestTarget ground -1 -1 TargetBardingRange getlabel ClosestTarget descTarget if EnableProvocation = 1 and NextClosestTarget != ClosestTarget and find NextClosestTarget ground -1 -1 TargetBardingRange getlabel NextClosestTarget descNextTarget endif wait 250 if "pacified" in descTarget if timer "PacifiedTimer" > 31000 settimer "PacifiedTimer" 0 endif @setvar! NeedtoPacify 0 settimer "PeaceCheck" 0 elseif EnableProvocation = 1 if "provoked" in descTarget or "provoked" in descNextTarget @setvar! NeedtoPacify 0 settimer "PeaceCheck" 0 else settimer "PacifiedTimer" 31000 @setvar! NeedtoPacify 1 settimer "PeaceCheck" 0 endif endif else break endif endif endif if EnableDiscordance = 1 and skill "Discordance" >= 50 and diffhits <= ActivateAutoHealHPdiff if timer "DiscoCheck" > 500 and NeedtoProvoke != 1 if find ClosestTarget ground -1 -1 TargetBardingRange getlabel ClosestTarget descTarget wait 150 if "discord" in descTarget if EnableProvocation = 1 and find NextClosestTarget ground -1 -1 TargetBardingRange and ClosestTarget != NextClosestTarget and NextClosestTarget != 0 getlabel NextClosestTarget descNextTarget wait 250 if "discord" in descNextTarget @setvar! NeedtoDiscord 0 settimer "DiscoCheck" 0 else @setvar! NeedtoDiscord 2 settimer "DiscoCheck" 0 endif else if timer "DiscordedTimer" > 31000 settimer "DiscordedTimer" 0 endif @setvar! NeedtoDiscord 0 settimer "DiscoCheck" 0 endif else settimer "DiscordedTimer" 31000 @setvar! NeedtoDiscord 1 settimer "DiscoCheck" 0 endif endif endif endif if EnableOverheadMessages = 1 if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ CHAIN LINK UNLOCKED!! ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED!! ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You execute your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ EXECUTION!! ]" 37 endif endif if insysmsg "You shatter your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SHATTERED!! ]" 333 endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ COUP DE GRACE! ]" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*[ PULVERIZED! ]" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SMASHED! ]" 187 ClosestTarget endif endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ CRIPPLED! ]" 187 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "causes you to bleed" overhead "[ YOU ARE BLEEDING... ]" 2118 endif if insysmsg "been struck by an ancient blight" overhead "[ DISEASED... ]" 1109 endif if insysmsg "You feel chilled!" overhead "[ YOU ARE CHILLED... ]" 2234 endif if insysmsg "You resist a disease effect" overhead "[ DISEASE RESISTED! ]" 888 endif if insysmsg "resist a bleed" overhead "[ BLEED RESISTED! ]" 888 endif if insysmsg "The creature pierces and bypasses your armor!" overhead "[ YOU ARE PIERCED... ]" 337 endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget overhead "[ BLEED OUT! ]" 2118 ClosestTarget endif if insysmsg "Your attack causes your target to bleed" and not dead ClosestTarget overhead "[ BLEED! ]" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "[ HINDERED! ]" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "[ DISARMED! ]" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "[ DISARMED! ]" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "[ HAMSTRUNG! ]" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "[ HAMSTRUNG! ]" 337 endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "[ VICIOUS WOUND! ]" 1664 ClosestTarget endif if insysmsg "Barding break avoided" and not dead ClosestTarget overhead "[ BREAK AVOIDED! ]" 84 ClosestTarget endif if insysmsg "You parry the spell" overhead "[ SPELL PARRY ]" 111 endif if insysmsg "Frost Shell activated" overhead "[ FROST SHELL! ]" 2234 endif if insysmsg "Judgment activated" overhead "[ JUDGMENT! ]" 2114 endif if insysmsg "Cacophony activated" overhead "[ j CACOPHONY! j ]" 2241 endif if insysmsg "You perform a feint" overhead "[ FEINT! ]" 187 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif else if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ � CHAIN! � ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead '[ � CODEX! � ]' 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*coup de grace!*" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*bleeding out!*" 2118 ClosestTarget endif endif if insysmsg "You execute your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*executed!*" 2118 ClosestTarget endif endif if insysmsg "You shatter your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*shattered!*" 420 ClosestTarget endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*pulverized!*" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*smashed*" 333 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif if insysmsg "Cacophony activated" overhead " j j j " 2241 endif if insysmsg "You perform a feint" overhead "*feint*" 187 endif if insysmsg "causes your target to bleed" and not dead ClosestTarget overhead "*bleeding*" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget overhead "*crippled*" 333 ClosestTarget endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "*vicious wound*" 1664 ClosestTarget endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "*hindered*" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "*disarmed*" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "*disarmed*" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "*hamstrung*" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "*hamstrung*" 337 endif if insysmsg "You parry the spell" overhead "*spell parry*" 111 endif endif ///////////////////////// // WEAPON ABILITIES: // ///////////////////////// if not gumpexists 3954121934 and EnableWeaponAbilityHotbar = 1 say '[abilitieshotbar' waitforgump 3954121934 5000 endif if EnableWeaponCodexAbilities = 1 and diffhits < ActivateAutoHealHPdiff if skill 'Swordsmanship' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingSwords = 1 if timer 'WeaponAbilityTimer' > WeaponAbilityCooldown if UseRendAbility = 1 and timer "RendTimer" > 60000 if insysmsg "your target to bleed" or TargetisBleeding = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg break else if EnableOverheadMessages = 1 overhead "[ REND! ]" 333 elseif EnableOverheadMessages = 2 overhead "*rend ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Rend Ability" 15000 settimer "RendTimer" 0 settimer "WeaponAbilityTimer" 0 endif else // Target not bleeding - Use Spinslash Ability instead: if UseSpinslashAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ SPINSLASH! ]" 333 elseif EnableOverheadMessages = 2 overhead "*spinslash ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Spinslash Ability" 15000 settimer "WeaponAbilityTimer" 0 endif endif endif elseif UseSpinslashAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ SPINSLASH! ]" 333 elseif EnableOverheadMessages = 2 overhead "*spinslash ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Spinslash Ability" 15000 settimer "WeaponAbilityTimer" 0 endif endif if UseChopAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ CHOP! ]" 333 elseif EnableOverheadMessages = 2 overhead "*chop ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Chop Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif endif elseif skill 'Mace Fighting' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingMacing = 1 if timer 'WeaponAbilityTimer' > WeaponAbilityCooldown and UsePummelAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ PUMMEL! ]" 333 elseif EnableOverheadMessages = 2 overhead "*pummel ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Pummel Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseStunAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ STUN! ]" 333 elseif EnableOverheadMessages = 2 overhead "*stun ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Stun Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseSmashAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ SMASH! ]" 333 elseif EnableOverheadMessages = 2 overhead "*smash ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Smash Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif elseif skill 'Fencing' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingFencing = 1 if timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseGambitAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ GAMBIT! ]" 333 elseif EnableOverheadMessages = 2 overhead "*gambit ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Gambit Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseSwiftstrikesAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ SWIFTSTRIKES! ]" 333 elseif EnableOverheadMessages = 2 overhead "*swiftstrikes ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Swiftstrikes Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseBaneAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ BANE! ]" 333 elseif EnableOverheadMessages = 2 overhead "*bane ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Bane Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif elseif skill 'Archery' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingArchery = 1 if timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseSkirmishAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ SKIRMISH! ]" 333 elseif EnableOverheadMessages = 2 overhead "*skirmish ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Skirmish Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseFullDrawAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ FULL DRAW! ]" 333 elseif EnableOverheadMessages = 2 overhead "*full draw ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Full Draw Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseRepeaterAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ REPEATER! ]" 333 elseif EnableOverheadMessages = 2 overhead "*repeater ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Repeater Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif elseif skill 'Wrestling' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingWrestling = 1 if timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseBrawlAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ BRAWL! ]" 333 elseif EnableOverheadMessages = 2 overhead "*brawl ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Brawl Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseHaymakerAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ HAYMAKER! ]" 333 elseif EnableOverheadMessages = 2 overhead "*haymaker ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Haymaker Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseTakedownAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ TAKEDOWN! ]" 333 elseif EnableOverheadMessages = 2 overhead "*takedown ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Takedown Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif elseif skill 'Throwing' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingThrowing = 1 if timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseClashAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ CLASH! ]" 333 elseif EnableOverheadMessages = 2 overhead "*clash ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Clash Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseBlitzAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ BLITZ! ]" 333 elseif EnableOverheadMessages = 2 overhead "*blitz ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Blitz Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseHailMaryAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ HAIL MARY! ]" 333 elseif EnableOverheadMessages = 2 overhead "*hail mary ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Hail Mary Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif elseif skill 'Dual Wielding' >= 50 and find ClosestTarget ground -1 -1 TargetAttackRange and UsingDualWield = 1 if timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseBladewhirlAbility = 1 clearsysmsg yell "[WeaponAbility1" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ BLADEWHIRL! ]" 333 elseif EnableOverheadMessages = 2 overhead "*bladewhirl ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Bladewhirl Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseKnightlyAbility = 1 clearsysmsg yell "[WeaponAbility2" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ KNIGHTLY! ]" 333 elseif EnableOverheadMessages = 2 overhead "*knightly ability!*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Knightly Ability" 15000 settimer "WeaponAbilityTimer" 0 endif elseif timer "WeaponAbilityTimer" > WeaponAbilityCooldown and UseKnaveAbility = 1 clearsysmsg yell "[WeaponAbility3" wait 250 if insysmsg "You cannot" settimer "WeaponAbilityTimer" 25000 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ KNAVE! ]" 333 elseif EnableOverheadMessages = 2 overhead "*knave! ability*" 333 endif cooldown "Weapon Ability" WeaponAbilityCooldown cooldown "Knave Ability" 5000 settimer "WeaponAbilityTimer" 0 endif endif endif endif if skill 'Peacemaking' >= 50 or skill 'Provocation' >= 50 or skill 'Discordance' >= 50 if EnableProvocationBuff = 1 and not findbuff "Song of Provocation" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 and diffhits < ActivateAutoHealHPdiff skill "Provocation" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PROVOCATION j ]" 2117 endif cooldown "Provocation Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnableDiscordanceBuff = 1 and not findbuff "Song Of Discordance" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 and diffhits < ActivateAutoHealHPdiff skill "Discordance" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF DISCORDANCE j ]" 69 endif cooldown "Discordance Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif if EnablePeacemakingBuff = 1 and not findbuff "Song Of Peacemaking" and timer 'Musicianship' > 5000 and timer "SongBuffDelay" > 10500 and diffhits < ActivateAutoHealHPdiff clearsysmsg skill "Peacemaking" wft 1500 if insysmsg "What instrument shall you play?" if findtype "standing harp|sackbut|bamboo flute|tambourine|drum|lute|lap harp|gemshorn|hurdy gurdy|psaltery|shawm|vielle" as Instrument target Instrument wait 250 else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ NO INSTRUMENT! ]" 337 endif endif endif if not insysmsg "This is not a musical instrument" and targetexists target backpack if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ j SONG OF PEACEMAKING j ]" 84 endif cooldown "Peacemaking Buff" 900000 settimer 'Musicianship' 0 settimer "SongBuffDelay" 0 endif endif endif if EnableAutoPoisonWeaponinHand = 1 and diffhits < ActivateAutoHealHPdiff if skill "Poisoning" >= 80 and skill "Taste Identification" >= 80 if find '30988|5049|3934|3937|5046|5119|5185|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|67773|67775|67776|67777|67778' hand as myweapon @setvar! equippedweapon myweapon getlabel equippedweapon weapondesc if "poison charges" in weapondesc // Do nothing else if findtype "Green Potion" self if EnableOverheadMessages = 1 overhead "[ APPLYING POISON... ]" 84 endif menu equippedweapon 0 wait 500 else if timer "InventoryCheck" > 15000 overhead "[ NO POISON POTIONS ]" 337 settimer "InventoryCheck" 0 endif endif endif endif endif endif if targetexists if findtype "Elven Spellblade" self targettype "Elven Spellblade" else target backpack endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if EnablePKradar = 1 if timer "PKRadar" > 1000 hotkey 'Next Murderer Player Target' wait 250 if insysmsg "No one matching that was found" settimer "PKRadar" 0 clearsysmsg else hotkey 'Toggle Peace Only' @setvar! RedTargetFound 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 @setvar! SkipInfiniteLoop 1 @setvar! MurdererTarget lasttarget if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 replay endif endif endif if EnableTrackingAutoRecall = 1 if PKTrackingRange = 60 if insysmsg ": 60 step" or insysmsg "60 space" or insysmsg ": 59 step" or insysmsg "59 space" or insysmsg ": 58 step" or insysmsg "58 space" or insysmsg ": 57 step" or insysmsg "57 space" or insysmsg ": 56 step" or insysmsg "56 space" or insysmsg ": 55 step" or insysmsg "55 space" or insysmsg ": 54 step" or insysmsg "54 space" or insysmsg ": 53 step" or insysmsg "53 space" or insysmsg ": 52 step" or insysmsg "52 space" or insysmsg ": 51 step" or insysmsg "51 space" or insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 50 if insysmsg ": 50 step" or insysmsg "50 space" or insysmsg ": 49 step" or insysmsg "49 space" or insysmsg ": 48 step" or insysmsg "48 space" or insysmsg ": 47 step" or insysmsg "47 space" or insysmsg ": 46 step" or insysmsg "46 space" or insysmsg ": 45 step" or insysmsg "45 space" or insysmsg ": 44 step" or insysmsg "44 space" or insysmsg ": 43 step" or insysmsg "43 space" or insysmsg ": 42 step" or insysmsg "42 space" or insysmsg ": 41 step" or insysmsg "41 space" or insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 40 if insysmsg ": 40 step" or insysmsg "40 space" or insysmsg ": 39 step" or insysmsg "39 space" or insysmsg ": 38 step" or insysmsg "38 space" or insysmsg ": 37 step" or insysmsg "37 space" or insysmsg ": 36 step" or insysmsg "36 space" or insysmsg ": 35 step" or insysmsg "35 space" or insysmsg ": 34 step" or insysmsg "34 space" or insysmsg ": 33 step" or insysmsg "33 space" or insysmsg ": 32 step" or insysmsg "32 space" or insysmsg ": 31 step" or insysmsg "31 space" or insysmsg ": 30 step" or insysmsg "30 space" or insysmsg ": 29 step" or insysmsg "29 space" or insysmsg ": 28 step" or insysmsg "28 space" or insysmsg ": 27 step" or insysmsg "27 space" or insysmsg ": 26 step" or insysmsg "26 space" or insysmsg ": 25 step" or insysmsg "25 space" or insysmsg ": 24 step" or insysmsg "24 space" or insysmsg ": 23 step" or insysmsg "23 space" or insysmsg ": 22 step" or insysmsg "22 space" or insysmsg ": 21 step" or insysmsg "21 space" or insysmsg ": 20 step" or insysmsg "20 space" or insysmsg ": 19 step" or insysmsg "19 space" or insysmsg ": 18 step" or insysmsg "18 space" or insysmsg ": 17 step" or insysmsg "17 space" or insysmsg ": 16 step" or insysmsg "16 space" or insysmsg ": 15 step" or insysmsg "15 space" or insysmsg ": 14 step" or insysmsg "14 space" or insysmsg ": 13 step" or insysmsg "13 space" or insysmsg ": 12 step" or insysmsg "12 space" or insysmsg ": 11 step" or insysmsg "11 space" or insysmsg ": 10 step" or insysmsg "10 space" or insysmsg ": 9 step" or insysmsg "(9 space" or insysmsg ": 8 step" or insysmsg "(8 space" or insysmsg ": 7 step" or insysmsg "(7 space" or insysmsg ": 6 step" or insysmsg "(6 space" or insysmsg ": 5 step" or insysmsg "(5 space" or insysmsg ": 4 step" or insysmsg "(4 space" or insysmsg ": 3 step" or insysmsg "(3 space" or insysmsg ": 2 step" or insysmsg "(2 space" or insysmsg ": 1 step" or insysmsg "(1 space" or insysmsg ": 0 step" or insysmsg "(0 space" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif elseif PKTrackingRange = 0 if insysmsg "Now tracking" hotkey 'Toggle Peace Only' if EnableRedAlertOverhead = 1 overhead "[ !! RED ALERT !! ]" 37 endif settimer "REDALERT" 0 @setvar! RedTargetFound 1 @setvar! SkipInfiniteLoop 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 clearsysmsg replay endif endif endif if EnableWeaponCodexAbilities = 1 if insysmsg "your target to bleed" @setvar! TargetisBleeding 1 clearsysmsg endif endif if dead break endif if EnableOverheadMessages = 1 if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ CHAIN LINK UNLOCKED!! ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED!! ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You execute your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ EXECUTION!! ]" 37 endif endif if insysmsg "You shatter your target" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SHATTERED!! ]" 333 endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ COUP DE GRACE! ]" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*[ PULVERIZED! ]" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ SMASHED! ]" 187 ClosestTarget endif endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "[ CRIPPLED! ]" 187 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "causes you to bleed" overhead "[ YOU ARE BLEEDING... ]" 2118 endif if insysmsg "been struck by an ancient blight" overhead "[ DISEASED... ]" 1109 endif if insysmsg "You feel chilled!" overhead "[ YOU ARE CHILLED... ]" 2234 endif if insysmsg "You resist a disease effect" overhead "[ DISEASE RESISTED! ]" 888 endif if insysmsg "resist a bleed" overhead "[ BLEED RESISTED! ]" 888 endif if insysmsg "The creature pierces and bypasses your armor!" overhead "[ YOU ARE PIERCED... ]" 337 endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget overhead "[ BLEED OUT! ]" 2118 ClosestTarget endif if insysmsg "Your attack causes your target to bleed" and not dead ClosestTarget overhead "[ BLEED! ]" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "[ HINDERED! ]" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "[ DISARMED! ]" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "[ DISARMED! ]" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "[ HAMSTRUNG! ]" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "[ HAMSTRUNG! ]" 337 endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "[ VICIOUS WOUND! ]" 1664 ClosestTarget endif if insysmsg "Barding break avoided" and not dead ClosestTarget overhead "[ BREAK AVOIDED! ]" 84 ClosestTarget endif if insysmsg "You parry the spell" overhead "[ SPELL PARRY ]" 111 endif if insysmsg "Frost Shell activated" overhead "[ FROST SHELL! ]" 2234 endif if insysmsg "Judgment activated" overhead "[ JUDGMENT! ]" 2114 endif if insysmsg "Cacophony activated" overhead "[ j CACOPHONY! j ]" 2241 endif if insysmsg "You perform a feint" overhead "[ FEINT! ]" 187 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif else if insysmsg "something invisible out of" overhead "� SOMEONE HIDING! �" 6 endif if insysmsg "additional mastery chain link" overhead "[ � CHAIN! � ]" 149 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yell" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have unlocked a codex upgrade point" overhead '[ � CODEX! � ]' 2114 wait 250 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[HighFive" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You have completed a society job" overhead "[ SOCIETY COMPLETE! ]" 419 wait 500 if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Yes" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif if insysmsg "You deliver a coup de grace" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*coup de grace!*" 187 endif endif if insysmsg "en garde" if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Bark" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "En garde!" 187 endif endif if insysmsg "You cause your target to bleed out" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*bleeding out!*" 2118 ClosestTarget endif endif if insysmsg "You execute your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*executed!*" 2118 ClosestTarget endif endif if insysmsg "You shatter your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*shattered!*" 420 ClosestTarget endif endif if insysmsg "You pulverize your target" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*pulverized!*" 420 ClosestTarget endif endif if insysmsg "You smash" and not dead ClosestTarget if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 wait 500 say "[Awoo" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else overhead "*smashed*" 333 ClosestTarget endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "attempting to steal" or insysmsg "attempting to peek" overhead "[ THIEF DETECTED! ]" 910 endif if insysmsg "Cacophony activated" overhead " j j j " 2241 endif if insysmsg "You perform a feint" overhead "*feint*" 187 endif if insysmsg "causes your target to bleed" and not dead ClosestTarget overhead "*bleeding*" 2118 ClosestTarget @setvar! TargetisBleeding 1 endif if insysmsg "Your attack cripples your target" and not dead ClosestTarget overhead "*crippled*" 333 ClosestTarget endif if insysmsg "Your target overpowers" and not dead ClosestTarget overhead "*vicious wound*" 1664 ClosestTarget endif if insysmsg "Your shot hinders" and not dead ClosestTarget overhead "*hindered*" 149 ClosestTarget endif if insysmsg "Your strike disarms your target!" and not dead ClosestTarget overhead "*disarmed*" 2114 ClosestTarget endif if insysmsg "Their attack disarms you!" overhead "*disarmed*" 337 endif if insysmsg "Your attack hamstrings your target!" and not dead ClosestTarget overhead "*hamstrung*" 2117 ClosestTarget endif if insysmsg "Their attack hamstrings you!" overhead "*hamstrung*" 337 endif if insysmsg "You parry the spell" overhead "*spell parry*" 111 endif endif if dead break endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif if not warmode and TimeToGo != 1 and AutoRecallTime != 1 if SetWeaponCodexStance = 6 or SetShieldCodexStance = 6 or SetWeaponCodexFinisher = 3 or SetWeaponCodexFinisher = 4 or SetShieldCodexFinisher = 3 or SetShieldCodexFinisher = 4 @setvar! WarModeToggledWhileFighting 1 endif endif if diffhits >= ActivateAutoHealHPdiff break endif if dead ClosestTarget or not find ClosestTarget ground -1 -1 TargetDisengageRange if skill 'Archery' > 80 @setvar! SwitchtoIncendiaryAmmo 0 endif break endif endwhile ////////////////////////////// // END ATTACK TARGET LOOP // ////////////////////////////// cooldown "Pacified" 0 cooldown "Provoked" 0 cooldown "Discorded" 0 @setvar! NeedtoSecureLoot 1 @setvar! SwitchtoIncendiaryAmmo 0 @setvar! TargetisBleeding 0 settimer "LootTimer" 0 settimer "STORELOOT" 0 settimer "AfterKill" 0 getlabel backpack backpacklabel if WarModeToggledWhileFighting = 1 or warmode if FoundNewTarget != 1 if not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetDisengageRange and not find ClosestTarget ground -1 -1 TargetAttackRange if timer "NoTargetTimer" > 3000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ GET CLOSER! ]" 353 overhead " � " 353 ClosestTarget else overhead " � " 353 ClosestTarget endif settimer "NoTargetTimer" 0 settimer "TargetAcquired" 0 endif elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 TargetAnalyzeRange and not find ClosestTarget ground -1 -1 TargetDisengageRange if varexist DisengagedTarget @unignore DisengagedTarget endif if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ DISENGAGING... ]" 339 endif settimer "AnalyzeTargetMessageTimer" 0 settimer "NoTargetTimer" 0 @setvar! DisengagedTarget ClosestTarget @ignore DisengagedTarget elseif not dead ClosestTarget and find ClosestTarget ground -1 -1 18 and not find ClosestTarget ground -1 -1 TargetAnalyzeRange if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer 'NoTargetTimer' > 2000 and TimeToGo != 1 overhead "[ TARGET LOST... ]" 339 settimer 'NoTargetTimer' 0 endif endif elseif dead ClosestTarget if EnableAxeJuggling = 1 and skill 'Dual Wielding' > 50 and findtype 'dual wield norse axe' hand and DUNGEONMODE = 1 if findtype 'juggling hatchets' self as MyJugglingAxes and timer JugglingTimer > SetAxeJugglingCooldown dclick MyJugglingAxes wait 250 if insysmsg 'You must wait' settimer JugglingTimer 25000 else if EnableUseEmotes = 1 and timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 say "[Hohoho" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown else if EnableOverheadMessages != 0 overhead '*showing off*' 411 endif endif settimer JugglingTimer 0 cooldown 'Juggling Cooldown' SetAxeJugglingCooldown endif else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer 'NoTargetTimer' > 2000 and TimeToGo != 1 overhead "[ TARGET ELIMINATED! ]" 2114 settimer 'NoTargetTimer' 0 endif endif endif else if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 if timer 'NoTargetTimer' > 2000 and TimeToGo != 1 overhead "[ TARGET ELIMINATED! ]" 2114 settimer 'NoTargetTimer' 0 endif endif endif endif endif endif if EnableOverheadMessages = 1 if insysmsg "additional mastery chain link!" overhead "[ NEW LINK UNLOCKED!! ]" 149 wait 250 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ CODEX POINT UNLOCKED! ]" 2114 wait 250 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "enough experience to upgrade" overhead "[ ASPECT TIER UNLOCKED! ]" 2234 wait 250 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY POINTS � ]" 419 endif if insysmsg "You have completed a society job" overhead "[ SOCIETY JOB COMPLETE! ]" 419 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif else if insysmsg "additional mastery chain link!" overhead "[ � CHAIN � ]" 149 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "You have unlocked a codex upgrade point" overhead "[ � CODEX � ]" 2114 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "enough experience to upgrade" overhead "[ � ASPECT � ]" 2234 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif if insysmsg "Society Job Progress" overhead "[ � SOCIETY � ]" 419 endif if insysmsg "You have completed a society job" overhead "[ SOCIETY JOB COMPLETE! ]" 419 if EnableUseEmotes = 1 if timer EmoteCooldownTimer > SetEmoteCooldown and EnableOverheadMessages != 0 say "[Whistle" settimer EmoteCooldownTimer 0 cooldown "Emote Cooldown" SetEmoteCooldown endif endif endif endif if dead break endif if EnableAutoCarving = 1 and findtype 11552 self and diffhits < ActivateAutoHealHPdiff and FoundNewTarget != 1 while findtype "corpse" ground -1 -1 2 as deadbody and diffhits < ActivateAutoHealHPdiff if findtype 11552 self if targetexists hotkey 'cancel current target' endif while not targetexists skill 'forensicevaluation' wait 100 endwhile if targetexists and find deadbody ground -1 -1 2 target 'self' @ignore deadbody wait 500 endif if insysmsg "You dont see anything nearby" clearsysmsg break else if EnableOverheadMessages = 1 and timer SkinningTimer > 3000 overhead "[ SKINNING... ]" 333 settimer SkinningTimer 0 endif break endif else if EnableOverheadMessages = 1 and timer SkinningTimer > 15000 overhead "[ NO SKINNING KNIFE ]" 337 settimer SkinningTimer 0 break endif endif endwhile endif @setvar! FoundNewTarget 0 //////////////////////////// // AFTER KILL LOOP: // //////////////////////////// while timer "AfterKill" < AfterKillTimer and diffhits < ActivateAutoHealHPdiff if dead break endif if diffhits >= ActivateAutoHealHPdiff break endif if EnableAutoParalyzePouch = 1 if paralyzed if findtype "pouch" self yell "[pouch" hotkey 'Toggle Peace Only' if DUNGEONMODE = 1 @setvar! TimeToGo 1 elseif WILDERNESSMODE = 1 @setvar! AutoRecallTime 1 endif break else if EnableOverheadMessages = 1 overhead "[ NO MORE POUCHES! ]" 337 endif endif endif endif if EnableHealPotion = 1 and diffhits >= HealPotionHPdiff if findtype "Yellow Potion" self as HealPot getlabel HealPot HealPotlabel if "next" in HealPotlabel // Do nothing else @setvar! HealPotionCheck 0 if counttype 3852 self as HealPotCount @setvar! HealPotionCheck HealPotCount endif clearsysmsg dclicktype 3852 getlabel backpack backpackdesc wait 250 if HealPotionCheck != counttype 3852 self or insysmsg "potion satchel used" settimer 'HealPotionTimer' 0 cooldown "Healing Potion" HealingPotionCooldown if EnableOverheadMessages = 1 if insysmsg "potion satchel used" overhead '[ FREE HEAL POTION ]' 253 else overhead "[ HEAL POTION ]" 253 endif endif clearsysmsg endif endif else if timer 'HealPotionMessageTimer' > 4500 overhead "[ NO HEAL POTS! ]" 337 settimer 'HealPotionMessageTimer' 0 endif endif endif if diffhits > 0 and not bandaging if skill 'healing' > 0 if findtype 'clean bandage%s%' self if targetexists hotkey 'cancel current target' endif hotkey 'Bandage Self' if EnableOverheadMessages = 1 if timer BandageMessageTimer > 5000 overhead "[ BANDAGING... ]" 88 settimer BandageMessageTimer 0 endif endif else if timer BandageMessageTimer > 5000 and EnableOverheadMessages = 1 overhead "[ OUT OF BANDAGES! ]" 337 settimer BandageMessageTimer 0 endif endif endif endif while not gumpexists 1387930325 say "[ChivalryHotbar" wait 100 endwhile if gumpexists 1387930325 if ingump "12/" 1387930325 @setvar! HolySymbols 12 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "13/" 1387930325 @setvar! HolySymbols 13 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "14/" 1387930325 @setvar! HolySymbols 14 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "15/" 1387930325 @setvar! HolySymbols 15 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "16/" 1387930325 @setvar! HolySymbols 16 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "17/" 1387930325 @setvar! HolySymbols 17 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "18/" 1387930325 @setvar! HolySymbols 18 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "19/" 1387930325 @setvar! HolySymbols 19 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "20/" 1387930325 @setvar! HolySymbols 20 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "21/" 1387930325 @setvar! HolySymbols 21 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "11/" 1387930325 @setvar! HolySymbols 11 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "10/" 1387930325 @setvar! HolySymbols 10 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "9/" 1387930325 @setvar! HolySymbols 9 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "8/" 1387930325 @setvar! HolySymbols 8 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 1 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "7/" 1387930325 @setvar! HolySymbols 7 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 1 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 1 elseif ingump "6/" 1387930325 @setvar! HolySymbols 6 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "5/" 1387930325 @setvar! HolySymbols 5 @setvar! HolyLightAvailable 1 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "4/" 1387930325 @setvar! HolySymbols 4 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 1 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "3/" 1387930325 @setvar! HolySymbols 3 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 1 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "2/" 1387930325 @setvar! HolySymbols 2 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 1 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "1/" 1387930325 @setvar! HolySymbols 1 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 elseif ingump "0/" 1387930325 @setvar! HolySymbols 0 @setvar! HolyLightAvailable 0 @setvar! NobleSacrificeAvailable 0 @setvar! CleanseByFireAvailable 0 @setvar! CloseWoundsAvailable 0 @setvar! DivineFuryAvailable 0 @setvar! EnemyOfOneAvailable 0 @setvar! ConsecrateWeaponAvailable 0 endif endif if EnableNobleSacrifice = 1 if diffhits >= NobleSacrificeHPdiff and skill "Chivalry" >= 80 and timer 'NobleSacrificeTimer' > 31000 and timer 'ChivalryPrevented' > 5000 and NobleSacrificeAvailable = 1 clearsysmsg yell "[NobleSacrifice" wait 250 if insysmsg "You do not have enough holy" settimer 'ChivalryPrevented' 0 clearsysmsg else wft 1000 target 'self' if EnableOverheadMessages = 1 overhead "[ NOBLE SACRIFICE! ]" 155 endif settimer 'NobleSacrificeTimer' 0 cooldown "Noble Sacrifice" 31000 settimer 'ChivalryPrevented' 4000 endif wait 250 endif endif if EnableHolyLight = 1 if diffhits >= HolyLightHPdiff and skill "Chivalry" >= 95 and timer 'HolyLightTimer' > 31000 and timer 'ChivalryPrevented' > 5000 and HolyLightAvailable = 1 clearsysmsg yell "[HolyLight" wait 250 if insysmsg "You do not have enough holy" settimer 'ChivalryPrevented' 0 clearsysmsg else if EnableOverheadMessages = 1 overhead "[ HOLY LIGHT! ]" 254 endif settimer 'HolyLightTimer' 0 cooldown "Holy Light" 31000 settimer 'ChivalryPrevented' 4000 endif wait 250 endif endif if EnableCurePotion = 1 and not dead while poisoned if EnableCleanseByFire = 1 if skill "Chivalry" >= 60 and poisoned and timer "CleanseByFireTimer" > 31000 and timer "ChivalryPrevented" > 5000 and timer "DivineFuryTimer" < 31000 and CleanseByFireAvailable = 1 clearsysmsg yell "[CleanseByFire" wait 250 if insysmsg "You do not have enough holy" settimer "ChivalryPrevented" 0 clearsysmsg else settimer "CleanseByFireTimer" 0 settimer "ChivalryPrevented" 4000 cooldown "Cleanse By Fire" 31000 if EnableOverheadMessages = 1 overhead "[ CLEANSE BY FIRE! ]" 43 endif endif wait 250 endif endif if findtype "Orange Potion" self dclicktype "Orange Potion" if EnableOverheadMessages = 1 and timer 'CurePotionMessageTimer' > 3500 overhead "[ CURE POTION ]" 44 settimer 'CurePotionMessageTimer' 0 endif wait 250 else if timer 'CurePotionMessageTimer' > 5000 overhead "[ NO CURE POTS! ]" 337 settimer 'CurePotionMessageTimer' 0 endif if not findtype 3972 self or not findtype 3973 self break endif endif if not poisoned break endif endwhile endif if targetexists if findtype " Elven Spellblade" self targettype "Elven Spellblade" else target backpack endif endif if EnableWeightWarningMessage = 1 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING... ]" 77 settimer "WeightTimer" 0 else overhead " � " 77 settimer "WeightTimer" 0 endif elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT WARNING! ]" 153 settimer "WeightTimer" 0 else overhead " � " 153 settimer "WeightTimer" 0 endif elseif diffweight <= RedWeightLimitDiffWeight and timer "WeightTimer" > 6000 if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ WEIGHT LIMIT REACHED! ]" 37 settimer "WeightTimer" 0 else overhead " � " 37 settimer "WeightTimer" 0 endif if EnableAutoWeightRecall = 1 and not find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! AutoWeightRecall 1 @setvar! WarModeToggledWhileFighting 0 @setvar! TimeToGo 1 break elseif EnableAutoWeightRecall = 1 and find ClosestTarget ground -1 -1 8 and WILDERNESSMODE = 1 if timer "RECALLDELAY" > 3500 and EnableAutoRecallOverheadMessages = 1 overhead "[ WAITING TO RECALL... ]" 149 settimer "RECALLDELAY" 0 endif wait 500 elseif EnableAutoWeightDungeonGate = 1 and DUNGEONMODE = 1 wait 250 if EnableInfiniteLoop != 0 and skill 'Chivalry' >= 90 settimer "InfiniteLoop" 0 if EnableInfiniteLoop = 1 @setvar! SkipInfiniteLoop 0 elseif EnableInfiniteLoop = 2 @setvar! SkipInfiniteLoop 0 else @setvar! SkipInfiniteLoop 1 endif endif hotkey 'Toggle Peace Only' @setvar! TimeToGo 1 break else overhead "[ OVERWEIGHT! ]" 337 sysmsg "Time to head home and unload your loot!" 0 settimer "WeightTimer" 0 endif endif endif if EnableArcheryWarningMessage = 1 and skill 'Archery' >= 50 if findtype 'stubnose crossbow|tower guard crossbow|balestra|heavy crossbow|crossbow' hand # BOLTS @setvar! AMMO 1 elseif findtype 'long bow|bow|recurve bow|composite bow' hand # ARROWS @setvar! AMMO 2 endif if counttype "crossbow bolt" self < ArcheryLowAmmoWarningAmount and timer "AmmunitionTimer" > 6000 and AMMO = 1 overhead "[ AMMO LOW! ]" 37 settimer "AmmunitionTimer" 0 endif if counttype "arrow" self < ArcheryLowAmmoWarningAmount and timer "AmmunitionTimer" > 6000 and AMMO = 2 overhead "[ AMMO LOW! ]" 37 settimer "AmmunitionTimer" 0 endif endif if EnableGoldVacuum = 1 and DisableVacuums != 1 and diffhits < ActivateAutoHealHPdiff if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 3500 overhead " � " 149 droppedmoney settimer "GoldRadar" 0 endif while findtype "gold coin" ground -1 -1 2 as droppedmoney and diffhits < ActivateAutoHealHPdiff overhead " � " 149 hotkey "Grab Item" wft 2500 target droppedmoney wait 250 if insysmsg "Invalid or inaccessible item" wait 500 @ignore droppedmoney endif wait 250 endwhile endif if dead break endif if diffhits >= ActivateAutoHealHPdiff break endif if timer AfterKill > AfterKillTimer break endif endwhile /////////////////////////// // END AFTER KILL LOOP // /////////////////////////// if dead break endif endwhile ////////////////////// // END ALIVE LOOP // ////////////////////// /////////////////// // DEATH LOOP: // /////////////////// if dead if EnableOverheadMessages = 1 or EnableOverheadMessages = 2 overhead "[ R.I.P. ]" 337 endif wait 1500 @setvar! TimeToGo 0 @setvar! AutoRecallTime 0 while dead @setvar! IHAVEDIED 1 wait 500 if timer "HEALERSEARCH" > 4000 overhead "[ FIND A HEALER! ]" 0 settimer "HEALERSEARCH" 0 endif if findtype "blue moongate|30528|moongate" ground -1 -1 12 as EscapeGate if timer "GATEHERE" > 2000 overhead " � " 253 EscapeGate settimer "GATEHERE" 0 endif endif while not gumpexists 3773199800 and findtype "blue moongate|30528|moongate" ground 0 1 2 as EscapeGate dclick EscapeGate wait 500 if dead or warmode break endif endwhile while gumpexists 3773199800 gumpresponse 16 wait 500 waitforgump 3773199800 gumpresponse 2 overhead "[ GATING TO TOWN... ]" 88 break endwhile while gumpexists 2957810225 overhead "[ HEALED! ]" 84 gumpresponse 1 wait 1000 gumpclose 2957810225 break endwhile if not dead break endif endwhile endif if not dead and IHAVEDIED = 1 and TimeToGo != 1 and AutoRecallTime != 1 if EnableDressAfterResurrection = 1 wait 500 dress 'UltimateDexxer' wait 500 wait 1000 dress 'UltimateDexxer' wait 1000 dress 'UltimateDexxer' while queued wait 100 endwhile endif wait 1000 if EnableRecallAfterResurrection = 1 hotkey 'Toggle Peace Only' @setvar! ResThenTimeToGo 1 @setvar! TimeToGo 1 wait 1000 replay else wait 2500 @setvar! IHAVEDIED 0 overhead "[ STOPPING SCRIPT! ]" 88 stop endif endif if not dead and IHAVEDIED != 1 and TimeToGo != 1 and AutoRecallTime != 1 sysmsg "Script Error - Restarting!" 333 replay endif ////////////////////// // END DEATH LOOP // ////////////////////// ############################# ### SCRIPT ENDS HERE! ### ############################# // Thank you for using my scripts! I can be contacted via email here: dan@danstockman.com // Good luck out there and say hello if you see me in Avadon (Lord Glacier) - please don't PK me lol