Razor script
DanStock's ULTIMATE HARVESTING AUTO PILOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!)
by danstock._98439 · 10363 lines
Glaciers ULTIMATE HARVESTING AUTO PILOT UO OUTLANDS RAZOR SCRIPT - Last Updated May 1, 2025 MINING, LUMBERJACKING, FISHING & SCAVENGING MEGA-AUTOBOT (DEXXER, MAGE OR SUMMONER w/ AUTO RECALL & MUCH MORE!) Compiled by Lord Glacier (aka.…
GatheringCombatMagicMeditationHidingFishingLumberjackingMiningTracking
DanStocks ULTIMATE HARVESTING AUTO PILOT DEXXER MAGE ANDOR SUMMONER w AUTO RECALL MORE.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5ca89fcd-a03c-410e-9e2c-075284071f56 for latest2# Automation by Jaseowns3## Script: DanStock's ULTIMATE HARVESTING AUTO PILOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!)4## Created by: danstock._98439#05#############################################6 7/////////8//////// Glaciers ULTIMATE HARVESTING AUTO PILOT UO OUTLANDS RAZOR SCRIPT - Last Updated May 1, 20259///////10////// MINING, LUMBERJACKING, FISHING & SCAVENGING MEGA-AUTOBOT (DEXXER, MAGE OR SUMMONER w/ AUTO RECALL & MUCH MORE!)11///// Compiled by Lord Glacier (aka. DanStock.) 12//// Inspired by & learned from various scripts found on: https://outlands.uorazorscripts.com/ 13/// 14 15 16 17 18# Required (or suggested *) inventory items:19 20 # Pickaxe or Hatchet or Fishing Pole or Skinning Knife, Lockpicks & Trap Removal Tools 21 # A blessed escape runebook (charged w/ recall scrolls if no Magery skill)22 # Trapped pouches 23 # Healing, Cure and Refresh potions 24 # Magic Resist and Strength potions *25 # Bandages * 26 # Adventurers rope *27 # Magic Mushrooms *28 # Potion Satchel *29 # Wizards Satchel (w/ regs) *30 # Wooden Box w/ copper key *31 # Tool Kit (for tool recycle) *32 # Weapon of choice (supports Swords, Macing or Spellbook) *33 # Harvest Aspect armour of choice *34 35 36 37 38 //////////////////////////////39 // RESET SCRIPT HERE: //40 //////////////////////////////41 42 ////// SET THIS VALUE TO '1' AND RUN SCRIPT TO UNSET ALL PERMANENT SCRIPT VARIABLES: \\\\\\43 44 @setvar! SCRIPTRESET 045 46 ################### THEN RETURN 'SCRIPTRESET' TO '0' TO RESTART THE INITIAL SETUP ###################47 #### (Or you can re-target script variables individually in the 'Options' tab above the script!) ####48 49 50 51 52 53 # ENABLE or DISABLE individual sections of the script here:54 @setvar! EnableMining 155 @setvar! EnableLumberjacking 156 @setvar! EnableFishing 157 @setvar! EnableDungeonPicker 158 // Only necessary if you have multiple harvest skills on a single character!59 60 61 62 63 ############################################64 ### COOLDOWNS TO ADD IN UO CLIENT: ###65 ############################################66 67# REQUIRED COOLDOWNS:68# Hiding (w/ overhead text triggers of 'You have hidden yourself well' and 'You fail to hide' - 10 second cooldown)69# * Only 'required' for DUNGEON PICKER script functions (but a handy cooldown to put on a bar for any build)70 71# OPTIONAL COOLDOWNS:72# Healing Potion73# Cure Potion74# Refresh Potion75# Travel76# Mushroom (magery only)77# * These cooldowns are NOT required for script functions (but will still work for bars - no triggers required)78 79 80 81 82 ######## MOST FUNCTIONS ARE TURNED 'OFF' BY DEFAULT (set to '0' for OFF and '1' for ON) - MAKE SURE TO CHECK ALL VARIABLES CLOSELY! ########83 84 85 86 87 #################################################88 // COMMON VARIABLES: //89 #################################################90 91//////////////////////////92// OFFENSIVE: //93//////////////////////////94 95@setvar! EnableAutoAttackGreyMOB 096 # Toggle 'War Mode' to automatically attack nearby grey targets97 98@setvar! EnableWeaponCheck 099@setvar! EnableShieldCheck 0100@setvar! EnableSpellbookCheck 0101 # Will automatically equip weapon, shield or spellbook during combat loop102 103 # Use '>info' to ID any of your [blessed] spellbooks and add the serials here:104 @setvar! MyBlessedMiningSpellbook 0x00000000105 @setvar! MyBlessedLumberSpellbook 0x00000000106 @setvar! MyBlessedFishingSpellbook 0x00000000107 @setvar! MyBlessedScavengerSpellbook 0x00000000108 # This will prevent the script from trying to equip them (instead of your aspect spellbook)109 110 111//////////////////////////112// DEFENSIVE: //113//////////////////////////114 115@setvar! EnableAutoParalyzePouch 1116 # Will automatically pop trapped pouches if paralyzed117 118@setvar! EnableHealPotion 1119@setvar! EnableCurePotion 1120@setvar! EnableRefreshPotion 1121 122@setvar! HealPotHPdiff 30123@setvar! RefreshPotSPdiff 10124@setvar! HealingPotionCooldown 10000125@setvar! CurePotionCooldown 1000126@setvar! RefreshPotionCooldown 5000127 # Adjust your potion cooldowns and trigger points 128 129@setvar! EnableMagicResistPotion 0130@setvar! EnableStrengthPotion 0131@setvar! EnableAgilityPotion 0132 # Set to '1' for fulltime buff or '2' for combat-only133 134 135//////////////////////////136// UTILITY: //137//////////////////////////138 139@setvar! EnableOverheadMessages 1140 # Disable or Enable unnecessary overhead messages/texts141 # Set to '1' for ALL messages on or '2' for only important messages (or '0' for none)142 143@setvar! EnableLootBag 0144 # Allows selection of your loot bag (opens after recall)145 # Will also be set as your 'Grid Loot' hotbag146 147@setvar! EnableGoldVacuum 0148 # Automatically grabs any nearby 'gold coins' on the ground149 150@setvar! EnableSatchels 0151 # Will move all regs/potions to satchel if found elsewhere in your inventory152 # Requires 'potion satchel' and/or 'wizard satchel' in inventory153 154@setvar! EnableAutoCarving 0155 # Will automatically skin nearby corpses 156 # Requires 'skinning knife' in inventory157 158@setvar! EnableToolCountdown 0159 # System message countdown when tool (axe or pickaxe) is about to break160 161@setvar! EnableRecycleTool 0162 # Will automatically recycle your tool before final use163 # Requires tinker 'tool kit' in inventory164 165@setvar! EnableDressAfterRessurection 0166 # Add a 'Dress List' in Razor (Arm/Dress tab) called 'Miner', 'Lumberjack', 'Fisherman' or 'Scavenger'167 # Save your [blessed] clothing items (to be equipped after ressurection) to each profile168 169@setvar! EnableDropGoldWhenOverweight 0170@setvar! DropGoldAmount 500171 172@setvar! EnableWeightWarningMessage 1173@setvar! GreenWarningDiffWeight 50174@setvar! YellowWarningDiffWeight 25175@setvar! RedWeightLimitDiffWeight 5176 # Overhead weight warning message settings 177 178 179//////////////////////////180// AUTO-RECALL: //181//////////////////////////182 183 ####################################################184 #### RECALL AND/OR DUNGEON GATE TRIGGERS: ####185 ####################################################186 187 // RED RECALL (w/ TRACKING SKILL): //188 if skill "Tracking" >= 50189 @setvar! EnableTrackingAutoRecall 1190 # Make sure 'Ignore Houses/Ships' is checked in the Tracking skill menu!191 @setvar! PKTrackingRange 70192 # Range can be 50, 60 or 70 tiles (or '0' will trigger Auto Recall regardless of range)193 @setvar! EnableRedAlertOverhead 1194 # If your build has tracking skill, I highly recommend setting up a Razor overhead message instead of using the script one...195 // Doing this will display PK name and tile distance overhead (when tracked):196 // Add overhead message w/ a trigger of 'Now tracking' and message '[ RED ALERT: {3} ]' (hue 335)197 // Then a second with a trigger of 'Distance to destination' and message '[ {4} TILES AWAY! ]' (hue 253)198 // Once complete you should disable 'EnableRedAlertOverhead' above199 200 // RED RECALL (w/ NO TRACKING SKILL): //201 elseif skill "Tracking" < 50202 @setvar! EnablePKradar 1203 @setvar! EnableAutoRedRecall 1204 endif205 # This will work in a pinch, but is not ideal (your harvester should have tracking skill IMO)206 # PK Radar will only pikcup Reds within target distance (but it is better than nothing)207 208 // MINING RECALL (ingots): //209 if skill "Mining" >= 50 EnableMining = 1210 @setvar! EnableIngotAutoRecall 0211 @setvar! IngotRecallAmount 2500212 # Will auto recall if ingot total exceeds target!213 endif 214 215 // LUMBER RECALL (boards): //216 if skill "Lumberjacking" >= 50 and EnableLumberjacking = 1217 @setvar! EnableBoardAutoRecall 0218 @setvar! BoardRecallAmount 2500219 # Will auto recall if board total exceeds target!220 endif 221 222 // OTHER RECALL TRIGGERS: //223 @setvar! EnableRecallAfterDungeonGate 0224 225 if EnableCastRecall = 0226 @setvar! EnableRecallAfterRessurection 0227 # Must use charged runebook to recall after rez228 endif229 230 // DUNGEON GATE TRIGGERS: //231 if DungeonMode = 1232 @setvar! EnableWarModeDungeonGate 0233 @setvar! EnableAutoRedDungeonGate 0234 @setvar! EnableAutoWeightDungeonGate 0235 endif236 237 238 #####################################################239 #### YOU CAN USE YOUR OWN RAZOR RECALL SCRIPT: ####240 #####################################################241 242 # Enable use of your own Razor script for Auto Recall (otherwise script will prompt for a Runebook or Rune and use built-in auto recall):243 244 @setvar! EnableDIYRecallScript 0245 246 # Type the name of your own Recall Razor script here:247 createlist DIYRecallScriptList248 pushlist DIYRecallScriptList "YOUR RECALL SCRIPT NAME GOES HERE"249 250 251 #####################################################252 #### OR USE THE BUILT-IN AUTO RECALL SCRIPT: ####253 #####################################################254 255 # Script will use charged recall scrolls if casting is disabled256 # Casting uses RUNE or RUNEBOOK (default location)257 # Scrolls uses first rune in RUNEBOOK (set 'EnableCastRecall' to '0')258 259 @setvar! EnableCastRecall 0260 261 if EnableCastRecall = 1262 # If casting Recall, choose to target Runebook or Rune:263 @setvar! CasttoRunebook 1264 # or 265 @setvar! CasttoRune 0266 endif 267 268 // AUTO RECALL DESTINATION (choose only one):269 @setvar! InsideHouseRecall 0270 @setvar! OutsideHouseRecall 0271 @setvar! OwnerInnRecall 0272 @setvar! CoOwnerInnRecall 0273 @setvar! BankRecall 0274 275 if OutsideHouseRecall = 1276 @setvar! EnableCloseMyDoor 0277 @setvar! MyDoor 0x00000000278 # Use '>info' to ID your own house door (to quickly close it behind you)279 endif 280 281 @setvar! HideAtHomeorInn 0282 283 // HOME/INN/BANK STORAGE (after recall): //284 # Will look for and use nearby storage after recalling:285 @setvar! EnableSafeDeposit 0286 @setvar! EnableResourceStockpile 0287 @setvar! EnableStorageShelf 0288 @setvar! EnableMagicRecycler 0289 @setvar! EnableStorageTomes 0290 @setvar! EnableRepairBench 0291 @setvar! EnableReagentSplitter 0292 # Optional Loot Chest to store non-shelf/stockpile/tome items in your HOME/INN/BANK (uses Razor organizer agents 06-09)293 @setvar! EnableLootChest 0294 295 // INVENTORY RESET (after death): // 296 # Will reset your inventory and get you ready to return to harvesting after dying...297 298 @setvar! EnableResetLoadoutAfterDeath 0299 300 #### IMPT: Storage shelf loadout must consist of the following:301 // An equal amount of TRAPPED POUCHES and SCISSORS (blessed) 302 // 1 UNTRAPPED POUCH and 1 BAG (for loot, etc.)303 // Script will put scissors in each trapped pouch (to keep them from being grabbed during future shelf loading) 304 // Script then STACKS any trapped pouches on top of your main inventory pouch305 // Loot bag will be moved into main inventory pouch and automatically set as your Grab Bag for Gridloot, etc.306 // Script will then hide the pouch stack underneath an ATLAS and put a DECOY TRAPPED POUCH out in the open307 // ASPECT WEAPON and ARMOR will be re-activated automatically and HP restored to MAX308 // Loadout reset finishes by opening backpack, main pouch, loot bag and any satchels309 310 311 312 #################################################313 // BUILD-SPECIFIC VARIABLES: //314 #################################################315 316 /////////////////////////////317 // MINING VARIABLES: //318 /////////////////////////////319 320 if skill "Mining" >= 50 and EnableMining = 1321 322 @setvar! EnablePlayerForgeRadar 1323 @setvar! EnableAutoSmeltPlayerForge 1324 @setvar! EnableAutoSmeltNaturalForge 1325 326 @setvar! EnableOreVacuum 0327 @setvar! EnableOreStacker 0328 329 @setvar! EnablePackAnimals 0330 @setvar! PackAnimalCount 0331 # Can be set to 1 or 2 (or 0)332 # Make sure to add PACK ANIMALS amounts to TOTAL FOLLOWER COUNT below (Magery settings) if using SUMMONS333 # Ore can be transfered to packy based on Ore Amount:334 @setvar! OreTransfertoPackyAmount 0335 # or Diff Weight:336 @setvar! TransfertoPackyWeightDiff 50337 338 # You can choose to set a storage bag for your Ingots:339 @setvar! EnableIngotBag 0340 # It can be a trapped pouch for security but, if so, disable opening Ingot Bag:341 @setvar! OpenIngotBag 0342 # Otherwise, this will open your Ingot Bag when stacking ingots or unloading (at home/inn/bank/etc.)343 @setvar! SetIngotBagtoOrganizer03 0344 # This option will prompt the script to set your Ingot Bag to Agent-03 automatically (if using organizers)345 @setvar! StackOreinIngotBag 0346 # This will stack ore inside your Ingot Bag (instead of main backpack)347 @setvar! StackIngotsinIngotBag 0348 # This will stack all the ingots on the same pixel in your Ingot Bag for additional security349 # Or you can put them in a locked box instead:350 @setvar! PutIngotsinLockedChest 0351 # Must have wooden box and matching copper key in backpack (can be crafted with 50 carpentry/50 tinkering)352 353 endif354 355 356 /////////////////////////////357 // LUMBER VARIABLES: //358 /////////////////////////////359 360 if skill "Lumberjacking" >= 50 and EnableLumberjacking = 1361 362 @setvar! LogsToBoards 1363 @setvar! EnableLogStacker 0364 # This will stack all the LOGS on the same pixel in your BACKPACK for additional security365 366 # You can choose to set a storage bag for your Boards:367 @setvar! EnableBoardBag 0368 # It can be a trapped pouch for security but, if so, disable opening Board Bag:369 @setvar! OpenBoardBag 0370 # Otherwise, this will open your Board Bag when stacking boards or unloading (at home/inn/bank/etc.)371 @setvar! SetBoardBagtoOrganizer01 0372 # This option will prompt the script to set your Board Bag to Agent-01 automatically (if using organizers)373 @setvar! StackBoardsinBoardBag 0374 # This will stack all the BOARDS on the same pixel in your BOARD BAG for additional security375 # Or you can put them in a locked box instead:376 @setvar! PutBoardsinLockedChest 0377 # Must have wooden box and matching copper key in backpack (can be crafted with 50 carpentry/50 tinkering)378 379 endif380 381 382 /////////////////////////////383 // PICKER VARIABLES: //384 /////////////////////////////385 386 if skill "Lockpicking" >= 50 and EnableDungeonPicker = 1 387 388 @setvar! EnableChestRadar 1389 @setvar! EnableAutoPickDungeonChests 1390 # Will automatically attempt to remove traps and pick locks of any locked dungeon chests within 2 tiles.391 # Make sure continuous Lockpicking and Remove Trap is selected in UO client!392 393 @setvar! EnableDungeonCleanup 0394 395 @setvar! EnableSkinningMode 0396 # Equip a skinning knife to toggle SKINNING MODE (will work even if EnableAutoCarving is disabled above)397 398 @setvar! PutLootinLockedChest 0399 # Must have wooden box and matching copper key in backpack (can be crafted with 50 carpentry/50 tinkering)400 # Will automatically store loot and lock chest 401 402 @setvar! EnableAutoGateEscape 1403 # Toggle WarMode while in dungeon to start '2 minute Escape Timer'404 # This will try to keep you alive while you get to the nearest gate - and then automatically exits & recalls!405 406 endif 407 408 409 //////////////////////////////410 // FISHING VARIABLES: //411 //////////////////////////////412 413 if skill "Fishing" >= 50 and EnableFishing = 1414 415 @setvar! EnableCasting 1416 # Casting mode will equip fishing pole and cast while in PEACE MODE417 # Must add a 'Dress List' in Razor (Arm/Dress tab) called 'Fishing Pole' (to auto equip fishing poles, as needed)418 # Add (Target) your fishing pole then right-click the list item and choose 'Convert Selected to TYPE'419 420 @setvar! EnableTrawling 0421 # Trawling mode will equip fishing weapon (HARPOON or TRIDENT) and throw fishing nets if in WAR MODE 422 423 @setvar! EnableFishCarver 0424 @setvar! FishCarveCount 100425 # Must have 'dagger [blessed]' in inventory to carve fish steaks426 427 @setvar! EnableSpyglass 0428 429 @setvar! PutSpecialNetsinBag 0430 # Will prompt to you to select a storage bag for any Special Fishing Nets that you harvest431 // or432 @setvar! PutSpecialNetsinLockedChest 0433 # Otherwise, you can put them in a locked box instead!434 # Must have wooden box and matching copper key in backpack (can be crafted with 50 carpentry/50 tinkering or purchased from NPC)435 436 endif 437 438 439 /////////////////////////////440 // MAGERY VARIABLES: //441 /////////////////////////////442 443 ########################444 # DEFENSIVE MAGIC: #445 ########################446 447 if skill "Magery" >= 60448 449 @setvar! EnableMagicReflection 0450 @setvar! EnableReactiveArmour 0451 @setvar! EnableProtection 0452 @setvar! EnableCastHeal 0453 @setvar! EnableCastCure 0454 @setvar! CastHealHPlowdiff 25455 @setvar! CastHealHPhighdiff 45456 457 endif458 459 460 ######################## 461 # OFFENSIVE MAGIC: #462 ########################463 464 if skill "Magery" >= 80465 466 @setvar! EnableCastHarm 0467 @setvar! HarmCooldown 30000468 @setvar! EnableCastWeaken 0469 @setvar! WeakenCooldown 60000470 @setvar! EnableCastCurse 0471 @setvar! CurseCooldown 60000472 @setvar! EnableCastMindBlast 0473 @setvar! MindblastCooldown 5000474 @setvar! EnableCastMagicArrow 0475 @setvar! MagicArrowCooldown 60000476 @setvar! EnableCastFireball 0477 @setvar! FireballCooldown 60000478 @setvar! EnableCastLightning 0479 @setvar! LightningCooldown 30000480 @setvar! EnableCastExplosion 1481 @setvar! ExplosionCooldown 10000482 @setvar! EnableCastEnergyBolt 1483 @setvar! EnergyBoltCooldown 10000484 @setvar! EnableCastFlamestrike 1485 @setvar! FlamestrikeCooldown 10000486 @setvar! EnableCastMeteorSwarm 0487 @setvar! MeteorSwarmCooldown 30000488 @setvar! EnableCastChainLightning 0489 @setvar! ChainLightningCooldown 30000490 491 492 #######################493 # MINING SUMMONS: #494 #######################495 496 if skill "Mining" >= 50 and EnableMining = 1497 498 @setvar! EnableSummons 0499 @setvar! TotalFollowerCount 0500 # This number assumes your are MOUNTED (do NOT include mounts in total followers) but must include any active PETS, SUMMONS or PACK ANIMALS501 502 // Number of summoned pets (0, 1 or 2 each - up to 4 total):503 @setvar! SummonFireElemental 0504 @setvar! SummonEarthElemental 0505 @setvar! SummonAirElemental 0506 @setvar! SummonWaterElemental 0507 @setvar! SummonDemon 0508 509 @setvar! EnableMagicMushroom 0510 @setvar! MushroomCooldown 180000511 @setvar! EnableMushroomMaker 0512 @setvar! MakeMushroomAmount 5513 514 515 #######################516 # LUMBER SUMMONS: #517 ####################### 518 519 elseif skill "Lumberjacking" >= 50 and EnableLumberjacking = 1520 521 @setvar! EnableSummons 0522 @setvar! TotalFollowerCount 0523 # This number assumes your are MOUNTED (do NOT include mounts in total followers) but must include any active PETS, SUMMONS or PACK ANIMALS524 525 // Number of summoned pets (0, 1 or 2 each):526 @setvar! SummonFireElemental 0527 @setvar! SummonEarthElemental 0528 @setvar! SummonAirElemental 0529 @setvar! SummonWaterElemental 0530 @setvar! SummonDemon 0531 532 @setvar! EnableMagicMushroom 0533 @setvar! MushroomCooldown 180000534 @setvar! EnableMushroomMaker 0535 @setvar! MakeMushroomAmount 5536 537 endif 538 539 540 ########################541 # NAME YOUR SUMMONS: #542 ########################543 544 @setvar! NameSummonedPets 0545 546 # Add or change PET NAMES in lists below (must be unique):547 548 if NameSummonedPets = 1 549 if not listexists FireEleNamesList 550 createlist FireEleNamesList551 endif552 if not listexists AirEleNamesList553 createlist AirEleNamesList554 endif555 if not listexists WaterEleNamesList556 createlist WaterEleNamesList 557 endif 558 if not listexists EarthEleNamesList559 createlist EarthEleNamesList560 endif561 if not listexists DemonNamesList562 createlist DemonNamesList 563 endif564 # FIRE ELEMENTAL NAMES:565 if SummonFireElemental > 0 and list FireEleNamesList = 0566 pushlist FireEleNamesList "Vulcanuz"567 pushlist FireEleNamesList "Blazze"568 pushlist FireEleNamesList "Emberr"569 pushlist FireEleNamesList "Seraphinz"570 pushlist FireEleNamesList "Ignitiaz"571 pushlist FireEleNamesList "Phenixx"572 pushlist FireEleNamesList "Flarrez"573 pushlist FireEleNamesList "Flinntz"574 pushlist FireEleNamesList "Valcanii"575 pushlist FireEleNamesList "Lavaass"576 pushlist FireEleNamesList "Pryo"577 pushlist FireEleNamesList "Maagnus"578 pushlist FireEleNamesList "Volcanous"579 pushlist FireEleNamesList "Magmaass"580 pushlist FireEleNamesList "Toastious"581 pushlist FireEleNamesList "Valcanii"582 pushlist FireEleNamesList "Fumettos"583 pushlist FireEleNamesList "Heliozz"584 pushlist FireEleNamesList "Anatolious"585 pushlist FireEleNamesList "Ziriuz"586 endif587 # DEMON NAMES:588 if SummonDemon > 0 and list DemonNamesList = 0 589 pushlist DemonNamesList "Akuumah"590 pushlist DemonNamesList "Agarez"591 pushlist DemonNamesList "Baahl"592 pushlist DemonNamesList "Beelzeabubbs"593 pushlist DemonNamesList "Beliall"594 pushlist DemonNamesList "Daemahnn"595 pushlist DemonNamesList "Deemanous"596 pushlist DemonNamesList "Lucifass"597 pushlist DemonNamesList "Satanious"598 pushlist DemonNamesList "Pyratis"599 pushlist DemonNamesList "Pyrathius" 600 pushlist DemonNamesList "Daemagrin"601 pushlist DemonNamesList "Darkius"602 pushlist DemonNamesList "Devilass"603 pushlist DemonNamesList "Evillanous"604 pushlist DemonNamesList "Pentagrys"605 pushlist DemonNamesList "Satonne"606 pushlist DemonNamesList "Daemonne"607 pushlist DemonNamesList "Mordorious"608 pushlist DemonNamesList "Deemahnus"609 endif610 # EARTH ELEMENTAL NAMES:611 if SummonEarthElemental > 0 and list EarthEleNamesList = 0612 pushlist EarthEleNamesList "Terranous"613 pushlist EarthEleNamesList "Avanii"614 pushlist EarthEleNamesList "Gaiassius"615 pushlist EarthEleNamesList "Demetrious"616 pushlist EarthEleNamesList "Rikura"617 pushlist EarthEleNamesList "Terradus"618 pushlist EarthEleNamesList "Rochets"619 pushlist EarthEleNamesList "Clifffy"620 pushlist EarthEleNamesList "Earthares"621 pushlist EarthEleNamesList "Tonyy"622 pushlist EarthEleNamesList "Pebbellz"623 pushlist EarthEleNamesList "Rawckee"624 pushlist EarthEleNamesList "Bloccius"625 pushlist EarthEleNamesList "Stoniouss"626 pushlist EarthEleNamesList "Boulderass"627 pushlist EarthEleNamesList "Stownes"628 pushlist EarthEleNamesList "Hevvee"629 pushlist EarthEleNamesList "Rockkee"630 pushlist EarthEleNamesList "Tonness"631 pushlist EarthEleNamesList "Stoneyy"632 endif633 # AIR ELEMENTAL NAMES:634 if SummonAirElemental > 0 and list AirEleNamesList = 0635 pushlist AirEleNamesList "Aylamayus"636 pushlist AirEleNamesList "Alyaah"637 pushlist AirEleNamesList "Anemoneee"638 pushlist AirEleNamesList "Ariahhh"639 pushlist AirEleNamesList "Caelestisss"640 pushlist AirEleNamesList "Tuuliii"641 pushlist AirEleNamesList "Zeruss"642 pushlist AirEleNamesList "Sorasse"643 pushlist AirEleNamesList "Windius"644 pushlist AirEleNamesList "Essenn"645 pushlist AirEleNamesList "Tornadous"646 pushlist AirEleNamesList "Cyclonius"647 pushlist AirEleNamesList "Hurhicann"648 pushlist AirEleNamesList "Aeronious"649 pushlist AirEleNamesList "Blohh"650 pushlist AirEleNamesList "Stratosus"651 pushlist AirEleNamesList "Cloudass"652 pushlist AirEleNamesList "Spinniboius"653 pushlist AirEleNamesList "Gassius"654 pushlist AirEleNamesList "Eyephardet"655 endif 656 # WATER ELEMENTAL NAMES:657 if SummonWaterElemental > 0 and list WaterEleNamesList = 0 658 pushlist WaterEleNamesList "Andymanus"659 pushlist WaterEleNamesList "Aaltoh"660 pushlist WaterEleNamesList "Asherahh"661 pushlist WaterEleNamesList "Burimmah"662 pushlist WaterEleNamesList "Juballaa" 663 pushlist WaterEleNamesList "Nanamiia"664 pushlist WaterEleNamesList "Afonnis"665 pushlist WaterEleNamesList "Tiamattus"666 pushlist WaterEleNamesList "Marinus"667 pushlist WaterEleNamesList "Hyrdrosis"668 pushlist WaterEleNamesList "Wettiuss"669 pushlist WaterEleNamesList "Liquidiouss"670 pushlist WaterEleNamesList "Hydroniuous"671 pushlist WaterEleNamesList "Seaamahhn"672 pushlist WaterEleNamesList "Marinanous"673 pushlist WaterEleNamesList "Hydroass"674 pushlist WaterEleNamesList "Watermahnn"675 pushlist WaterEleNamesList "Eywehtmisalph"676 pushlist WaterEleNamesList "Aachtoohoe"677 pushlist WaterEleNamesList "Riverrah"678 endif679 else680 clearlist FireEleNamesList 681 clearlist EarthEleNamesList 682 clearlist AirEleNamesList 683 clearlist WaterEleNamesList 684 clearlist DemonNamesList 685 endif 686 endif687 688 689/////////////////////690// END OF SETUP! //691/////////////////////692 693 694 695 696############ 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! ############697 698 699 700 701if not dead702 if DEAD != 1703 if SCRIPTRESET = 1704 unsetvar DanStock.705 unsetvar FIRSTRUN706 unsetvar lumber_runebook707 unsetvar mining_runebook708 unsetvar fishing_runebook709 unsetvar dungeoncrawler_runebook710 unsetvar mining_rune711 unsetvar lumber_rune712 unsetvar fishing_rune713 unsetvar dungeoncrawler_rune714 unsetvar IngotBag715 unsetvar BoardBag716 unsetvar MyLootBag717 unsetvar MyLootChest718 unsetvar myMainPackAnimal719 unsetvar mySecondPackAnimal720 clearlist FireEleNamesList 721 clearlist EarthEleNamesList 722 clearlist AirEleNamesList 723 clearlist WaterEleNamesList 724 clearlist DemonNamesList 725 @setvar! TimeToGo 0726 clearignore 727 overhead "All permanent script variables reset!" 84728 overhead "Reset SCRIPTRESET back to 0 and restart script to prompt for new targets..." 0729 sysmsg "Make sure to set SCRIPTRESET back to 0" 253730 sysmsg "Stopping script..." 0731 stop 732 endif733 734 if not varexist DanStock.735 sysmsg "Starting script......" 0 736 wait 1500737 overhead "Lord Glacier's Ultimate Harvest Auto Pilot Script" 2338738 # '739 wait 500740 overhead "Last updated: May 1, 2025" 2234741 wait 2500742 overhead "Thank you for trying my Ultimate Harvest Auto Pilot script! It appears this may be your first time running it..." 0743 wait 4000744 overhead "IMPT: Please make sure to setup all of your required VARIABLES!" 153745 wait 5500746 overhead "There is a LOT this script can do with the right configuration!" 0747 wait 2500748 setvar DanStock. 1749 sysmsg "Beginning Harvest Auto Pilot script setup...... " 0750 wait 1500751 sysmsg "This is best done from inside your HOME or INN ROOM!" 253752 wait 1500753 endif 754 755 if EnableDIYHomeRecallScript != 1756 if skill "Mining" >= 50 757 if EnableTrackingAutoRecall = 1 or EnableIngotAutoRecall = 1 or EnableRecallAfterRessurection = 1758 if EnableCastRecall = 1 and CasttoRunebook = 1759 if not varexist mining_runebook or not find mining_runebook self760 wait 1000761 overhead "First off, please select your Escape Runebook..." 88762 wait 1500763 overhead "[ SELECT RUNEBOOK... ]" 253764 setvar mining_runebook765 wft 500766 while targetexists767 wait 100768 endwhile769 overhead "[ RUNEBOOOK SELECTED! ]" 93770 wait 1500771 overhead "Script will now CAST recall to 'default' rune in RUNEBOOK upon AUTO RECALL trigger" 0772 wait 2500773 endif774 elseif EnableCastRecall = 1 and CasttoRune = 1775 if not varexist mining_rune or not find mining_rune self776 wait 1000777 overhead "First off, please select your Escape Rune..." 88778 wait 1500779 overhead "[ SELECT RUNE... ]" 253780 setvar mining_rune781 wft 500782 while targetexists783 wait 100784 endwhile785 overhead "[ RUNE SELECTED! ]" 93786 wait 1500787 overhead "Script will now CAST recall to selected RUNE upon AUTO RECALL trigger" 0788 wait 2500789 endif790 elseif EnableCastRecall = 0 791 if not varexist mining_runebook or not find mining_runebook self792 wait 1000793 overhead "First off, please select your Escape Runebook..." 88794 wait 1500795 overhead "[ SELECT RUNEBOOK... ]" 253796 setvar mining_runebook797 wft 500798 while targetexists799 wait 100800 endwhile801 overhead "[ RUNEBOOOK SELECTED! ]" 93802 wait 1500803 overhead "Script will now use recall SCROLL (to first in book rune) upon AUTO RECALL trigger" 0804 wait 2500805 endif 806 endif807 endif808 elseif skill "Lumberjacking" >= 50809 if EnableTrackingAutoRecall = 1 or EnableBoardAutoRecall = 1 or EnableRecallAfterRessurection = 1810 if EnableCastRecall = 1 and CasttoRunebook = 1811 if not varexist lumber_runebook or not find lumber_runebook self812 wait 1000813 overhead "First off, please select your Escape Runebook..." 88814 wait 1500815 overhead "[ SELECT RUNEBOOK... ]" 253816 setvar lumber_runebook817 wft 500818 while targetexists819 wait 100820 endwhile821 overhead "[ RUNEBOOOK SELECTED! ]" 93822 wait 1500823 overhead "Script will now CAST recall to 'default' rune in RUNEBOOK upon AUTO RECALL trigger" 0824 wait 2500825 endif826 elseif EnableCastRecall = 1 and CasttoRune = 1827 if not varexist lumber_rune or not find lumber_rune self828 wait 1000829 overhead "First off, please select your Escape Rune..." 88830 wait 1500831 overhead "[ SELECT RUNE... ]" 253832 setvar lumber_rune833 wft 500834 while targetexists835 wait 100836 endwhile837 overhead "[ RUNE SELECTED! ]" 93838 wait 1500839 overhead "Script will now CAST recall to selected RUNE upon AUTO RECALL trigger" 0840 wait 2500841 endif842 elseif EnableCastRecall = 0 843 if not varexist lumber_runebook or not find lumber_runebook self844 wait 1000845 overhead "First off, please select your Escape Runebook..." 88846 wait 1500847 overhead "[ SELECT RUNEBOOK... ]" 253848 setvar lumber_runebook849 wft 500850 while targetexists851 wait 100852 endwhile853 overhead "[ RUNEBOOOK SELECTED! ]" 93854 wait 1500855 overhead "Script will now use recall SCROLL (to first in book rune) upon AUTO RECALL trigger" 0856 wait 2500857 endif858 endif859 endif860 elseif skill "Fishing" >= 50 861 if EnableTrackingAutoRecall = 1 or EnableRecallAfterRessurection = 1862 if EnableCastRecall = 1 and CasttoRunebook = 1863 if not varexist fishing_runebook or not find fishing_runebook self864 wait 1000865 overhead "First off, please select your Escape Runebook..." 88866 wait 1500867 overhead "[ SELECT RUNEBOOK... ]" 253868 setvar fishing_runebook869 wft 500870 while targetexists871 wait 100872 endwhile873 overhead "[ RUNEBOOOK SELECTED! ]" 93874 wait 1500875 overhead "Script will now CAST recall to 'default' rune in RUNEBOOK upon AUTO RECALL trigger" 0876 wait 2500877 endif878 elseif EnableCastRecall = 1 and CasttoRune = 1879 if not varexist fishing_rune or not find fishing_rune self880 wait 1000881 overhead "First off, please select your Escape Rune..." 88882 wait 1500883 overhead "[ SELECT RUNE... ]" 253884 setvar fishing_rune885 wft 500886 while targetexists887 wait 100888 endwhile889 overhead "[ RUNE SELECTED! ]" 93890 wait 1500891 overhead "Script will now CAST recall to selected RUNE upon AUTO RECALL trigger" 0892 wait 2500893 endif894 elseif EnableCastRecall = 0895 if not varexist fishing_runebook or not find fishing_runebook self896 wait 1000897 overhead "First off, please select your Escape Runebook..." 88898 wait 1500899 overhead "[ SELECT RUNEBOOK... ]" 253900 setvar fishing_runebook 901 wft 500902 while targetexists903 wait 100904 endwhile905 overhead "[ RUNEBOOOK SELECTED! ]" 93906 wait 1500907 overhead "Script will now use recall SCROLL (to first in book rune) upon AUTO RECALL trigger" 0908 wait 2500909 endif910 endif911 endif912 elseif skill "Lockpicking" >= 50 913 if EnableTrackingAutoRecall = 1 or EnableRecallAfterRessurection = 1 or EnableRecallAfterDungeonGate = 1914 if EnableCastRecall = 1 and CasttoRunebook = 1915 if not varexist dungeoncrawler_runebook or not find dungeoncrawler_runebook self916 wait 1000917 overhead "First off, please select your Escape Runebook..." 88918 wait 1500919 overhead "[ SELECT RUNEBOOK... ]" 253920 setvar dungeoncrawler_runebook921 wft 500922 while targetexists923 wait 100924 endwhile925 overhead "[ RUNEBOOOK SELECTED! ]" 93926 wait 1500927 overhead "Script will now CAST recall to 'default' rune in RUNEBOOK upon AUTO RECALL trigger" 0928 wait 2500929 endif930 elseif EnableCastRecall = 1 and CasttoRune = 1931 if not varexist dungeoncrawler_rune or not find dungeoncrawler_rune self932 wait 1000933 overhead "First off, please select your Escape Rune..." 88934 wait 1500935 overhead "[ SELECT RUNE... ]" 253936 setvar dungeoncrawler_rune937 wft 500938 while targetexists939 wait 100940 endwhile941 overhead "[ RUNE SELECTED! ]" 93942 wait 1500943 overhead "Script will now CAST recall to selected RUNE upon AUTO RECALL trigger" 0944 wait 2500945 endif946 elseif EnableCastRecall = 0 947 if not varexist dungeoncrawler_runebook or not find dungeoncrawler_runebook self948 wait 1000949 overhead "First off, please select your Escape Runebook..." 88950 wait 1500951 overhead "[ SELECT RUNEBOOK... ]" 253952 setvar dungeoncrawler_runebook953 wft 500954 while targetexists955 wait 100956 endwhile957 overhead "[ RUNEBOOOK SELECTED! ]" 93958 wait 1500959 overhead "Script will now use recall SCROLL (to first in book rune) upon AUTO RECALL trigger" 0960 wait 2500961 endif962 endif963 endif964 endif965 endif966 967 if skill "Mining" >= 50 and EnableIngotBag = 1968 if not varexist IngotBag969 wait 1500970 overhead "Next, choose your ingot storage bag..." 88971 wait 1500972 overhead "[ SELECT INGOT BAG... ]" 253973 setvar IngotBag974 wft 500975 while targetexists976 wait 100977 endwhile978 overhead "[ INGOT BAG SET! ]" 93979 wait 3000980 981 if SetIngotBagtoOrganizer03 = 1982 overhead "...now once more to set it as Razor Organizer Agent-03..." 88983 wait 1500984 overhead "[ SELECT INGOT BAG AGAIN... ]" 253985 hotkey "Set Organizer HotBag-03"986 wft 500987 while targetexists988 wait 100989 endwhile990 overhead "[ RAZOR HOTBAG-03 SET! ]" 93991 wait 3000992 endif993 elseif not find IngotBag self 994 wait 1000995 overhead "[ SELECT NEW INGOT BAG... ]" 253996 setvar IngotBag997 wft 500998 while targetexists999 wait 1001000 endwhile1001 overhead "[ INGOT BAG SET! ]" 931002 wait 5001003 1004 if SetIngotBagtoOrganizer03 = 11005 wait 15001006 overhead "[ SELECT INGOT BAG AGAIN... ]" 2531007 hotkey "Set Organizer HotBag-03"1008 wft 5001009 while targetexists1010 wait 1001011 endwhile1012 overhead "[ RAZOR HOTBAG-03 SET! ]" 931013 wait 5001014 endif1015 endif1016 endif1017 1018 if skill "Lumberjacking" >= 50 and EnableBoardBag = 11019 if not varexist BoardBag 1020 wait 10001021 overhead "Next, set your lumber storage bag..." 881022 wait 15001023 overhead "[ SELECT BOARD BAG... ]" 2531024 setvar BoardBag1025 wft 5001026 while targetexists1027 wait 1001028 endwhile1029 overhead "[ BOARD BAG SET! ]" 931030 wait 30001031 1032 if SetBoardBagtoOrganizer01 = 11033 overhead "...now once more to set it as Razor Organizer Agent-01..." 881034 wait 15001035 overhead "[ SELECT BOARD BAG AGAIN... ]" 2531036 hotkey "Set Organizer HotBag-01"1037 wft 5001038 while targetexists1039 wait 1001040 endwhile1041 overhead "[ RAZOR HOTBAG-01 SET! ]" 931042 wait 30001043 endif1044 elseif not find BoardBag self 1045 wait 10001046 overhead "[ SELECT NEW BOARD BAG... ]" 2531047 setvar BoardBag1048 wft 5001049 while targetexists1050 wait 1001051 endwhile1052 overhead "[ BOARD BAG SET! ]" 931053 wait 5001054 1055 if SetBoardBagtoOrganizer01 = 11056 wait 15001057 overhead "[ SELECT BOARD BAG AGAIN... ]" 2531058 hotkey "Set Organizer HotBag-01"1059 wft 5001060 while targetexists1061 wait 1001062 endwhile1063 overhead "[ RAZOR HOTBAG-01 SET! ]" 931064 wait 5001065 endif1066 endif1067 endif1068 1069 if EnableLootChest = 11070 if not varexist MyLootChest1071 wait 10001072 sysmsg "Disable 'EnableLootChest' in script variables to turn off this feature!" 01073 overhead "Now, select a container (in your Home or Inn) to store your loot..." 881074 wait 15001075 overhead "[ SELECT YOUR LOOT CHEST... ]" 2531076 setvar MyLootChest1077 wft 5001078 while targetexists 1079 wait 1001080 endwhile1081 overhead "[ LOOT CHEST SET! ]" 931082 wait 15001083 overhead "Setup additional Organizer Agents (06-09 by default) within this container!" 01084 wait 35001085 endif1086 endif1087 1088 if EnableLootBag = 11089 if not varexist MyLootBag1090 wait 10001091 sysmsg "Disable 'EnableLootBag' in script variables to turn off this feature!" 01092 overhead "Please select a bag (in your backpack) for your loot..." 881093 wait 15001094 overhead "[ SELECT YOUR LOOT BAG... ]" 2531095 setvar MyLootBag1096 wft 5001097 while targetexists 1098 wait 1001099 endwhile1100 overhead "[ LOOT BAG SET! ]" 931101 wait 15001102 overhead "This bag should also be set as your "Grid Loot" bag!" 01103 wait 25001104 elseif not find MyLootBag self1105 wait 10001106 overhead "[ SELECT NEW LOOT BAG... ]" 2531107 setvar MyLootBag1108 wft 5001109 while targetexists 1110 wait 1001111 endwhile1112 overhead "[ LOOT BAG SET! ]" 931113 wait 5001114 endif1115 endif1116 1117 if not varexist FIRSTRUN1118 sysmsg "Verifying initial setup is complete.......... " 01119 wait 35001120 overhead "Ok, looks like you are good to go!" 01121 wait 30001122 overhead "Good luck out there and thanks again for trying my script!" 01123 overhead " - Dan " 01124 setvar FIRSTRUN 11125 wait 30001126 sysmsg "GLACIERS ULTIMATE HARVEST AUTO PILIOT SCRIPT SETUP COMPLETE!" 841127 wait 15001128 overhead "[ HAPPY HARVESTING!! ]" 20861129 wait 30001130 endif1131 endif1132 1133@ignore MyBlessedMiningSpellbook1134@ignore MyBlessedLumberSpellbook1135@ignore MyBlessedFishingSpellbook1136@ignore MyBlessedScavengerSpellbook1137 1138 if not timerexists "HealingPotionTimer" 1139 createtimer "HealingPotionTimer" 1140 settimer "HealingPotionTimer" HealingPotionCooldown1141 endif 1142 1143 if not timerexists "CurePotionTimer" 1144 createtimer "CurePotionTimer" 1145 settimer "CurePotionTimer" CurePotionCooldown1146 endif 1147 1148 if not timerexists "RefreshPotionTimer" 1149 createtimer "RefreshPotionTimer" 1150 settimer "RefreshPotionTimer" RefreshPotionCooldown1151 endif 1152 1153 if not timerexists "InventoryTimer" 1154 createtimer "InventoryTimer" 1155 settimer "InventoryTimer" 60001156 endif 1157 1158 if not timerexists "MoveTimer" 1159 createtimer "MoveTimer" 1160 settimer "MoveTimer" 25001161 endif1162 1163 if not timerexists "TargetTimer" 1164 createtimer "TargetTimer" 1165 settimer "TargetTimer" 35001166 endif 1167 1168 if not timerexists "NoTargetTimer" 1169 createtimer "NoTargetTimer" 1170 settimer "NoTargetTimer" 35001171 endif 1172 1173 if not timerexists "TravelTimer" 1174 createtimer "TravelTimer" 1175 settimer "TravelTimer" 600001176 endif 1177 1178 if not timerexists "WeightTimer" 1179 createtimer "WeightTimer" 1180 settimer "WeightTimer" 50001181 endif 1182 1183 if not timerexists "GoldRadar"1184 createtimer "GoldRadar"1185 settimer "GoldRadar" 01186 endif 1187 1188 if not timerexists "OrganizerTimer"1189 createtimer "OrganizerTimer"1190 settimer "OrganizerTimer" 300001191 endif1192 1193 if not timerexists "PotionSatchelTimer" 1194 createtimer "PotionSatchelTimer" 1195 settimer "PotionSatchelTimer" 600001196 endif1197 1198 if not timerexists "WizardSatchelTimer" 1199 createtimer "WizardSatchelTimer" 1200 settimer "WizardSatchelTimer" 600001201 endif1202 1203 if not timerexists "ManaTimer" 1204 createtimer "ManaTimer" 1205 settimer "ManaTimer" 50001206 endif 1207 1208 if not timerexists "PKRadar" 1209 createtimer "PKRadar" 1210 settimer "PKRadar" 01211 endif 1212 1213 if not timerexists "RepairTimer"1214 createtimer "RepairTimer"1215 settimer "RepairTimer" 01216 endif 1217 1218 if skill "Mining" >= 501219 if not timerexists "ForgeRadar"1220 createtimer "ForgeRadar"1221 settimer "ForgeRadar" 35001222 endif 1223 1224 if not timerexists "OreRadar"1225 createtimer "OreRadar"1226 settimer "OreRadar" 35001227 endif 1228 1229 if not timerexists "IngotRadar"1230 createtimer "IngotRadar"1231 settimer "IngotRadar" 35001232 endif1233 1234 if not timerexists "ForgeRadar"1235 createtimer "ForgeRadar"1236 settimer "ForgeRadar" 35001237 endif 1238 1239 if not timerexists "ForgingTimer" 1240 createtimer "ForgingTimer" 1241 settimer "ForgingTimer" 35001242 endif 1243 1244 if not timerexists "SmeltingTimer" 1245 createtimer "SmeltingTimer" 1246 settimer "SmeltingTimer" 35001247 endif 1248 1249 if not timerexists "NaturalForgeTimer"1250 createtimer "NaturalForgeTimer"1251 settimer "NaturalForgeTimer" 25001252 endif1253 1254 if not timerexists "OreStackerTimer" 1255 createtimer "OreStackerTimer" 1256 settimer "OreStackerTimer" 600001257 endif 1258 1259 if not timerexists "StackerTimer" 1260 createtimer "StackerTimer" 1261 settimer "StackerTimer" 35001262 endif 1263 1264 if not timerexists "PackyFollowOne" 1265 createtimer "PackyFollowOne" 1266 settimer "PackyFollowOne" 300001267 endif1268 1269 if not timerexists "PackyFollowTwo" 1270 createtimer "PackyFollowTwo" 1271 settimer "PackyFollowTwo" 300001272 endif1273 1274 if not timerexists "PackyCheckTimer" 1275 createtimer "PackyCheckTimer" 1276 settimer "PackyCheckTimer" 150001277 endif 1278 1279 if not timerexists "PackySmeltTimer" 1280 createtimer "PackySmeltTimer" 1281 settimer "PackySmeltTimer" 35001282 endif 1283 1284 if not timerexists "PackyStorageTimer" 1285 createtimer "PackyStorageTimer" 1286 settimer "PackyStorageTimer" 35001287 endif 1288 1289 if not timerexists "HarvestDelay"1290 createtimer "HarvestDelay"1291 settimer "HarvestDelay" 50001292 endif1293 1294 if not timerexists "MinerOrganizer"1295 createtimer "MinerOrganizer"1296 settimer "MinerOrganizer" 300001297 endif1298 1299 if not timerexists "IngotRecallTimer" 1300 createtimer "IngotRecallTimer" 1301 settimer "IngotRecallTimer" 300001302 endif 1303 endif1304 1305 if skill "Lumberjacking" >= 501306 if not timerexists "LogStackerTimer" 1307 createtimer "LogStackerTimer"1308 settimer "LogStackerTimer" 100001309 endif1310 1311 if not timerexists "BoardTimer" 1312 createtimer "BoardTimer" 1313 settimer "BoardTimer" 35001314 endif 1315 1316 if not timerexists "LumberOrganizer"1317 createtimer "LumberOrganizer"1318 settimer "LumberOrganizer" 300001319 endif1320 1321 if not timerexists "BoardRecallTimer" 1322 createtimer "BoardRecallTimer" 1323 settimer "BoardRecallTimer" 300001324 endif 1325 endif1326 1327 if skill "Fishing" >= 501328 if not timerexists "CastTimer" 1329 createtimer "CastTimer" 1330 settimer "CastTimer" 80001331 endif1332 1333 if not timerexists "NetTimer" 1334 createtimer "NetTimer" 1335 settimer "NetTimer" 45001336 endif1337 1338 if not timerexists "SpyglassTimer" 1339 createtimer "SpyglassTimer" 1340 settimer "SpyglassTimer" 65001341 endif1342 1343 if not timerexists "SpecialNetCheckTimer" 1344 createtimer "SpecialNetCheckTimer" 1345 settimer "SpecialNetCheckTimer" 300001346 endif1347 endif1348 1349 if skill "Lockpicking" >= 501350 if not timerexists "StealthCheck" 1351 createtimer "StealthCheck" 1352 settimer "StealthCheck" 01353 endif 1354 1355 if not timerexists "StealthTimer" 1356 createtimer "StealthTimer"1357 settimer "StealthTimer" 01358 endif1359 1360 if not timerexists "HidingTimer"1361 createtimer "HidingTimer"1362 settimer "HidingTimer" 110001363 endif1364 1365 if not timerexists "ChestRadar" 1366 createtimer "ChestRadar" 1367 settimer "ChestRadar" 110001368 endif 1369 1370 if not timerexists "SkinningModeTimer" 1371 createtimer "SkinningModeTimer" 1372 settimer "SkinningModeTimer" 35001373 endif 1374 1375 if not timerexists "DungeonCleanupRadar" 1376 createtimer "DungeonCleanupRadar" 1377 settimer "DungeonCleanupRadar" 35001378 endif 1379 1380 if not timerexists "DungeonCleanupTimer" 1381 createtimer "DungeonCleanupTimer" 1382 settimer "DungeonCleanupTimer" 10001383 endif 1384 1385 if not timerexists "DungeonEscape" 1386 createtimer "DungeonEscape" 1387 settimer "DungeonEscape" 01388 endif 1389 1390 if not timerexists "EscapeTimer"1391 createtimer "EscapeTimer"1392 settimer "EscapeTimer" 1200001393 endif1394 endif1395 1396 if skill "Magery" >= 501397 if not timerexists "MagicShield" 1398 createtimer "MagicShield"1399 settimer "MagicShield" 150001400 endif1401 1402 if not timerexists "MagicReflect"1403 createtimer "MagicReflect"1404 settimer "MagicReflect" 300001405 endif1406 1407 if not timerexists "MagicArmor"1408 createtimer "MagicArmor"1409 settimer "MagicArmor" 300001410 endif1411 1412 if not timerexists "SpiritSpeak"1413 createtimer "SpiritSpeak"1414 settimer "SpiritSpeak" 105001415 endif1416 1417 if not timerexists "GuardCommentTimer" 1418 createtimer "GuardCommentTimer" 1419 settimer "GuardCommentTimer" 01420 endif 1421 1422 if not timerexists "GuardCheckTimer"1423 createtimer "GuardCheckTimer"1424 settimer "GuardCheckTimer" 30000 1425 endif 1426 1427 if not timerexists "MushroomTimer" 1428 createtimer "MushroomTimer" 1429 settimer "MushroomTimer" 01430 endif1431 1432 if not timerexists "MeditatingTimer"1433 createtimer "MeditatingTimer"1434 settimer "MeditatingTimer" 01435 endif1436 1437 if not timerexists "WeakenCD" 1438 createtimer "WeakenCD" 1439 settimer "WeakenCD" WeakenCooldown1440 endif 1441 1442 if not timerexists "MagicArrowCD"1443 createtimer "MagicArrowCD"1444 settimer "MagicArrowCD" MagicArrowCooldown1445 endif 1446 1447 if not timerexists "HarmCD"1448 createtimer "HarmCD"1449 settimer "HarmCD" HarmCooldown1450 endif 1451 1452 if not timerexists "CurseCD"1453 createtimer "CurseCD"1454 settimer "CurseCD" CurseCooldown1455 endif 1456 1457 if not timerexists "ExplosionCD"1458 createtimer "ExplosionCD"1459 settimer "ExplosionCD" ExplosionCooldown1460 endif 1461 1462 if not timerexists "MindblastCD"1463 createtimer "MindblastCD"1464 settimer "MindblastCD" 01465 endif 1466 1467 if not timerexists "EnergyBoltCD"1468 createtimer "EnergyBoltCD"1469 settimer "EnergyBoltCD" EnergyBoltCooldown1470 endif 1471 1472 if not timerexists "LightningCD"1473 createtimer "LightningCD"1474 settimer "LightningCD" LightningCooldown1475 endif 1476 1477 if not timerexists "FlamestrikeCD"1478 createtimer "FlamestrikeCD"1479 settimer "FlamestrikeCD" FlamestrikeCooldown1480 endif 1481 1482 if not timerexists "FireballCD"1483 createtimer "FireballCD"1484 settimer "FireballCD" FireballCooldown1485 endif 1486 1487 if not timerexists "MeteorSwarmCD"1488 createtimer "MeteorSwarmCD"1489 settimer "MeteorSwarmCD" MeteorSwarmCooldown1490 endif 1491 1492 if not timerexists "ChainLightningCD"1493 createtimer "ChainLightningCD"1494 settimer "ChainLightningCD" ChainLightningCooldown1495 endif 1496 endif1497 1498 if EnableCastRecall = 11499 @setvar! EnableRecallAfterRessurection 01500 endif1501 1502 while queued1503 wait 1001504 endwhile1505 1506 if insysmsg "Captcha successful" and EnableOverheadMessages = 11507 overhead "I guess you got the magic numbers correct??" 20861508 wait 15001509 if EnableSummons = 1 and followers >= 11510 wait 10001511 overhead "Umm... who are you speaking to, Master?" 44 myMainTankPet1512 menu myMainTankPet 31513 clearsysmsg1514 wait 10001515 overhead "Nevermind that... let's get back to work..." 20861516 else1517 overhead "Alright, let's harvest..." 20861518 clearsysmsg1519 endif1520 endif1521 1522 if EnableAutoParalyzePouch = 11523 if paralyzed1524 if EnableOverheadMessages = 11525 overhead "[ [ [ [POP] ] ] ]" 21171526 endif1527 say "[pouch" 1528 if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01529 overhead "[ !!RED ALERT!! ]" 371530 endif1531 @setvar! RedTargetFound 11532 @setvar! TimeToGo 11533 endif1534 endif1535 1536 if EnableTrackingAutoRecall = 11537 if skill "Tracking" >= 50 and not findbuff "tracking"1538 while not gumpexists 42674676591539 useskill "tracking"1540 endwhile1541 if gumpexists 42674676591542 while not insysmsg "You will now hunt all hostile players."1543 gumpresponse 8 42674676591544 waitforgump 4267467659 50001545 endwhile1546 gumpresponse 6 42674676591547 wait 5001548 clearsysmsg1549 endif1550 gumpclose 42674676591551 if EnableOverheadMessages = 11552 overhead "*tracking reds...*" 3341553 elseif EnableOverheadMessages = 21554 overhead "[ AUTO RECALL ON! ]" 841555 endif1556 endif 1557 1558 if PKTrackingRange = 70 1559 if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or 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"1560 if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01561 overhead "[ !! RED ALERT !! ]" 371562 endif 1563 if DungeonMode = 1 and EnableAutoRedDungeonGate = 11564 hotkey "Toggle War Only"1565 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 01566 if not hidden1567 useskill "Hiding"1568 endif1569 elseif DungeonMode = 01570 @setvar! RedTargetFound 11571 @setvar! TimeToGo 11572 clearsysmsg1573 endif 1574 endif1575 elseif PKTrackingRange = 60 1576 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"1577 if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01578 overhead "[ !! RED ALERT !! ]" 371579 endif 1580 if DungeonMode = 1 and EnableAutoRedDungeonGate = 11581 hotkey "Toggle War Only"1582 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 01583 if not hidden1584 useskill "Hiding"1585 endif1586 elseif DungeonMode = 01587 @setvar! RedTargetFound 11588 @setvar! TimeToGo 11589 clearsysmsg1590 endif 1591 endif1592 elseif PKTrackingRange = 50 1593 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"1594 if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01595 overhead "[ !! RED ALERT !! ]" 371596 endif 1597 if DungeonMode = 1 and EnableAutoRedDungeonGate = 11598 hotkey "Toggle War Only"1599 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 01600 if not hidden1601 useskill "Hiding"1602 endif1603 elseif DungeonMode = 01604 @setvar! RedTargetFound 11605 @setvar! TimeToGo 11606 clearsysmsg1607 endif 1608 endif1609 elseif PKTrackingRange = 0 1610 if insysmsg "Now tracking"1611 if EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01612 overhead "[ !! RED ALERT !! ]" 371613 endif 1614 if DungeonMode = 1 and EnableAutoRedDungeonGate = 11615 hotkey "Toggle War Only"1616 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 01617 if not hidden1618 useskill "Hiding"1619 endif1620 elseif DungeonMode = 01621 @setvar! RedTargetFound 11622 @setvar! TimeToGo 11623 clearsysmsg1624 endif 1625 endif1626 endif 1627 endif1628 1629 if EnablePKradar = 1 and skill "Tracking" < 501630 if timer "PKRadar" > 10001631 hotkey "Next Murderer Player Target"1632 wait 3501633 if insysmsg "No one matching that was found"1634 settimer "PKRadar" 01635 clearsysmsg1636 else1637 if DungeonMode = 1 and EnableAutoRedDungeonGate = 11638 hotkey "Toggle War Only"1639 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 01640 if not hidden1641 useskill "Hiding"1642 endif1643 elseif DungeonMode = 01644 @setvar! RedTargetFound 11645 @setvar! TimeToGo 11646 endif 1647 @setvar! MurdererTarget lasttarget1648 clearsysmsg1649 endif 1650 endif1651 endif 1652 1653 if TimeToGo = 11654 settimer "TargetTimer" 01655 settimer "NoTargetTimer" 01656 settimer "InventoryTimer" 35001657 settimer "ManaTimer" 35001658 1659 if EnableAutoRedRecall = 1 and RedTargetFound = 1 and DungeonMode = 01660 @setvar! MurdererFound 1 1661 if EnableDIYRecallScript = 11662 @setvar! RedTargetFound 0 1663 foreach RecallScript in DIYRecallScriptList1664 script RecallScript1665 endfor1666 else1667 while mana < 111668 if timer "ManaTimer" > 3500 and EnableOverheadMessages != 01669 overhead "[ MOVE!! ]" 121670 settimer "ManaTimer" 01671 endif 1672 wait 5001673 endwhile1674 @setvar! RECALLTIME 11675 endif 1676 elseif EnableTrackingAutoRecall = 1 and RedTargetFound = 1 and DungeonMode = 01677 @setvar! MurdererFound 1 1678 if EnableDIYRecallScript = 11679 @setvar! RedTargetFound 0 1680 foreach RecallScript in DIYRecallScriptList1681 script RecallScript1682 endfor1683 else1684 while mana < 111685 if timer "ManaTimer" > 3500 and EnableOverheadMessages != 01686 overhead "[ MOVE!! ]" 121687 settimer "ManaTimer" 01688 endif 1689 wait 5001690 endwhile1691 @setvar! RECALLTIME 11692 endif 1693 elseif EnableBoardAutoRecall = 1 or EnableIngotAutoRecall = 1 and AutoRecallTriggered = 11694 if EnableDIYRecallScript = 11695 @setvar! DungeonGateThenTimeToGo 01696 foreach RecallScript in DIYRecallScriptList1697 script RecallScript1698 endfor1699 else1700 while mana < 111701 if timer "ManaTimer" > 3500 and EnableOverheadMessages != 01702 overhead "*waiting for mana...*" 121703 settimer "ManaTimer" 01704 endif 1705 wait 5001706 endwhile1707 if EnableOverheadMessages = 11708 overhead "[ AUTO RECALL! ]" 881709 wait 10001710 endif1711 @setvar! AutoRecallTriggered 01712 @setvar! TimeToGo 01713 @setvar! RECALLTIME 11714 endif1715 elseif EnableRecallAfterDungeonGate = 1 and DungeonGateThenTimeToGo = 1 1716 if EnableDIYRecallScript = 11717 @setvar! DungeonGateThenTimeToGo 01718 foreach RecallScript in DIYRecallScriptList1719 script RecallScript1720 endfor1721 else1722 while mana < 111723 if timer "ManaTimer" > 3500 and EnableOverheadMessages =! 01724 overhead "*waiting for mana...*" 121725 settimer "ManaTimer" 01726 endif 1727 wait 5001728 endwhile1729 if EnableOverheadMessages = 11730 overhead "[ AUTO RECALL! ]" 881731 wait 10001732 endif1733 @setvar! DungeonGateThenTimeToGo 01734 @setvar! TimeToGo 01735 @setvar! RECALLTIME 11736 endif1737 elseif EnableRecallAfterRessurection = 1 and ResThenTimeToGo = 11738 if EnableDIYRecallScript = 11739 @setvar! ResThenTimeToGo 01740 foreach RecallScript in DIYRecallScriptList1741 script RecallScript1742 endfor1743 else1744 while mana < 111745 if timer "ManaTimer" > 3500 and EnableOverheadMessages != 01746 overhead "*waiting for mana...*" 121747 settimer "ManaTimer" 01748 endif 1749 wait 5001750 endwhile1751 if EnableOverheadMessages = 11752 overhead "[ AUTO RECALL! ]" 881753 wait 10001754 endif1755 @setvar! ResThenTimeToGo 01756 @setvar! RECALLTIME 11757 endif1758 elseif warmode and DungeonMode = 11759 if EnableAutoRedDungeonGate = 1 or EnableAutoWeightDungeonGate = 1 or EnableWarModeDungeonGate = 11760 settimer "TargetTimer" 35001761 1762 if RedTargetFound = 1 and timer "TargetTimer" > 3500 and EnableRedAlertOverhead = 1 and EnableOverheadMessages != 01763 overhead "[ !! RED ALERT !! ]" 37 1764 settimer "TargetTimer" 01765 @setvar! MurdererFound 0 1766 endif1767 1768 settimer "NoTargetTimer" 3500 1769 settimer "DungeonEscape" 01770 wait 5001771 1772 while timer "DungeonEscape" < 1200001773 if not hidden 1774 if skill "Healing" > 301775 if counttype "clean bandage%s%" = 0 1776 if EnableOverheadMessages = 1 and timer "InventoryTimer" > 35001777 overhead "[ NO BANDAGES! ]" 3371778 settimer "InventoryTimer" 01779 endif1780 endif 1781 if not bandaging 1782 if hp < maxhp or poisoned or findbuff "bleed" or findbuff "disease" 1783 if counttype "clean bandage%s%" < 10 1784 if EnableOverheadMessages = 1 and timer "InventoryTimer" > 35001785 overhead "[ BANDAGES LOW! ]" 3391786 settimer "InventoryTimer" 01787 endif1788 hotkey "Bandage Self"1789 else1790 if EnableOverheadMessages = 11791 overhead "[ BANDAGING... ]" 881792 endif1793 hotkey "Bandage Self"1794 endif 1795 endif 1796 endif1797 endif1798 1799 if EnableHealPotion = 1 or EnableHealPotion = 21800 if diffhits > HealPotHPdiff and timer "HealingPotionTimer" > HealingPotionCooldown1801 if findtype "Yellow Potion" self as healpot1802 dclick healpot1803 wait 7501804 if insysmsg "Potion satchel used"1805 if EnableOverheadMessages = 1 1806 overhead "*drinking free heal potion...*" 2531807 endif1808 clearsysmsg1809 else 1810 if EnableOverheadMessages = 1 1811 overhead "*drinking heal potion...*" 2531812 endif1813 clearsysmsg1814 endif1815 settimer "HealingPotionTimer" 01816 cooldown "Healing Potion" HealingPotionCooldown1817 else 1818 if timer "InventoryTimer" > 60001819 if EnableOverheadMessages = 1 1820 overhead "[ NO HEAL POTS! ]" 3371821 endif1822 settimer "InventoryTimer" 01823 endif1824 endif1825 wait 500 1826 endif1827 endif 1828 1829 if EnableCurePotion = 1 or EnableCurePotion = 21830 if poisoned and timer "CurePotionTimer" > CurePotionCooldown1831 if findtype "Orange Potion" self as curepot1832 dclick curepot1833 wait 5001834 if insysmsg "Potion satchel used"1835 if EnableOverheadMessages = 1 1836 overhead "*drinking free cure potion...*" 441837 endif1838 clearsysmsg1839 else 1840 if EnableOverheadMessages = 1 1841 overhead "*drinking cure potion...*" 441842 endif1843 clearsysmsg1844 endif1845 settimer "CurePotionTimer" 01846 cooldown "Cure Potion" CurePotionCooldown1847 else1848 if timer "InventoryTimer" > 60001849 if EnableOverheadMessages = 1 1850 overhead "[ NO CURE POTS! ]" 3371851 endif1852 settimer "InventoryTimer" 01853 endif1854 endif1855 wait 500 1856 endif1857 endif 1858 1859 if EnableRefreshPotion = 1 or EnableRefreshPotion = 21860 if diffstam >= RefreshPotSPdiff and timer "RefreshPotionTimer" > RefreshPotionCooldown1861 if findtype "Red Potion" self as refreshpot1862 dclick refreshpot1863 wait 5001864 if insysmsg "Potion satchel used"1865 if EnableOverheadMessages = 1 1866 overhead "*drinking free refresh potion...*" 341867 endif1868 clearsysmsg1869 else 1870 if EnableOverheadMessages = 1 1871 overhead "*drinking refresh potion...*" 341872 endif1873 clearsysmsg1874 endif1875 settimer "RefreshPotionTimer" 01876 cooldown "Refresh Potion" RefreshPotionCooldown1877 else 1878 if timer "InventoryTimer" > 60001879 if EnableOverheadMessages = 1 1880 overhead "[ NO REFRESH POTS! ]" 3371881 endif1882 settimer "InventoryTimer" 01883 endif1884 endif1885 wait 500 1886 endif1887 endif 1888 1889 if EnableMagicResistPotion = 1 or EnableMagicResistPotion = 21890 if not findbuff "Magic Resist Potion"1891 if findtype "Black Potion" self as magicresistpot1892 dclick magicresistpot1893 wait 5001894 if EnableOverheadMessages = 1 1895 if insysmsg "Potion satchel used" 1896 overhead "*drinking free resist potion*" 24061897 clearsysmsg1898 else 1899 overhead "*drinking resist potion*" 24061900 clearsysmsg1901 endif1902 endif 1903 else 1904 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 01905 overhead "[ NO RESIST POTS! ]" 3371906 settimer "InventoryTimer" 01907 endif1908 endif1909 wait 5001910 endif1911 endif1912 1913 if EnableStrengthPotion = 1 or EnableMagicResistPotion = 21914 if not findbuff "Strength"1915 if findtype "White Potion" self as strengthpot1916 dclick strengthpot1917 wait 5001918 if EnableOverheadMessages = 1 1919 if insysmsg "Potion satchel used" 1920 overhead "*drinking free strength potion*" 9561921 clearsysmsg1922 else 1923 overhead "*drinking strength potion*" 9561924 clearsysmsg1925 endif1926 endif1927 else 1928 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 1929 overhead "[ NO STRENGTH POTS! ]" 3371930 settimer "InventoryTimer" 01931 endif1932 endif1933 wait 5001934 endif1935 endif1936 1937 if EnableAutoParalyzePouch = 11938 if paralyzed1939 if findtype "pouch" self1940 yell "[pouch"1941 @setvar! TimeToGo 11942 @setvar! RedTargetFound 11943 replay1944 else1945 if EnableOverheadMessages = 11946 overhead "[ NO MORE POUCHES! ]" 3371947 endif1948 endif1949 endif1950 endif1951 endif 1952 1953 if not warmode1954 if EnableOverheadMessages = 11955 overhead "[ ESCAPE CANCELLED! ]" 881956 elseif EnableOverheadMessages = 21957 overhead " � " 881958 endif1959 replay1960 endif 1961 1962 while not gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate1963 dclick EscapeGate1964 endwhile1965 1966 if gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate1967 while gumpexists 3899019871 and findtype "blue moongate" ground 0 1 2 as EscapeGate1968 gumpresponse 2 38990198711969 wait 2001970 endwhile1971 wait 15001972 @setvar! TimeToGo 01973 if EnableDIYRecallScript = 11974 foreach RecallScript in DIYRecallScriptList1975 script RecallScript1976 endfor1977 else 1978 @setvar! TimeToGo 11979 if EnableRecallAfterDungeonGate = 11980 @setvar! DungeonGateThenTimeToGo 11981 endif 1982 replay1983 endif1984 endif1985 1986 while not gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate1987 dclick EscapeGate1988 endwhile1989 1990 if gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate1991 while gumpexists 3899019871 and findtype 30528 ground 2091 1 1 as EscapeGate1992 gumpresponse 2 38990198711993 wait 2001994 endwhile1995 @setvar! TimeToGo 01996 if EnableDIYRecallScript = 11997 foreach RecallScript in DIYRecallScriptList1998 script RecallScript1999 endfor2000 else 2001 @setvar! TimeToGo 12002 if EnableRecallAfterDungeonGate = 12003 @setvar! DungeonGateThenTimeToGo 12004 endif 2005 replay2006 endif2007 endif2008 2009 while not gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate2010 dclick EscapeGate2011 endwhile2012 2013 if gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate2014 while gumpexists 3773199800 and findtype "blue moongate" ground -1 1 2 as EscapeGate2015 gumpresponse 2 37731998002016 wait 2002017 endwhile2018 wait 15002019 @setvar! TimeToGo 02020 if EnableDIYRecallScript = 12021 foreach RecallScript in DIYRecallScriptList2022 script RecallScript2023 endfor2024 else 2025 @setvar! TimeToGo 12026 if EnableRecallAfterDungeonGate = 12027 @setvar! DungeonGateThenTimeToGo 12028 endif 2029 replay2030 endif2031 endif2032 2033 while not gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate2034 dclick EscapeGate2035 endwhile2036 2037 if gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate2038 while gumpexists 3899019871 and findtype "moongate" ground -1 -1 2 as EscapeGate2039 gumpresponse 2 38990198712040 wait 2002041 endwhile2042 wait 15002043 @setvar! TimeToGo 02044 if EnableDIYRecallScript = 12045 foreach RecallScript in DIYRecallScriptList2046 script RecallScript2047 endfor2048 else 2049 @setvar! TimeToGo 12050 if EnableRecallAfterDungeonGate = 12051 @setvar! DungeonGateThenTimeToGo 12052 endif 2053 replay2054 endif2055 endif2056 2057 if findtype "moongate" ground -1 1 12 or findtype "blue moongate" ground -1 1 12 as EscapeGate2058 if timer "TargetTimer" > 3500 2059 if EnableOverheadMessages = 1 2060 overhead "[ GET CLOSER! ]" 692061 elseif EnableOverheadMessages = 22062 overhead " � " 692063 endif2064 settimer "TargetTimer" 02065 endif2066 2067 if timer "NoTargetTimer" > 3500 and EnableOverheadMessages != 02068 overhead " � " 253 EscapeGate2069 settimer "NoTargetTimer" 02070 endif2071 else 2072 if timer "TargetTimer" > 35002073 if EnableOverheadMessages = 1 2074 overhead "[ GET TO A GATE... ]" 2532075 elseif EnableOverheadMessages = 22076 overhead " � " 2532077 endif2078 settimer "TargetTimer" 02079 endif 2080 endif2081 endwhile2082 endif 2083 endif 2084 2085 if RECALLTIME = 12086 if skill "Magery" >= 60 and EnableCastRecall = 1 and DEAD != 12087 2088 cast "Recall" 2089 while not targetexists 2090 wait 1002091 endwhile 2092 wait 5002093 2094 if CasttoRunebook = 12095 wft 5002096 if skill "Lockpicking" > 502097 target dungeoncrawler_runebook 2098 elseif skill "Fishing" > 50 2099 target fishing_runebook 2100 elseif skill "Mining" > 502101 target mining_runebook2102 elseif skill "Lumberjacking" > 50 2103 target lumber_runebook 2104 endif 2105 wait 5002106 elseif CasttoRune = 12107 wft 5002108 if skill "Lockpicking" > 502109 target dungeoncrawler_rune 2110 elseif skill "Fishing" > 50 2111 target fishing_rune 2112 elseif skill "Mining" > 502113 target mining_rune2114 elseif skill "Lumberjacking" > 50 2115 target lumber_rune 2116 endif 2117 wait 5002118 endif 2119 2120 for 52121 wait 5002122 if insysmsg "Your concentration is disturbed"2123 if diffhits > 25 timer "HealingPotionTimer" > HealingPotionCooldown2124 if findtype "Yellow Potion" self as healpot2125 dclick healpot2126 wait 7502127 cooldown "Healing Potion" HealingPotionCooldown2128 endif2129 endif2130 2131 if poisoned and timer "CurePotionTimer" > CurePotionCooldown2132 if findtype "Orange Potion" self as curepot2133 dclick curepot2134 wait 5002135 cooldown "Cure Potion" CurePotionCooldown2136 endif2137 endif2138 2139 clearsysmsg2140 if EnableOverheadMessages != 02141 overhead "[ INTERUPTED! ]" 1532142 endif 2143 cast "Recall"2144 2145 while not targetexists 2146 wait 1002147 endwhile 2148 2149 if CasttoRunebook = 12150 wft 5002151 if skill "Lockpicking" > 502152 target dungeoncrawler_runebook 2153 elseif skill "Fishing" > 50 2154 target fishing_runebook 2155 elseif skill "Mining" > 502156 target mining_runebook2157 elseif skill "Lumberjacking" > 50 2158 target lumber_runebook 2159 endif 2160 wait 5002161 elseif CasttoRune = 12162 wft 5002163 if skill "Lockpicking" > 502164 target dungeoncrawler_rune 2165 elseif skill "Fishing" > 50 2166 target fishing_rune 2167 elseif skill "Mining" > 502168 target mining_rune2169 elseif skill "Lumberjacking" > 50 2170 target lumber_rune 2171 endif 2172 wait 5002173 endif2174 2175 if insysmsg "Your concentration is disturbed"2176 wait 10002177 else 2178 break2179 endif 2180 endif2181 endfor2182 else2183 if skill "Lockpicking" > 502184 dclick dungeoncrawler_runebook2185 elseif skill "Fishing" > 502186 dclick fishing_runebook 2187 elseif skill "Mining" > 502188 dclick mining_runebook2189 elseif skill "Lumberjacking" > 50 2190 dclick lumber_runebook2191 endif 2192 2193 waitforgump 1551740969 2194 gumpresponse 22195 wait 1000 2196 2197 for 52198 wait 5002199 if insysmsg "Your concentration is disturbed"2200 if diffhits > 25 and timer "HealingPotionTimer" > HealingPotionCooldown2201 if findtype "Yellow Potion" self as healpot2202 dclick healpot2203 wait 7502204 cooldown "Healing Potion" HealingPotionCooldown2205 endif2206 endif2207 2208 if poisoned and timer "CurePotionTimer" > CurePotionCooldown2209 if findtype "Orange Potion" self as curepot2210 dclick curepot2211 wait 5002212 cooldown "Cure Potion" CurePotionCooldown2213 endif2214 endif2215 2216 clearsysmsg2217 if EnableOverheadMessages != 02218 overhead "[ INTERUPTED! ]" 1532219 endif2220 2221 if skill "Lockpicking" > 502222 dclick dungeoncrawler_runebook2223 elseif skill "Fishing" > 502224 dclick fishing_runebook 2225 elseif skill "Mining" > 502226 dclick mining_runebook2227 elseif skill "Lumberjacking" > 502228 dclick lumber_runebook2229 endif 2230 2231 waitforgump 1551740969 2232 gumpresponse 22233 wait 1000 2234 clearsysmsg 2235 endif 2236 endfor2237 endif2238 2239 wait 5002240 2241 if OutsideHouseRecall = 12242 wait 20002243 if find MyDoor ground -1 -1 2 and EnableCloseMyDoor = 12244 dclick MyDoor 2245 if EnableOverheadMessages != 02246 overhead "*door slams!*" 0 MyDoor2247 endif2248 wait 10002249 endif2250 wait 25002251 elseif OwnerInnRecall = 12252 wait 5002253 say "Innkeeper, I need a room!"2254 waitforgump 23938324112255 gumpresponse 42256 wait 15002257 elseif CoOwnerInnRecall = 12258 wait 5002259 say "Innkeeper, I need a room!"2260 waitforgump 23938324112261 gumpresponse 52262 wait 5002263 gumpresponse 1002264 wait 15002265 elseif InsideHouseRecall = 12266 wait 5002267 elseif BankRecall = 12268 say "Open my bank!"2269 wait 10002270 else 2271 wait 5002272 endif2273 2274 if HideAtHomeorInn = 12275 useskill "Hiding"2276 endif2277 2278 clearignore 2279 @setvar! RECALLTIME 02280 @setvar! TimeToGo 02281 2282 if DEAD != 12283 if EnableWeaponCheck = 1 2284 if skill "Mining" >= 50 2285 if findtype "pickaxe" self as MyAxe2286 dclick MyAxe2287 else2288 if EnableOverheadMessages != 02289 overhead "[ NO PICKAXE! ]" 3372290 endif 2291 endif2292 wait 5002293 elseif skill "Lumberjacking" >= 50 2294 if findtype "hatchet" self as MyAxe2295 dclick MyAxe2296 else2297 if EnableOverheadMessages != 02298 overhead "[ NO HATCHET! ]" 3372299 endif 2300 endif2301 wait 5002302 endif2303 else 2304 wait 5002305 endif2306 2307 if MurdererFound = 12308 if EnableOverheadMessages = 12309 overhead "Whew! I think we got away..." 20862310 endif2311 wait 15002312 @setvar! MurdererFound 0 2313 endif 2314 2315 if not varexist GuardHomeComment 2316 @setvar! GuardHomeComment 12317 endif2318 2319 if EnableOverheadMessages = 12320 if EnableSummons = 1 and GuardHomeComment = 1 and followers >= 12321 wait 15002322 overhead "Yes Master, that was a close one..." 44 myMainTankPet2323 menu myMainTankPet 32324 clearsysmsg 2325 @setvar! GuardHomeComment 22326 wait 5002327 elseif EnableSummons = 1 and GuardHomeComment = 2 and followers >= 12328 wait 15002329 overhead "Yes Master, your script is truly God-like..." 44 myMainTankPet2330 menu myMainTankPet 32331 clearsysmsg 2332 @setvar! GuardHomeComment 32333 wait 5002334 elseif EnableSummons = 1 and GuardHomeComment = 3 and followers >= 12335 wait 15002336 overhead "Yes Master, these red humans are quite annoying..." 44 myMainTankPet2337 menu myMainTankPet 32338 clearsysmsg 2339 @setvar! GuardHomeComment 42340 wait 5002341 elseif EnableSummons = 1 and GuardHomeComment = 4 and followers >= 12342 wait 15002343 overhead "I think we could have taken them..." 44 myMainTankPet2344 menu myMainTankPet 32345 clearsysmsg 2346 @setvar! GuardHomeComment 52347 wait 5002348 elseif EnableSummons = 1 and GuardHomeComment = 5 and followers >= 12349 wait 15002350 overhead "I worked for that human before... total prick..." 44 myMainTankPet2351 menu myMainTankPet 32352 clearsysmsg 2353 @setvar! GuardHomeComment 62354 wait 5002355 elseif EnableSummons = 1 and GuardHomeComment = 6 and followers >= 12356 wait 15002357 overhead "I do not think tonight is our night, Master.." 44 myMainTankPet2358 menu myMainTankPet 32359 clearsysmsg 2360 @setvar! GuardHomeComment 12361 wait 5002362 endif2363 endif 2364 2365 if OpenIngotBag = 1 2366 dclick IngotBag2367 wait 5002368 endif2369 2370 if OpenBoardBag = 1 2371 dclick BoardBag2372 wait 5002373 endif 2374 2375 if findtype "wooden box" backpack as LootBox2376 if findtype "copper key" backpack as LootKey2377 getlabel LootBox LootBoxLabel2378 if "items" in LootBoxLabel2379 dclick LootBox2380 wait 5002381 else2382 dclick LootKey2383 wft 15002384 target LootBox2385 if EnableOverheadMessages != 02386 overhead "[lockbox opened]" 69 LootBox2387 endif 2388 wait 5002389 dclick LootBox2390 wait 2502391 endif2392 else 2393 if EnableOverheadMessages = 12394 overhead "I lost my lockbox key!" 20862395 elseif EnableOverheadMessages = 22396 overhead "[ NO LOCKBOX KEY ]" 3372397 endif2398 endif2399 endif2400 2401 while findtype "iron ore" backpack as ore2402 if findtype "forge" ground -1 -1 2 as forge or findtype 0x0FB1 ground -1 -1 2 as forge2403 if EnableOverheadMessages != 0 and timer "ForgingTimer" > 35002404 overhead "*smelting ore...*" 2114 forge2405 settimer "ForgingTimer" 02406 endif2407 dclick ore2408 wait 5002409 endif 2410 endwhile2411 2412 if EnablePackAnimals = 12413 wait 5002414 if find myMainPackAnimal ground -1 -1 22415 getlabel myMainPackAnimal PackyLabel2416 if "[0/2000" in PackyLabel2417 // Do nothing2418 elseif "[0/4000" in PackyLabel2419 // Do nothing2420 else2421 dclick myMainPackAnimal 2422 wait 5002423 while findtype "iron ore" myMainPackAnimal as packyoretosmelt2424 dclick packyoretosmelt2425 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 02426 overhead "*smelting from pack animal...*" 2114 myMainPackAnimal 2427 settimer "PackySmeltTimer" 02428 endif 2429 wait 6502430 endwhile2431 @setvar! NeedtoSecureIngots 12432 endif2433 endif 2434 wait 5002435 if find mySecondPackAnimal ground -1 -1 22436 getlabel mySecondPackAnimal TwoPackyLabel2437 if "[0/2000" in TwoPackyLabel2438 // Do nothing2439 elseif "[0/4000" in TwoPackyLabel2440 // Do nothing2441 else2442 dclick mySecondPackAnimal 2443 wait 5002444 while findtype "iron ore" myMainPackAnimal as twopackyoretosmelt2445 dclick twopackyoretosmelt2446 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 2447 overhead "*smelting from pack animal...*" 2114 mySecondPackAnimal 2448 settimer "PackySmeltTimer" 02449 endif 2450 wait 6502451 endwhile2452 @setvar! NeedtoSecureIngots 12453 endif2454 endif 2455 endif 2456 2457 while findtype "log%s" backpack and LogsToBoards = 1 2458 wait 5002459 if EnableOverheadMessages != 02460 overhead "*making boards...*" 02461 endif 2462 dclicktype "log%s" 2463 wait 5002464 if SetBoardBagtoOrganizer01 = 12465 hotkey "Organizer Agent-01"2466 endif 2467 wait 10002468 endwhile 2469 2470 if EnableLootBag = 12471 dclick LootBag2472 wait 5002473 endif2474 2475 if EnableLootChest = 12476 wait 5002477 dclick LootChest2478 wait 5002479 endif2480 2481 if EnableSafeDeposit = 12482 if findtype "bank deposit safe" ground -1 -1 2 as safe2483 while findtype "gold coin" backpack as gold2484 lift gold 600002485 if EnableOverheadMessages != 02486 overhead "*depositing gold..." 1492487 endif 2488 drop safe -1 -1 -12489 wait 15002490 endwhile2491 while findtype 2539 backpack as dubs2492 if EnableOverheadMessages != 02493 overhead "depositing dubs..." 1492494 endif2495 lift dubs 600002496 drop safe -1 -1 -12497 wait 15002498 endwhile2499 elseif EnableOverheadMessages != 02500 overhead "[ NO BANK SAFE FOUND ]" 3372501 wait 15002502 endif2503 endif 2504 2505 if EnableResourceStockpile = 12506 if findtype "resource container" ground -1 -1 2 as resource2507 menu resource 02508 wft 5002509 target self2510 if EnableOverheadMessages != 02511 overhead "*piling resources...*" 84 2512 endif 2513 wait 15002514 elseif EnableOverheadMessages != 0 2515 overhead "[ NO RESOURCE STOCKPILE FOUND ]" 3372516 wait 15002517 endif2518 endif 2519 2520 if EnableRepairBench = 1 2521 if findtype "repair bench" ground -1 -1 3 as RepairBench2522 clearsysmsg 2523 dclick RepairBench2524 wait 5002525 if insysmsg "You do not have any items equipped or in your backpack in need of repairs."2526 if EnableOverheadMessages != 0 2527 overhead "[ NOTHING TO REPAIR! ]" 02528 endif 2529 wait 15002530 else2531 if EnableOverheadMessages != 02532 overhead "*repairing equipment...*" 3392533 endif 2534 settimer RepairTimer 02535 while timer RepairTimer <= 5000 2536 if insysmsg "Repair"2537 break2538 endif2539 endwhile2540 if EnableOverheadMessages != 02541 overhead "[ ITEMS REPAIRED! ]" 02542 wait 5002543 overhead "Repair took: {{RepairTimer}}ms" 772544 endif 2545 removetimer RepairTimer2546 wait 5002547 endif2548 elseif EnableOverheadMessages != 02549 overhead "[ NO REPAIR BENCH FOUND ]" 3372550 wait 15002551 endif2552 endif 2553 2554 if EnableMagicRecycler = 12555 if findtype "ornate elven chest|magic item recycler" ground -1 -1 2 as recycler2556 for 22557 getlabel recycler recyclerdesc2558 if "(125 items" in recyclerdesc2559 dclick recycler2560 waitforgump 40451111012561 gumpresponse 72562 waitforgump 40451111012563 gumpresponse 62564 waitforgump 40451111012565 gumpresponse 62566 if EnableOverheadMessages != 0 2567 overhead "*recycling junk...*" 662568 endif 2569 wait 5002570 gumpclose 40451111012571 if findtype "resource container" ground -1 -1 2 as resource and EnableResourceStockpile = 12572 menu resource 02573 wft 15002574 target recycler2575 wait 10002576 if EnableOverheadMessages != 02577 overhead "*piling resources...*" 1122578 endif 2579 wait 5002580 elseif EnableOverheadMessages != 0 2581 overhead "[ NO RESOURCE STOCKPILE FOUND ]" 3372582 endif2583 menu recycler 12584 wait 5002585 if insysmsg "0 recyclable"2586 break2587 elseif EnableOverheadMessages != 0 2588 overhead "*adding to recycler...*" 62589 wait 15002590 endif2591 break2592 else 2593 menu recycler 12594 wait 5002595 if insysmsg "0 recyclable"2596 if timer "InventoryTimer" > 3500 and EnableOverheadMessages != 02597 overhead "[ NO MAGIC LOOT! ]" 62598 settimer "InventoryTimer" 02599 endif2600 break2601 elseif EnableOverheadMessages != 0 2602 overhead "*adding to recycler...*" 62603 settimer "InventoryTimer" 02604 wait 15002605 endif2606 endif2607 wait 5002608 endfor2609 elseif EnableOverheadMessages != 02610 overhead "[ NO MAGIC ITEM RECYCLER FOUND ]" 3372611 endif2612 endif 2613 2614 if EnableLootChest = 12615 dclick LootChest2616 if EnableOverheadMessages != 02617 overhead "*stashing loot...*" 69 2618 endif 2619 for 22620 hotkey "Organizer Agent-06"2621 wait 2502622 hotkey "Organizer Agent-07"2623 wait 2502624 hotkey "Organizer Agent-08"2625 wait 2502626 hotkey "Organizer Agent-09"2627 wait 2502628 endfor2629 while queued2630 wait 1002631 endwhile 2632 endif 2633 2634 if EnableStorageTomes = 12635 if findtype "book" ground -1 -1 2 as StorageTome or findtype "book" LootChest as StorageTome2636 while findtype "book" ground -1 -1 2 as StorageTome2637 menu StorageTome 02638 if timer "InventoryTimer" > 3500 and EnableOverheadMessages != 0 2639 overhead "*storing tome items...*" 21172640 settimer "InventoryTimer" 02641 endif2642 wait 250 2643 @ignore StorageTome2644 endwhile2645 while findtype "book" LootChest as StorageTome2646 menu StorageTome 02647 if timer "InventoryTimer" > 3500 and EnableOverheadMessages != 0 2648 overhead "*storing tome items...*" 21172649 settimer "InventoryTimer" 02650 endif2651 wait 250 2652 @ignore StorageTome2653 endwhile2654 @clearignore 2655 elseif EnableOverheadMessages != 02656 overhead "[ NO STORAGE TOMES FOUND ]" 3372657 wait 15002658 endif2659 endif2660 endif2661 2662 if EnableStorageShelf = 12663 if findtype "storage shelf" ground -1 -1 2 as shelf2664 if DEAD != 12665 menu shelf 02666 wft 5002667 target self2668 if EnableOverheadMessages != 0 2669 overhead "*storing goods...*" 21142670 endif 2671 wait 5002672 gumpclose 32328259652673 wait 10002674 endif 2675 menu shelf 12676 if EnableOverheadMessages != 0 2677 overhead "*resupplying...*" 932678 endif2679 wait 10002680 elseif EnableOverheadMessages != 0 2681 overhead "[ NO STORAGE SHELF FOUND ]" 3372682 wait 15002683 endif2684 endif 2685 2686 if EnableResetLoadoutAfterDeath = 1 and DEAD = 1 and ResetLoadout = 12687 if EnableOverheadMessages != 0 2688 overhead "*resetting loadout...*" 162689 endif 2690 clearignore 2691 wait 5002692 2693 if skill 'healing' > 30 and hp < maxhp and not bandaging2694 if findtype 'clean bandage%s%' self2695 hotkey 'Bandage Self'2696 if EnableOverheadMessages = 12697 overhead "*applying bandages...*" 882698 endif2699 endif2700 endif 2701 2702 if findtype "Yellow Potion" self as healpot and timer "HealingPotionTimer" > HealingPotionCooldown2703 dclick healpot2704 wait 7502705 if insysmsg "Potion satchel used"2706 if EnableOverheadMessages = 1 2707 overhead "*drinking free heal potion...*" 2532708 endif2709 clearsysmsg2710 else 2711 if EnableOverheadMessages = 1 2712 overhead "*drinking heal potion...*" 2532713 endif2714 clearsysmsg2715 endif2716 settimer "HealingPotionTimer" 02717 cooldown "Healing Potion" HealingPotionCooldown2718 endif2719 2720 if not varexist maininventorybag or not find maininventorybag self 2721 overhead "[ SELECT MAIN POUCH... ]" 2532722 @setvar! maininventorybag2723 wft 5002724 while targetexists2725 wait 2502726 endwhile2727 overhead "[ MAIN POUCH SET! ]" 932728 endif2729 2730 lift maininventorybag2731 wait 5002732 drop backpack 69 69 02733 wait 5002734 dclick maininventorybag2735 wait 15002736 sysmsg "Auto-selecting your loot/grab bag..." 02737 hotkey 'Set Grab Item Hotbag'2738 wft 1500 2739 while targetexists2740 if findtype 'bag' self as grabbag2741 target grabbag2742 else 2743 sysmsg "Auto-select failed! Please manually target your loot/grab bag!" 02744 wait 10002745 overhead "[ SELECT GRAB BAG... ]" 2532746 wait 25002747 endif2748 wait 5002749 endwhile 2750 2751 overhead "[ GRAB BAG SET! ]" 93 2752 wait 5002753 2754 if findtype 'bag' as grabbag2755 lift grabbag 2756 wait 5002757 drop maininventorybag -1 -1 -12758 wait 500 2759 @ignore maininventorybag2760 @ignore grabbag2761 endif 2762 2763 while findtype 'scissors' self 2764 if skill 'healing' > 30 and hp < maxhp and not bandaging2765 if findtype 'clean bandage%s%' self2766 hotkey 'Bandage Self'2767 if EnableOverheadMessages = 12768 overhead "*applying bandages...*" 882769 endif2770 endif 2771 endif 2772 2773 if findtype 'scissors' backpack as myscissors2774 if findtype 'pouch' self as trappedpouch2775 lift myscissors2776 wait 5002777 drop trappedpouch2778 wait 5002779 lift trappedpouch 2780 wait 5002781 drop backpack 69 69 02782 @ignore trappedpouch2783 @ignore myscissors2784 endif 2785 endif2786 2787 while queued2788 wait 1002789 endwhile 2790 endwhile2791 2792 clearignore 2793 2794 while findtype 'pouch' backpack as decoypouch2795 getlabel decoypouch decoypouchlabel2796 wait 2502797 if '(1 items' in decoypouchlabel 2798 lift decoypouch2799 drop backpack 97 97 02800 break2801 else 2802 @ignore decoypouch2803 endif 2804 endwhile 2805 2806 if findtype 'atlas' backpack as hidemypouchstack2807 lift hidemypouchstack 2808 wait 5002809 drop backpack 72 66 02810 wait 5002811 else 2812 say "[atlas" 2813 wait 5002814 if findtype 'atlas' backpack as hidemypouchstack2815 lift hidemypouchstack 2816 wait 5002817 drop backpack 72 66 02818 wait 500 2819 endif 2820 endif 2821 2822 if EnableOverheadMessages != 0 2823 overhead "*activating aspect...*" 20862824 endif 2825 say "[aspect"2826 waitforgump 24242931732827 2828 if skill 'Magery' > 80 2829 gumpresponse 132830 wait 5002831 gumpresponse 132832 wait 500 2833 else 2834 gumpresponse 82835 wait 5002836 gumpresponse 82837 wait 5002838 endif 2839 2840 gumpresponse 172841 wait 5002842 gumpresponse 172843 wait 5002844 gumpclose 24242931732845 dclick maininventorybag2846 wait 5002847 2848 if findtype 'bag' self as grabbag2849 dclick grabbag2850 wait 5002851 endif2852 2853 if findtype 'alchemists satchel' self as BagofPot2854 dclick BagofPot2855 wait 5002856 endif 2857 2858 if findtype 'reagent satchel' self as WizardBag2859 dclick WizardBag2860 endif 2861 2862 if findtype "Yellow Potion" self as healpot and timer "HealingPotionTimer" > HealingPotionCooldown2863 dclick healpot2864 wait 7502865 if insysmsg "Potion satchel used"2866 if EnableOverheadMessages = 1 2867 overhead "*drinking free heal potion...*" 2532868 endif2869 clearsysmsg2870 else 2871 if EnableOverheadMessages = 1 2872 overhead "*drinking heal potion...*" 2532873 endif2874 clearsysmsg2875 endif2876 settimer "HealingPotionTimer" 02877 cooldown "Healing Potion" HealingPotionCooldown2878 endif2879 2880 @setvar! ResetLoadout 02881 if EnableOverheadMessages = 12882 overhead "There. That is better..." 20862883 elseif EnableOverheadMessages = 22884 overhead "[ RESET SUCESSFUL! ]" 442885 endif 2886 wait 10002887 endif 2888 2889 if EnableReagentSplitter = 12890 // This section uses a Reg Splitter script I adapted from dennozz script found here: https://outlands.uorazorscripts.com/script/d8f50c97-3d9c-468b-9114-0a0623003e19 // 2891 if findtype "reagent satchel" self as MyWizardBag 2892 sysmsg "Disable 'EnableReagentSplitter' in script variables to turn off this feature!" 0 2893 dclick MyWizardBag2894 if EnableOverheadMessages != 0 2895 overhead "*splitting reagents...*" 1112896 endif 2897 @setvar! amount 02898 @setvar! regsID 39812899 @setvar! myCounter 02900 while findtype regsID self as r 2901 @setvar! myCounter index2902 @ignore r2903 endwhile 2904 @clearignore2905 if counttype regsID self <= 152906 @setvar! amount 22907 elseif counttype regsID self <= 302908 @setvar! amount 4 2909 elseif counttype regsID self <= 502910 @setvar! amount 10 2911 elseif counttype regsID self <= 1002912 @setvar! amount 20 2913 elseif counttype regsID self <= 1502914 @setvar! amount 302915 elseif counttype regsID self <= 2002916 @setvar! amount 402917 else 2918 @setvar! amount 502919 endif2920 while findtype regsID self as regs2921 @setvar! moveRegs 0 2922 if myCounter = 02923 @setvar! moveRegs 12924 elseif myCounter != 0 and not find regs MyWizardBag2925 @setvar! moveRegs 12926 endif 2927 if moveRegs = 1 2928 if index = 02929 lift regs amount2930 drop MyWizardBag 44 65 0 2931 wait 150 2932 elseif index = 12933 lift regs amount2934 drop MyWizardBag 68 65 0 2935 wait 150 2936 elseif index = 22937 lift regs amount2938 drop MyWizardBag 96 65 0 2939 wait 150 2940 elseif index = 32941 lift regs amount2942 drop MyWizardBag 121 65 0 2943 wait 150 2944 else2945 lift regs amount2946 drop MyWizardBag 142 65 0 2947 wait 150 2948 endif2949 endif 2950 @ignore regs 2951 if moveRegs = 12952 wait 5002953 endif2954 endwhile2955 @setvar! regsID 39622956 @setvar! myCounter 02957 while findtype regsID self as r 2958 @setvar! myCounter index2959 @ignore r2960 endwhile2961 @clearignore2962 if counttype regsID self <= 102963 @setvar! amount 22964 elseif counttype regsID self <= 202965 @setvar! amount 4 2966 elseif counttype regsID self <= 502967 @setvar! amount 10 2968 elseif counttype regsID self <= 1002969 @setvar! amount 20 2970 elseif counttype regsID self <= 1502971 @setvar! amount 302972 elseif counttype regsID self <= 2002973 @setvar! amount 402974 else 2975 @setvar! amount 502976 endif2977 while findtype regsID self as regs2978 @setvar! moveRegs 0 2979 if myCounter = 02980 @setvar! moveRegs 12981 elseif myCounter != 0 and not find regs MyWizardBag2982 @setvar! moveRegs 12983 endif2984 if moveRegs = 1 2985 if index = 02986 lift regs amount2987 drop MyWizardBag 44 76 0 2988 wait 150 2989 elseif index = 12990 lift regs amount2991 drop MyWizardBag 68 76 0 2992 wait 150 2993 elseif index = 22994 lift regs amount2995 drop MyWizardBag 96 76 0 2996 wait 150 2997 elseif index = 32998 lift regs amount2999 drop MyWizardBag 121 76 0 3000 wait 150 3001 else3002 lift regs amount3003 drop MyWizardBag 142 76 0 3004 wait 150 3005 endif3006 endif 3007 @ignore regs 3008 if moveRegs = 13009 wait 5003010 endif3011 endwhile3012 @setvar! regsID 39763013 @setvar! myCounter 03014 while findtype regsID self as r 3015 @setvar! myCounter index3016 @ignore r3017 endwhile 3018 @clearignore3019 if counttype regsID self <= 103020 @setvar! amount 23021 elseif counttype regsID self <= 203022 @setvar! amount 4 3023 elseif counttype regsID self <= 503024 @setvar! amount 10 3025 elseif counttype regsID self <= 1003026 @setvar! amount 20 3027 elseif counttype regsID self <= 1503028 @setvar! amount 303029 elseif counttype regsID self <= 2003030 @setvar! amount 403031 else 3032 @setvar! amount 503033 endif3034 while findtype regsID self as regs3035 @setvar! moveRegs 0 3036 if myCounter = 03037 @setvar! moveRegs 13038 elseif myCounter != 0 and not find regs MyWizardBag3039 @setvar! moveRegs 13040 endif 3041 if moveRegs = 1 3042 if index = 03043 lift regs amount3044 drop MyWizardBag 44 88 0 3045 wait 150 3046 elseif index = 13047 lift regs amount3048 drop MyWizardBag 68 88 0 3049 wait 150 3050 elseif index = 23051 lift regs amount3052 drop MyWizardBag 96 88 0 3053 wait 150 3054 elseif index = 33055 lift regs amount3056 drop MyWizardBag 121 88 0 3057 wait 150 3058 else3059 lift regs amount3060 drop MyWizardBag 142 88 0 3061 wait 150 3062 endif3063 endif 3064 @ignore regs 3065 if moveRegs = 13066 wait 5003067 endif3068 endwhile3069 @setvar! regsID 39743070 @setvar! myCounter 03071 while findtype regsID self as r 3072 @setvar! myCounter index3073 @ignore r3074 endwhile 3075 @clearignore3076 if counttype regsID self <= 103077 @setvar! amount 23078 elseif counttype regsID self <= 203079 @setvar! amount 4 3080 elseif counttype regsID self <= 503081 @setvar! amount 10 3082 elseif counttype regsID self <= 1003083 @setvar! amount 20 3084 elseif counttype regsID self <= 1503085 @setvar! amount 303086 elseif counttype regsID self <= 2003087 @setvar! amount 403088 else 3089 @setvar! amount 503090 endif3091 while findtype regsID self as regs3092 @setvar! moveRegs 0 3093 if myCounter = 03094 @setvar! moveRegs 13095 elseif myCounter != 0 and not find regs MyWizardBag3096 @setvar! moveRegs 13097 endif 3098 if moveRegs = 1 3099 if index = 03100 lift regs amount3101 drop MyWizardBag 44 100 0 3102 wait 150 3103 elseif index = 13104 lift regs amount3105 drop MyWizardBag 68 100 0 3106 wait 150 3107 elseif index = 23108 lift regs amount3109 drop MyWizardBag 96 100 0 3110 wait 150 3111 elseif index = 33112 lift regs amount3113 drop MyWizardBag 121 100 0 3114 wait 150 3115 else3116 lift regs amount3117 drop MyWizardBag 142 100 0 3118 wait 150 3119 endif3120 endif 3121 @ignore regs 3122 if moveRegs = 13123 wait 5003124 endif3125 endwhile3126 @setvar! regsID 39803127 @setvar! myCounter 03128 while findtype regsID self as r 3129 @setvar! myCounter index3130 @ignore r3131 endwhile3132 @clearignore3133 if counttype regsID self <= 103134 @setvar! amount 23135 elseif counttype regsID self <= 203136 @setvar! amount 4 3137 elseif counttype regsID self <= 503138 @setvar! amount 10 3139 elseif counttype regsID self <= 1003140 @setvar! amount 20 3141 elseif counttype regsID self <= 1503142 @setvar! amount 303143 elseif counttype regsID self <= 2003144 @setvar! amount 403145 else 3146 @setvar! amount 503147 endif3148 while findtype regsID self as regs3149 @setvar! moveRegs 0 3150 if myCounter = 03151 @setvar! moveRegs 13152 elseif myCounter != 0 and not find regs MyWizardBag3153 @setvar! moveRegs 1 3154 endif 3155 if moveRegs = 1 3156 if index = 03157 lift regs amount3158 drop MyWizardBag 44 112 03159 wait 150 3160 elseif index = 1 3161 lift regs amount3162 drop MyWizardBag 68 112 0 3163 wait 150 3164 elseif index = 23165 lift regs amount3166 drop MyWizardBag 96 112 0 3167 wait 150 3168 elseif index = 33169 lift regs amount3170 drop MyWizardBag 121 112 0 3171 wait 150 3172 else3173 lift regs amount3174 drop MyWizardBag 142 112 0 3175 wait 150 3176 endif3177 endif 3178 @ignore regs 3179 if moveRegs = 13180 wait 5003181 endif3182 endwhile3183 @setvar! regsID 39733184 @setvar! myCounter 03185 while findtype regsID self as r 3186 @setvar! myCounter index3187 @ignore r3188 endwhile 3189 @clearignore3190 if counttype regsID self <= 103191 @setvar! amount 23192 elseif counttype regsID self <= 203193 @setvar! amount 4 3194 elseif counttype regsID self <= 503195 @setvar! amount 10 3196 elseif counttype regsID self <= 1003197 @setvar! amount 20 3198 elseif counttype regsID self <= 1503199 @setvar! amount 303200 elseif counttype regsID self <= 2003201 @setvar! amount 403202 else 3203 @setvar! amount 503204 endif3205 while findtype regsID self as regs3206 @setvar! moveRegs 0 3207 if myCounter = 03208 @setvar! moveRegs 13209 elseif myCounter != 0 and not find regs MyWizardBag3210 @setvar! moveRegs 13211 endif 3212 if moveRegs = 1 3213 if index = 03214 lift regs amount3215 drop MyWizardBag 44 124 0 3216 wait 150 3217 elseif index = 13218 lift regs amount3219 drop MyWizardBag 68 124 03220 wait 150 3221 elseif index = 23222 lift regs amount3223 drop MyWizardBag 96 124 0 3224 wait 150 3225 elseif index = 33226 lift regs amount3227 drop MyWizardBag 121 124 0 3228 wait 150 3229 else3230 lift regs amount3231 drop MyWizardBag 142 124 0 3232 wait 150 3233 endif3234 endif 3235 @ignore regs 3236 if moveRegs = 13237 wait 5003238 endif3239 endwhile3240 @setvar! regsID 39633241 @setvar! myCounter 03242 while findtype regsID self as r 3243 @setvar! myCounter index3244 @ignore r3245 endwhile 3246 @clearignore3247 if counttype regsID self <= 103248 @setvar! amount 23249 elseif counttype regsID self <= 203250 @setvar! amount 4 3251 elseif counttype regsID self <= 503252 @setvar! amount 10 3253 elseif counttype regsID self <= 1003254 @setvar! amount 20 3255 elseif counttype regsID self <= 1503256 @setvar! amount 303257 elseif counttype regsID self <= 2003258 @setvar! amount 403259 else 3260 @setvar! amount 503261 endif3262 while findtype regsID self as regs3263 @setvar! moveRegs 0 3264 if myCounter = 03265 @setvar! moveRegs 13266 elseif myCounter != 0 and not find regs MyWizardBag3267 @setvar! moveRegs 13268 endif 3269 if moveRegs = 1 3270 if index = 03271 lift regs amount3272 drop MyWizardBag 44 136 0 3273 wait 150 3274 elseif index = 13275 lift regs amount3276 drop MyWizardBag 68 136 0 3277 wait 150 3278 elseif index = 23279 lift regs amount3280 drop MyWizardBag 96 136 0 3281 wait 150 3282 elseif index = 33283 lift regs amount3284 drop MyWizardBag 121 136 0 3285 wait 150 3286 else3287 lift regs amount3288 drop MyWizardBag 142 136 0 3289 wait 150 3290 endif3291 endif 3292 @ignore regs 3293 if moveRegs = 13294 wait 5003295 endif3296 endwhile3297 @setvar! regsID 39723298 @setvar! myCounter 03299 while findtype regsID self as r 3300 @setvar! myCounter index3301 @ignore r3302 endwhile 3303 @clearignore3304 if counttype regsID self <= 103305 @setvar! amount 23306 elseif counttype regsID self <= 203307 @setvar! amount 4 3308 elseif counttype regsID self <= 503309 @setvar! amount 10 3310 elseif counttype regsID self <= 1003311 @setvar! amount 20 3312 elseif counttype regsID self <= 1503313 @setvar! amount 303314 elseif counttype regsID self <= 2003315 @setvar! amount 403316 else 3317 @setvar! amount 503318 endif3319 while findtype regsID self as regs3320 @setvar! moveRegs 0 3321 if myCounter = 03322 @setvar! moveRegs 13323 elseif myCounter != 0 and not find regs MyWizardBag3324 @setvar! moveRegs 13325 endif 3326 if moveRegs = 1 3327 if index = 03328 lift regs amount3329 drop MyWizardBag 44 148 0 3330 wait 150 3331 elseif index = 13332 lift regs amount3333 drop MyWizardBag 68 148 0 3334 wait 150 3335 elseif index = 23336 lift regs amount3337 drop MyWizardBag 96 148 0 3338 wait 150 3339 elseif index = 33340 lift regs amount3341 drop MyWizardBag 121 148 0 3342 wait 150 3343 else3344 lift regs amount3345 drop MyWizardBag 142 148 0 3346 wait 150 3347 endif3348 endif3349 @ignore regs 3350 if moveRegs = 13351 wait 5003352 endif3353 endwhile3354 @setvar! regsID 80123355 @setvar! myCounter 03356 while findtype regsID self as r 3357 @setvar! myCounter index3358 @ignore r3359 endwhile 3360 @clearignore3361 if counttype regsID self <= 53362 @setvar! amount 13363 elseif counttype regsID self <= 103364 @setvar! amount 2 3365 elseif counttype regsID self <= 203366 @setvar! amount 4 3367 elseif counttype regsID self <= 403368 @setvar! amount 8 3369 else 3370 @setvar! amount 153371 endif3372 while findtype regsID self as regs3373 @setvar! moveRegs 0 3374 if myCounter = 03375 @setvar! moveRegs 13376 elseif myCounter != 0 and not find regs MyWizardBag3377 @setvar! moveRegs 13378 endif3379 @ignore regs 3380 if moveRegs = 13381 wait 5003382 endif3383 endwhile3384 elseif EnableOverheadMessages != 03385 overhead "[ NO WIZARD BAG! ]" 3373386 endif3387 endif3388 overhead "[ SCRIPT COMPLETE! ]" 843389 @setvar! DEAD 03390 @setvar! ResetLoadout 03391 @setvar! RedTargetFound 03392 @setvar! RECALLTIME 03393 @setvar! TimeToGo 0 3394 stop3395 endif 3396 endif3397 3398 if EnableHealPotion = 1 or EnableHealPotion = 23399 if diffhits > HealPotHPdiff and timer "HealingPotionTimer" > HealingPotionCooldown3400 if findtype "Yellow Potion" self as healpot3401 dclick healpot3402 wait 7503403 if insysmsg "Potion satchel used"3404 if EnableOverheadMessages = 1 3405 overhead "*drinking free heal potion...*" 2533406 endif3407 clearsysmsg3408 else 3409 if EnableOverheadMessages = 1 3410 overhead "*drinking heal potion...*" 2533411 endif3412 clearsysmsg3413 endif3414 settimer "HealingPotionTimer" 03415 cooldown "Healing Potion" HealingPotionCooldown3416 else 3417 if timer "InventoryTimer" > 60003418 if EnableOverheadMessages != 03419 overhead "[ NO HEAL POTS! ]" 3373420 endif3421 settimer "InventoryTimer" 03422 endif3423 endif3424 wait 500 3425 endif3426 endif 3427 3428 if skill "Healing" > 303429 if counttype "clean bandage%s%" self = 0 3430 if EnableOverheadMessages != 0 and timer "InventoryTimer" > 60003431 overhead "[ NO BANDAGES! ]" 3373432 settimer "InventoryTimer" 03433 endif3434 elseif not bandaging 3435 if hp < maxhp or poisoned or findbuff "bleed" or findbuff "disease" 3436 if counttype "clean bandage%s%" < 10 3437 if EnableOverheadMessages = 1 and timer "InventoryTimer" > 60003438 overhead "[ BANDAGES LOW! ]" 3393439 settimer "InventoryTimer" 03440 endif3441 hotkey "Bandage Self" 3442 else3443 if EnableOverheadMessages = 13444 overhead "[ BANDAGING... ]" 883445 endif3446 hotkey "Bandage Self"3447 endif 3448 endif 3449 endif3450 endif3451 3452 if EnableCurePotion = 1 or EnableCurePotion = 23453 if poisoned and timer "CurePotionTimer" > CurePotionCooldown3454 if findtype "Orange Potion" self as curepot3455 dclick curepot3456 wait 5003457 if insysmsg "Potion satchel used"3458 if EnableOverheadMessages = 1 3459 overhead "*drinking free cure potion...*" 443460 endif3461 clearsysmsg3462 else 3463 if EnableOverheadMessages = 1 3464 overhead "*drinking cure potion...*" 443465 endif3466 clearsysmsg3467 endif3468 settimer "CurePotionTimer" 03469 cooldown "Cure Potion" CurePotionCooldown3470 else3471 if timer "InventoryTimer" > 35003472 if EnableOverheadMessages != 0 3473 overhead "[ NO CURE POTS! ]" 3373474 endif3475 settimer "InventoryTimer" 03476 endif3477 endif3478 wait 500 3479 endif3480 endif 3481 3482 if EnableCastHeal = 13483 if skill "Magery" >= 50 and diffhits > CastHealHPlowdiff and diffhits < CastHealHPhighdiff and mana >= 43484 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook3485 getlabel myspellbook SpellbookLabel3486 for 53487 wait 2503488 if "aspect" in SpellbookLabel3489 break3490 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 3491 @ignore myspellbook 3492 wait 2503493 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3494 getlabel myspellbook SpellbookLabel3495 else3496 if EnableOverheadMessages != 0 3497 overhead "[ NO SPELLBOOK! ]" 3373498 endif 3499 break3500 endif3501 endif 3502 endfor3503 dclick myspellbook3504 wait 5003505 endif3506 cast "Heal"3507 wait 1003508 while not casting 3509 if targetexists3510 hotkey "cancel current target"3511 endif3512 cast "Heal"3513 wait 1003514 endwhile 3515 wft 15003516 target "self" 3517 wait 250 3518 elseif skill "Magery" >= 60 and diffhits > CastHealHPhighdiff and mana >= 113519 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook3520 getlabel myspellbook SpellbookLabel3521 for 53522 wait 2503523 if "aspect" in SpellbookLabel3524 break3525 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 3526 @ignore myspellbook 3527 wait 2503528 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3529 getlabel myspellbook SpellbookLabel3530 else3531 if EnableOverheadMessages != 0 3532 overhead "[ NO SPELLBOOK! ]" 3373533 endif 3534 break3535 endif3536 endif 3537 endfor3538 dclick myspellbook3539 wait 5003540 endif3541 cast "Greater Heal"3542 wait 1003543 while not casting 3544 if targetexists3545 hotkey "cancel current target"3546 endif3547 cast "Greater Heal"3548 wait 1003549 endwhile 3550 wft 15003551 target "self" 3552 wait 250 3553 endif3554 endif 3555 3556 if EnableCastCure = 13557 if poisoned and skill "Magery" >= 40 and mana >= 63558 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook3559 getlabel myspellbook SpellbookLabel3560 for 53561 wait 2503562 if "aspect" in SpellbookLabel3563 break3564 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 3565 @ignore myspellbook 3566 wait 2503567 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3568 getlabel myspellbook SpellbookLabel3569 else3570 if EnableOverheadMessages != 0 3571 overhead "[ NO SPELLBOOK! ]" 3373572 endif 3573 break3574 endif3575 endif 3576 endfor3577 dclick myspellbook3578 wait 5003579 endif3580 cast "Cure"3581 wait 1003582 while not casting 3583 if targetexists3584 hotkey "cancel current target"3585 endif3586 cast "Cure" 3587 wait 1003588 endwhile 3589 wft 15003590 target "self" 3591 wait 250 3592 endif 3593 endif3594 3595 if EnableRefreshPotion = 1 or EnableRefreshPotion = 23596 if diffstam >= RefreshPotSPdiff and timer "RefreshPotionTimer" > RefreshPotionCooldown3597 if findtype "Red Potion" self as refreshpot3598 dclick refreshpot3599 wait 5003600 if insysmsg "Potion satchel used"3601 if EnableOverheadMessages = 1 3602 overhead "*drinking free refresh potion...*" 343603 endif3604 clearsysmsg3605 else 3606 if EnableOverheadMessages = 1 3607 overhead "*drinking refresh potion...*" 343608 endif3609 clearsysmsg3610 endif3611 settimer "RefreshPotionTimer" 03612 cooldown "Refresh Potion" RefreshPotionCooldown3613 else 3614 if timer "InventoryTimer" > 60003615 if EnableOverheadMessages != 0 3616 overhead "[ NO REFRESH POTS! ]" 3373617 endif3618 settimer "InventoryTimer" 03619 endif3620 endif3621 wait 500 3622 endif3623 endif 3624 3625 if EnableMagicResistPotion = 13626 if not findbuff "Magic Resist Potion"3627 if findtype "Black Potion" self as magicresistpot3628 dclick magicresistpot3629 wait 5003630 if EnableOverheadMessages = 1 3631 if insysmsg "Potion satchel used" 3632 overhead "*drinking free resist potion*" 24063633 clearsysmsg3634 else 3635 overhead "*drinking resist potion*" 24063636 clearsysmsg3637 endif3638 endif 3639 else 3640 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 03641 overhead "[ NO RESIST POTS! ]" 3373642 settimer "InventoryTimer" 03643 endif3644 endif3645 wait 5003646 endif3647 endif3648 3649 if EnableStrengthPotion = 1 3650 if skill "Alchemy" = 1 3651 if insysmsg "You may now use a strength" or not findbuff "Strength"3652 if findtype "White Potion" self as strengthpot3653 dclick strengthpot3654 wait 5003655 if EnableOverheadMessages = 1 3656 if insysmsg "Potion satchel used" 3657 overhead "*drinking free strength potion*" 9563658 clearsysmsg3659 else 3660 overhead "*drinking strength potion*" 9563661 clearsysmsg3662 endif3663 endif3664 else 3665 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 3666 overhead "[ NO STRENGTH POTS! ]" 3373667 settimer "InventoryTimer" 03668 endif3669 endif3670 wait 5003671 endif3672 elseif not findbuff "Strength"3673 if findtype "White Potion" self as strengthpot3674 dclick strengthpot3675 wait 5003676 if EnableOverheadMessages = 1 3677 if insysmsg "Potion satchel used" 3678 overhead "*drinking free strength potion*" 9563679 clearsysmsg3680 else 3681 overhead "*drinking strength potion*" 9563682 clearsysmsg3683 endif3684 endif3685 else 3686 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 3687 overhead "[ NO STRENGTH POTS! ]" 3373688 settimer "InventoryTimer" 03689 endif3690 endif3691 wait 5003692 endif3693 endif3694 3695 if EnableAgilityPotion = 13696 if not findbuff "Agility"3697 if findtype "Blue Potion" self as agilitypot3698 dclick agilitypot3699 wait 5003700 if EnableOverheadMessages = 1 3701 if insysmsg "Potion satchel used" 3702 overhead "*drinking free agility potion*" 933703 clearsysmsg3704 else 3705 overhead "*drinking agility potion*" 933706 clearsysmsg3707 endif3708 endif3709 else 3710 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 3711 overhead "[ NO AGILITY POTS! ]" 3373712 settimer "InventoryTimer" 03713 endif3714 endif3715 wait 5003716 endif3717 endif3718 3719 if EnableMagicReflection = 1 3720 if skill "Magery" >= 60 and not findbuff "Magic Reflection" and mana > 14 and TimeToGo != 1 and timer "MagicReflect" > 300003721 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook and skill "Magery" >= 803722 getlabel myspellbook SpellbookLabel3723 for 53724 wait 2503725 if "aspect" in SpellbookLabel3726 break3727 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 3728 @ignore myspellbook 3729 wait 2503730 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3731 getlabel myspellbook SpellbookLabel3732 else 3733 if EnableOverheadMessages != 03734 overhead "[ NO SPELLBOOK! ]" 3373735 endif 3736 break3737 endif3738 endif 3739 endfor3740 dclick myspellbook3741 wait 5003742 endif3743 for 103744 cast "Magic Reflection" 3745 waitfortarget 15003746 hotkey "Target Self"3747 wait 10003748 if insysmsg "will not adhere"3749 settimer "MagicReflect" 03750 if EnableOverheadMessages = 13751 overhead "Too soon for a new shield. Give me a sec..." 20863752 endif3753 replay3754 endif 3755 wait 10003756 if not findbuff "Magic Reflection"3757 wait 10003758 if EnableOverheadMessages = 13759 overhead "Let me try that again..." 20863760 endif3761 wait 10003762 else3763 break3764 endif 3765 endfor 3766 wait 15003767 replay3768 endif 3769 endif3770 3771 if EnableReactiveArmour = 1 3772 if skill "Magery" >= 60 and not findbuff "Reactive Armor" and mana >= 4 and TimeToGo != 1 and timer "MagicArmor" > 300003773 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook and skill "Magery" >= 80 3774 getlabel myspellbook SpellbookLabel3775 for 53776 wait 2503777 if "aspect" in SpellbookLabel3778 break3779 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 3780 @ignore myspellbook 3781 wait 2503782 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3783 getlabel myspellbook SpellbookLabel3784 else 3785 if EnableOverheadMessages != 0 3786 overhead "[ NO SPELLBOOK! ]" 3373787 endif 3788 break3789 endif3790 endif 3791 endfor3792 dclick myspellbook3793 wait 5003794 endif3795 for 103796 cast "Reactive Armor" 3797 waitfortarget 15003798 hotkey "Target Self"3799 wait 10003800 if insysmsg "That spell will not adhere"3801 settimer "MagicArmor" 03802 if EnableOverheadMessages = 13803 overhead "Too soon for a new magic armor. Give me a sec..." 20863804 endif3805 replay3806 endif 3807 wait 10003808 if not findbuff "Reactive Armor"3809 wait 5003810 if EnableOverheadMessages = 13811 overhead "Let me try that again..." 20863812 endif 3813 wait 5003814 else3815 break3816 endif 3817 endfor 3818 wait 10003819 replay3820 endif 3821 endif3822 3823 if skill "Magery" >= 80 and skill "Spirit Speak" >= 80 and EnableSummons = 1 and TotalFollowerCount > 0 3824 if followers = 03825 @setvar! NeedtoSummon 13826 elseif followers = 1 and TotalFollowerCount > 03827 @setvar! NeedtoSummon 1 3828 elseif followers = 2 and TotalFollowerCount = 13829 @setvar! NeedtoSummon 0 3830 elseif followers = 2 and TotalFollowerCount = 23831 @setvar! NeedtoSummon 13832 elseif followers = 2 and TotalFollowerCount = 33833 @setvar! NeedtoSummon 13834 elseif followers = 2 and TotalFollowerCount = 43835 @setvar! NeedtoSummon 1 3836 elseif followers = 3 and TotalFollowerCount = 13837 @setvar! NeedtoSummon 0 3838 elseif followers = 3 and TotalFollowerCount = 23839 @setvar! NeedtoSummon 03840 elseif followers = 3 and TotalFollowerCount = 33841 @setvar! NeedtoSummon 13842 elseif followers = 3 and TotalFollowerCount = 43843 @setvar! NeedtoSummon 1 3844 elseif followers = 4 and TotalFollowerCount = 13845 @setvar! NeedtoSummon 0 3846 elseif followers = 4 and TotalFollowerCount = 23847 @setvar! NeedtoSummon 03848 elseif followers = 4 and TotalFollowerCount = 33849 @setvar! NeedtoSummon 03850 elseif followers = 4 and TotalFollowerCount = 43851 @setvar! NeedtoSummon 1 3852 elseif followers = 53853 @setvar! NeedtoSummon 03854 endif 3855 3856 wait 250 3857 3858 if NeedtoSummon = 1 3859 if not varexist myMainTankPet3860 @setvar! myMainTankPet 03861 endif3862 3863 if not varexist fireOne3864 @setvar! fireOne 03865 endif 3866 3867 if not varexist fireTwo3868 @setvar! fireTwo 03869 endif3870 3871 if not varexist earthOne3872 @setvar! earthOne 03873 endif3874 3875 if not varexist earthTwo3876 @setvar! earthTwo 03877 endif3878 3879 if not varexist demonOne3880 @setvar! demonOne 03881 endif3882 3883 if not varexist demonTwo3884 @setvar! demonTwo 03885 endif3886 3887 if not varexist airOne3888 @setvar! airOne 03889 endif3890 3891 if not varexist airTwo3892 @setvar! airTwo 03893 endif3894 3895 if not varexist waterOne3896 @setvar! waterOne 03897 endif3898 3899 if not varexist waterTwo3900 @setvar! waterTwo 03901 endif 3902 3903 if dead myMainTankPet3904 if not dead earthOne3905 @setvar! myMainTankPet earthOne3906 elseif not dead earthTwo3907 @setvar! myMainTankPet earthTwo3908 elseif not dead waterOne3909 @setvar! myMainTankPet waterOne3910 elseif not dead waterTwo3911 @setvar! myMainTankPet waterTwo3912 elseif not dead demonOne3913 @setvar! myMainTankPet demonOne3914 elseif not dead demonTwo3915 @setvar! myMainTankPet demonTwo3916 elseif not dead fireOne3917 @setvar! myMainTankPet fireOne3918 elseif not dead fireTwo3919 @setvar! myMainTankPet fireTwo3920 elseif not dead airOne3921 @setvar! myMainTankPet airOne3922 elseif not dead airTwo3923 @setvar! myMainTankPet airTwo3924 endif3925 endif3926 3927 removelist summonList3928 createlist summonList3929 if EnableOverheadMessages != 0 3930 overhead "*summoning a bodyguard...*" 6 3931 endif 3932 wait 5003933 3934 if followers <= 13935 if EnableOverheadMessages = 13936 overhead "I call upon the power of the elements..." 20863937 endif 3938 wait 5003939 endif 3940 3941 if SummonEarthElemental > 03942 if dead earthOne or not find earthOne ground -1 -1 18 3943 pushlist summonList "Earth Elemental"3944 @setvar! earthOne 13945 @setvar! NameEarth 13946 @setvar! NameFire 03947 @setvar! NameDemon 03948 @setvar! NameAir 03949 @setvar! NameWater 03950 endif3951 if SummonEarthElemental > 13952 if dead earthTwo or not find earthTwo ground -1 -1 183953 pushlist summonList "Earth Elemental"3954 @setvar! earthTwo 13955 @setvar! NameEarth 13956 @setvar! NameFire 03957 @setvar! NameDemon 03958 @setvar! NameAir 03959 @setvar! NameWater 03960 endif3961 endif3962 endif3963 3964 if SummonFireElemental > 03965 if dead fireOne or not find fireOne ground -1 -1 18 3966 pushlist summonList "Fire Elemental"3967 @setvar! fireOne 13968 @setvar! NameEarth 03969 @setvar! NameFire 13970 @setvar! NameDemon 03971 @setvar! NameAir 03972 @setvar! NameWater 03973 endif3974 if SummonFireElemental > 13975 if dead fireTwo or not find fireTwo ground -1 -1 183976 pushlist summonList "Fire Elemental"3977 @setvar! fireTwo 13978 @setvar! NameEarth 03979 @setvar! NameFire 13980 @setvar! NameDemon 03981 @setvar! NameAir 03982 @setvar! NameWater 03983 endif3984 endif3985 endif3986 3987 if SummonDemon > 03988 if dead demonOne or not find demonOne ground -1 -1 183989 pushlist summonList "Summon Daemon"3990 @setvar! demonOne 13991 @setvar! NameEarth 03992 @setvar! NameFire 03993 @setvar! NameDemon 13994 @setvar! NameAir 03995 @setvar! NameWater 03996 endif3997 if SummonDemon > 13998 if dead demonTwo or not find demonTwo ground -1 -1 183999 pushlist summonList "Summon Daemon"4000 @setvar! demonTwo 14001 @setvar! NameEarth 04002 @setvar! NameFire 04003 @setvar! NameDemon 14004 @setvar! NameAir 04005 @setvar! NameWater 04006 endif4007 endif4008 endif4009 4010 if SummonAirElemental > 04011 if dead airOne or not find airOne ground -1 -1 184012 pushlist summonList "Air Elemental"4013 @setvar! airOne 14014 @setvar! NameEarth 04015 @setvar! NameFire 04016 @setvar! NameDemon 04017 @setvar! NameAir 14018 @setvar! NameWater 04019 endif4020 if SummonAirElemental > 14021 if dead airTwo or not find airTwo ground -1 -1 184022 pushlist summonList "Air Elemental"4023 @setvar! airTwo 14024 @setvar! NameEarth 04025 @setvar! NameFire 04026 @setvar! NameDemon 04027 @setvar! NameAir 14028 @setvar! NameWater 04029 endif4030 endif4031 endif4032 4033 if SummonWaterElemental > 04034 if dead waterOne or not find waterOne ground -1 -1 184035 pushlist summonList "Water Elemental"4036 @setvar! waterOne 14037 @setvar! NameEarth 04038 @setvar! NameFire 04039 @setvar! NameDemon 04040 @setvar! NameAir 04041 @setvar! NameWater 14042 endif4043 if SummonWaterElemental > 14044 if dead waterTwo or not find waterTwo ground -1 -1 184045 pushlist summonList "Water Elemental"4046 @setvar! waterTwo 14047 @setvar! NameEarth 04048 @setvar! NameFire 04049 @setvar! NameDemon 04050 @setvar! NameAir 04051 @setvar! NameWater 14052 endif4053 endif4054 endif 4055 4056 settimer "ManaTimer" 100004057 4058 foreach summon in summonList4059 4060 while diffmana > 504061 while not findbuff "Actively Meditating" and timer "ManaTimer" > 100004062 useskill "meditation"4063 if EnableOverheadMessages != 0 4064 overhead "*meditating...*" 104065 endif4066 settimer "ManaTimer" 04067 endwhile4068 4069 if diffhits >= 304070 replay4071 endif4072 4073 if insysmsg "Now tracking"4074 replay4075 endif4076 4077 if warmode4078 hotkey 'Toggle Peace Only' 4079 replay4080 endif 4081 4082 wait 5004083 endwhile 4084 4085 if skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook4086 getlabel myspellbook SpellbookLabel4087 for 54088 wait 2504089 if "aspect" in SpellbookLabel4090 break4091 elseif "unidentified|[blessed|spells)" in SpellbookLabel4092 @ignore myspellbook 4093 wait 2504094 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook4095 getlabel myspellbook SpellbookLabel4096 else 4097 if EnableOverheadMessages != 0 4098 overhead "[ NO SPELLBOOK! ]" 3374099 endif 4100 break4101 endif4102 endif 4103 endfor4104 dclick myspellbook4105 endif 4106 4107 cast summon4108 wait 5004109 4110 if EnableOverheadMessages = 14111 if SummonName = 2 4112 overhead "I summon thee, Protector of Harvesters!" 20864113 elseif SummonName = 34114 overhead "I require another protector!" 20864115 elseif SummonName = 44116 overhead "There is still room in the back!" 20864117 else4118 overhead "Send me a worthy protector!" 20864119 endif 4120 endif 4121 4122 while casting 4123 wait 1004124 if diffhits >= 304125 if EnableOverheadMessages = 14126 overhead "Hang on, I need a heal!" 20864127 wait 5004128 endif 4129 hotkey "> Interrupt"4130 replay4131 endif4132 endwhile4133 4134 if targetexists 4135 hotkey "Target Self"4136 wait 2504137 endif 4138 4139 @setvar! myFreshlySummonedPet 0 4140 wait 500 4141 4142 if summon = "Earth Elemental" and findtype 14 ground -1 -1 2 as myPet4143 for 54144 if findtype 14 ground -1 -1 2 as myPet4145 getlabel myPet myPetLabel4146 if "earth elemental" in myPetLabel4147 @setvar! myFreshlySummonedPet myPet4148 break4149 else 4150 @ignore myPet4151 endif 4152 endif 4153 endfor4154 4155 if earthOne = 14156 @setvar! earthOne myPet4157 elseif earthTwo = 14158 @setvar! earthTwo myPet4159 endif4160 elseif summon = "Fire Elemental" and findtype 15 ground -1 -1 2 as myPet 4161 for 54162 if findtype 15 ground -1 -1 2 as myPet4163 getlabel myPet myPetLabel4164 if "fire elemental" in myPetLabel4165 @setvar! myFreshlySummonedPet myPet4166 break4167 else 4168 @ignore myPet4169 endif 4170 endif 4171 endfor 4172 4173 if fireOne = 14174 @setvar! fireOne myPet4175 elseif fireTwo = 14176 @setvar! fireTwo myPet4177 endif4178 elseif summon = "Summon Daemon" and findtype 9 ground -1 -1 2 as myPet4179 for 54180 if findtype 9 ground -1 -1 2 as myPet4181 getlabel myPet myPetLabel4182 if "daemon" in myPetLabel4183 @setvar! myFreshlySummonedPet myPet4184 break4185 else 4186 @ignore myPet4187 endif 4188 endif 4189 endfor4190 4191 if demonOne = 14192 @setvar! demonOne myPet4193 elseif demonTwo = 14194 @setvar! demonTwo myPet4195 endif4196 elseif summon = "Water Elemental" and findtype 16 ground -1 -1 2 as myPet4197 for 54198 if findtype 16 ground -1 -1 2 as myPet4199 getlabel myPet myPetLabel4200 if "water elemental" in myPetLabel4201 @setvar! myFreshlySummonedPet myPet4202 break4203 else 4204 @ignore myPet4205 endif 4206 endif 4207 endfor4208 4209 if waterOne = 14210 @setvar! waterOne myPet4211 elseif waterTwo = 14212 @setvar! waterTwo myPet4213 endif4214 elseif summon = "Air Elemental" and findtype 13 ground -1 -1 2 as myPet4215 for 54216 if findtype 13 ground -1 -1 2 as myPet4217 getlabel myPet myPetLabel4218 if "air elemental" in myPetLabel4219 @setvar! myFreshlySummonedPet myPet4220 break4221 else 4222 @ignore myPet4223 endif 4224 endif 4225 endfor4226 4227 if airOne = 14228 @setvar! airOne myPet4229 elseif airTwo = 14230 @setvar! airTwo myPet4231 endif4232 endif 4233 4234 if myFreshlySummonedPet = 04235 if EnableOverheadMessages = 14236 overhead "I cannot see my elemental..." 20864237 endif4238 wait 5004239 break4240 endif 4241 4242 if NameSummonedPets = 04243 wait 20004244 if EnableOverheadMessages = 14245 overhead "{{summon}} will protect you now...." 1909 myFreshlySummonedPet4246 endif4247 menu myFreshlySummonedPet 34248 @ignore myFreshlySummonedPet 4249 wait 5004250 poplist summonList "front"4251 break 4252 elseif NameSummonedPets = 14253 for 24254 if SummonName = 14255 if EnableOverheadMessages = 14256 wait 15004257 overhead "What is your name, minion?" 2086 4258 wait 5004259 endif4260 if NameFire = 1 or NameFire = 2 and list FireEleNamesList > 04261 foreach myEleName in FireEleNamesList 4262 rename myFreshlySummonedPet myEleName4263 wait 5004264 if insysmsg "That name is unacceptable"4265 sysmsg "Unable to name summon: {{myEleName}}" 344266 clearsysmsg 4267 poplist FireEleNamesList "front"4268 wait 5004269 else 4270 break4271 endif4272 endfor4273 if EnableOverheadMessages = 14274 wait 5004275 overhead "You may call me {{myEleName}}, Master." 1909 myFreshlySummonedPet4276 wait 25004277 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4278 wait 10004279 overhead "Thank you, {{myEleName}}" 20864280 wait 5004281 endif 4282 elseif NameDemon = 1 or NameDemon = 2 and list DemonNamesList > 04283 foreach myEleName in DemonNamesList 4284 rename myFreshlySummonedPet myEleName4285 wait 5004286 if insysmsg "That name is unacceptable"4287 sysmsg "Unable to name summon: {{myEleName}}" 344288 clearsysmsg 4289 poplist DemonNamesList "front"4290 wait 5004291 else 4292 break4293 endif4294 endfor 4295 if EnableOverheadMessages = 1 4296 wait 5004297 overhead "You may call me {{myEleName}}, Master." 1909 myFreshlySummonedPet4298 wait 25004299 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4300 wait 10004301 overhead "Thank you, {{myEleName}}" 20864302 wait 5004303 endif 4304 elseif NameAir = 1 or NameAir = 2 and list AirEleNamesList > 04305 foreach myEleName in AirEleNamesList 4306 rename myFreshlySummonedPet myEleName4307 wait 2504308 if insysmsg "That name is unacceptable"4309 sysmsg "Unable to name summon: {{myEleName}}" 344310 clearsysmsg 4311 poplist AirEleNamesList "front"4312 wait 5004313 else 4314 break4315 endif4316 endfor 4317 if EnableOverheadMessages = 1 4318 wait 5004319 overhead "You may call me {{myEleName}}, Master." 1909 myFreshlySummonedPet4320 wait 25004321 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4322 wait 10004323 overhead "Thank you, {{myEleName}}" 20864324 wait 5004325 endif 4326 elseif NameWater = 1 or NameWater = 2 and list WaterEleNamesList > 0 4327 foreach myEleName in WaterEleNamesList 4328 rename myFreshlySummonedPet myEleName4329 wait 2504330 if insysmsg "That name is unacceptable"4331 sysmsg "Unable to name summon: {{myEleName}}" 344332 clearsysmsg 4333 poplist WaterEleNamesList "front"4334 wait 5004335 else 4336 break4337 endif4338 endfor 4339 4340 if EnableOverheadMessages = 14341 wait 5004342 overhead "You may call me {{myEleName}}, Master." 1909 myFreshlySummonedPet4343 wait 25004344 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4345 wait 2504346 wait 10004347 overhead "Thank you, {{myEleName}}" 20864348 wait 5004349 endif 4350 elseif NameEarth = 1 or NameEarth = 2 and list EarthEleNamesList > 0 4351 foreach myEleName in EarthEleNamesList 4352 rename myFreshlySummonedPet myEleName4353 wait 2504354 if insysmsg "That name is unacceptable"4355 sysmsg "Unable to name summon: {{myEleName}}" 344356 clearsysmsg 4357 poplist EarthEleNamesList "front"4358 wait 5004359 else 4360 break4361 endif4362 endfor 4363 4364 if EnableOverheadMessages = 14365 wait 5004366 overhead "You may call me {{myEleName}}, Master." 1909 myFreshlySummonedPet4367 wait 25004368 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4369 wait 10004370 overhead "Thank you, {{myEleName}}" 20864371 wait 5004372 endif 4373 endif 4374 4375 @setvar! NameOne EleName4376 menu myFreshlySummonedPet 34377 @ignore myFreshlySummonedPet 4378 4379 if followers = 04380 @setvar! NeedtoSummon 14381 elseif followers = 1 and TotalFollowerCount > 04382 @setvar! NeedtoSummon 1 4383 elseif followers = 2 and TotalFollowerCount = 14384 @setvar! NeedtoSummon 0 4385 @setvar! SummonName 14386 elseif followers = 2 and TotalFollowerCount = 24387 @setvar! NeedtoSummon 14388 elseif followers = 2 and TotalFollowerCount = 34389 @setvar! NeedtoSummon 14390 elseif followers = 2 and TotalFollowerCount = 44391 @setvar! NeedtoSummon 1 4392 elseif followers = 3 and TotalFollowerCount = 14393 @setvar! NeedtoSummon 0 4394 @setvar! SummonName 14395 elseif followers = 3 and TotalFollowerCount = 24396 @setvar! NeedtoSummon 04397 @setvar! SummonName 14398 elseif followers = 3 and TotalFollowerCount = 34399 @setvar! NeedtoSummon 14400 elseif followers = 3 and TotalFollowerCount = 44401 @setvar! NeedtoSummon 1 4402 elseif followers = 4 and TotalFollowerCount = 14403 @setvar! NeedtoSummon 0 4404 @setvar! SummonName 14405 elseif followers = 4 and TotalFollowerCount = 24406 @setvar! NeedtoSummon 04407 @setvar! SummonName 14408 elseif followers = 4 and TotalFollowerCount = 34409 @setvar! NeedtoSummon 04410 @setvar! SummonName 14411 elseif followers = 4 and TotalFollowerCount = 44412 @setvar! NeedtoSummon 1 4413 elseif followers = 54414 @setvar! NeedtoSummon 04415 @setvar! SummonName 14416 endif 4417 4418 if NameFire = 14419 poplist FireEleNamesList front4420 elseif NameDemon = 14421 poplist DemonNamesList front4422 elseif NameAir = 14423 poplist AirEleNamesList front4424 elseif NameWater = 14425 poplist WaterEleNamesList front4426 elseif NameEarth = 14427 poplist EarthEleNamesList front4428 endif 4429 4430 if NeedtoSummon = 04431 @setvar! SummonName 14432 wait 5004433 if EnableOverheadMessages = 14434 overhead "Lets get going..." 20864435 wait 5004436 endif4437 elseif NeedtoSummon = 14438 if EnableOverheadMessages = 14439 wait 10004440 overhead "...but you are going to need some more help!" 20864441 endif4442 @setvar! SummonName 24443 @ignore myFreshlySummonedPet4444 wait 5004445 else 4446 break4447 endif4448 break 4449 elseif SummonName = 24450 if EnableOverheadMessages = 14451 wait 15004452 overhead "Welcome.. and your name is?" 20864453 wait 5004454 endif 4455 if NameFire = 1 and list FireEleNamesList > 04456 foreach myEleName in FireEleNamesList 4457 wait 5004458 rename myFreshlySummonedPet myEleName4459 wait 5004460 if insysmsg "That name is unacceptable"4461 sysmsg "Unable to name summon: {{myEleName}}" 344462 clearsysmsg 4463 poplist FireEleNamesList "front"4464 wait 5004465 else 4466 break4467 endif4468 endfor4469 4470 if EnableOverheadMessages = 14471 wait 10004472 overhead "I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4473 wait 25004474 overhead "{{myEleName}} is yours to command..." 1909 myFreshlySummonedPet4475 endif 4476 wait 2504477 elseif NameDemon = 1 and list DemonNamesList > 04478 foreach myEleName in DemonNamesList 4479 rename myFreshlySummonedPet myEleName4480 wait 5004481 if insysmsg "That name is unacceptable"4482 sysmsg "Unable to name summon: {{myEleName}}" 344483 clearsysmsg 4484 poplist DemonNamesList "front"4485 wait 5004486 else 4487 break4488 endif4489 endfor 4490 4491 if EnableOverheadMessages = 1 4492 wait 10004493 overhead "I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4494 wait 25004495 overhead "{{myEleName}} is yours to command..." 1909 myFreshlySummonedPet4496 endif 4497 wait 2504498 elseif NameAir = 1 and list AirEleNamesList > 04499 foreach myEleName in AirEleNamesList 4500 rename myFreshlySummonedPet myEleName4501 wait 2504502 if insysmsg "That name is unacceptable"4503 sysmsg "Unable to name summon: {{myEleName}}" 344504 clearsysmsg 4505 poplist AirEleNamesList "front"4506 wait 5004507 else 4508 break4509 endif4510 endfor 4511 4512 if EnableOverheadMessages = 1 4513 wait 10004514 overhead "I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4515 wait 25004516 overhead "{{myEleName}} is yours to command..." 1909 myFreshlySummonedPet4517 endif 4518 wait 2504519 elseif NameWater = 1 and list WaterEleNamesList > 0 4520 foreach myEleName in WaterEleNamesList 4521 rename myFreshlySummonedPet myEleName4522 wait 2504523 if insysmsg "That name is unacceptable"4524 sysmsg "Unable to name summon: {{myEleName}}" 344525 clearsysmsg 4526 poplist WaterEleNamesList "front"4527 wait 5004528 else 4529 break4530 endif4531 endfor 4532 4533 if EnableOverheadMessages = 1 4534 wait 10004535 overhead "I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4536 wait 25004537 overhead "{{myEleName}} is yours to command..." 1909 myFreshlySummonedPet4538 endif4539 wait 2504540 elseif NameEarth = 1 and list EarthEleNamesList > 0 4541 foreach myEleName in EarthEleNamesList 4542 rename myFreshlySummonedPet myEleName4543 wait 2504544 if insysmsg "That name is unacceptable"4545 sysmsg "Unable to name summon: {{myEleName}}" 344546 clearsysmsg 4547 poplist EarthEleNamesList "front"4548 wait 5004549 else 4550 break4551 endif4552 endfor 4553 4554 if EnableOverheadMessages = 14555 wait 10004556 overhead "I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4557 wait 25004558 overhead "{{myEleName}} is yours to command..." 1909 myFreshlySummonedPet4559 endif4560 wait 2504561 endif 4562 4563 @setvar! NameTwo EleName4564 menu myFreshlySummonedPet 34565 @ignore myFreshlySummonedPet4566 4567 if NameFire = 14568 poplist FireEleNamesList front4569 elseif NameDemon = 14570 poplist DemonNamesList front4571 elseif NameAir = 14572 poplist AirEleNamesList front4573 elseif NameWater = 14574 poplist WaterEleNamesList front4575 elseif NameEarth = 14576 poplist EarthEleNamesList front4577 endif 4578 4579 if followers = 04580 @setvar! NeedtoSummon 14581 elseif followers = 1 and TotalFollowerCount > 04582 @setvar! NeedtoSummon 1 4583 elseif followers = 2 and TotalFollowerCount = 14584 @setvar! NeedtoSummon 0 4585 @setvar! SummonName 14586 elseif followers = 2 and TotalFollowerCount = 24587 @setvar! NeedtoSummon 14588 elseif followers = 2 and TotalFollowerCount = 34589 @setvar! NeedtoSummon 14590 elseif followers = 2 and TotalFollowerCount = 44591 @setvar! NeedtoSummon 14592 elseif followers = 3 and TotalFollowerCount = 14593 @setvar! NeedtoSummon 0 4594 @setvar! SummonName 14595 elseif followers = 3 and TotalFollowerCount = 24596 @setvar! NeedtoSummon 04597 @setvar! SummonName 14598 elseif followers = 3 and TotalFollowerCount = 34599 @setvar! NeedtoSummon 14600 elseif followers = 3 and TotalFollowerCount = 44601 @setvar! NeedtoSummon 14602 elseif followers = 4 and TotalFollowerCount = 14603 @setvar! NeedtoSummon 0 4604 @setvar! SummonName 14605 elseif followers = 4 and TotalFollowerCount = 24606 @setvar! NeedtoSummon 04607 @setvar! SummonName 14608 elseif followers = 4 and TotalFollowerCount = 34609 @setvar! NeedtoSummon 04610 @setvar! SummonName 14611 elseif followers = 4 and TotalFollowerCount = 44612 @setvar! NeedtoSummon 1 4613 elseif followers = 54614 @setvar! NeedtoSummon 04615 @setvar! SummonName 14616 endif 4617 4618 if NeedtoSummon = 04619 @setvar! SummonName 14620 if EnableOverheadMessages = 14621 wait 15004622 overhead "Alright team, lets do this!" 20864623 endif 4624 elseif NeedtoSummon = 14625 if EnableOverheadMessages = 14626 wait 5004627 overhead "Hmm... I think we should bring even more..."4628 endif 4629 4630 wait 5004631 @setvar! SummonName 34632 4633 if NameFire = 14634 poplist FireEleNamesList front4635 elseif NameDemon = 14636 poplist DemonNamesList front4637 elseif NameAir = 14638 poplist AirEleNamesList front4639 elseif NameWater = 14640 poplist WaterEleNamesList front4641 elseif NameEarth = 14642 poplist EarthEleNamesList front4643 endif 4644 else 4645 break4646 endif4647 break 4648 elseif SummonName = 34649 if EnableOverheadMessages = 14650 wait 15004651 overhead "Introduce yourself to the team..." 20864652 wait 5004653 endif4654 4655 if NameFire = 1 and list FireEleNamesList > 04656 foreach myEleName in FireEleNamesList 4657 rename myFreshlySummonedPet myEleName4658 wait 5004659 if insysmsg "That name is unacceptable"4660 sysmsg "Unable to name summon: {{myEleName}}" 344661 clearsysmsg 4662 poplist FireEleNamesList "front"4663 wait 5004664 else 4665 break4666 endif4667 endfor4668 4669 if EnableOverheadMessages = 14670 wait 10004671 overhead "{{myEleName}} is what they call me..." 1909 myFreshlySummonedPet4672 wait 20004673 overhead "{{myEleName}} will kill for you, my Lord." 1909 myFreshlySummonedPet4674 endif 4675 wait 2504676 elseif NameDemon = 1 and list DemonNamesList > 04677 foreach myEleName in DemonNamesList 4678 rename myFreshlySummonedPet myEleName4679 wait 5004680 if insysmsg "That name is unacceptable"4681 sysmsg "Unable to name summon: {{myEleName}}" 344682 clearsysmsg 4683 poplist DemonNamesList "front"4684 wait 5004685 else 4686 break4687 endif4688 endfor 4689 4690 if EnableOverheadMessages = 14691 wait 10004692 overhead "{{myEleName}} is what they call me..." 1909 myFreshlySummonedPet4693 wait 20004694 overhead "{{myEleName}} will kill for you, my Lord." 1909 myFreshlySummonedPet4695 endif 4696 wait 2504697 elseif NameAir = 1 and list AirEleNamesList > 04698 foreach myEleName in AirEleNamesList 4699 rename myFreshlySummonedPet myEleName4700 wait 2504701 if insysmsg "That name is unacceptable"4702 sysmsg "Unable to name summon: {{myEleName}}" 344703 clearsysmsg 4704 poplist AirEleNamesList "front"4705 wait 5004706 else 4707 break4708 endif4709 endfor 4710 4711 if EnableOverheadMessages = 1 4712 wait 10004713 overhead "{{myEleName}} is what they call me..." 1909 myFreshlySummonedPet4714 wait 20004715 overhead "{{myEleName}} will kill for you, my Lord." 1909 myFreshlySummonedPet4716 endif 4717 wait 2504718 elseif NameWater = 1 and list WaterEleNamesList > 0 4719 foreach myEleName in WaterEleNamesList 4720 rename myFreshlySummonedPet myEleName4721 wait 2504722 if insysmsg "That name is unacceptable"4723 sysmsg "Unable to name summon: {{myEleName}}" 344724 clearsysmsg 4725 poplist WaterEleNamesList "front"4726 wait 5004727 else 4728 break4729 endif4730 endfor 4731 4732 if EnableOverheadMessages = 14733 wait 10004734 overhead "{{myEleName}} is what they call me..." 1909 myFreshlySummonedPet4735 wait 20004736 overhead "{{myEleName}} will kill for you, my Lord." 1909 myFreshlySummonedPet4737 endif 4738 wait 2504739 elseif NameEarth = 1 and list EarthEleNamesList > 0 4740 foreach myEleName in EarthEleNamesList 4741 rename myFreshlySummonedPet myEleName4742 wait 2504743 if insysmsg "That name is unacceptable"4744 sysmsg "Unable to name summon: {{myEleName}}" 344745 clearsysmsg 4746 poplist EarthEleNamesList "front"4747 wait 5004748 else 4749 break4750 endif4751 endfor 4752 4753 if EnableOverheadMessages = 14754 wait 10004755 overhead "{{myEleName}} is what they call me..." 1909 myFreshlySummonedPet4756 wait 20004757 overhead "{{myEleName}} will kill for you, my Lord." 1909 myFreshlySummonedPet4758 endif4759 wait 2504760 endif 4761 4762 @setvar! NameThree EleName4763 menu myFreshlySummonedPet 34764 @ignore myFreshlySummonedPet4765 4766 if NameFire = 14767 poplist FireEleNamesList front4768 elseif NameDemon = 14769 poplist DemonNamesList front4770 elseif NameAir = 14771 poplist AirEleNamesList front4772 elseif NameWater = 14773 poplist WaterEleNamesList front4774 elseif NameEarth = 14775 poplist EarthEleNamesList front4776 endif 4777 4778 if followers = 04779 @setvar! NeedtoSummon 14780 elseif followers = 1 and TotalFollowerCount > 04781 @setvar! NeedtoSummon 1 4782 elseif followers = 2 and TotalFollowerCount = 14783 @setvar! NeedtoSummon 0 4784 @setvar! SummonName 14785 elseif followers = 2 and TotalFollowerCount = 24786 @setvar! NeedtoSummon 14787 elseif followers = 2 and TotalFollowerCount = 34788 @setvar! NeedtoSummon 14789 elseif followers = 2 and TotalFollowerCount = 44790 @setvar! NeedtoSummon 14791 elseif followers = 3 and TotalFollowerCount = 14792 @setvar! NeedtoSummon 0 4793 @setvar! SummonName 14794 elseif followers = 3 and TotalFollowerCount = 24795 @setvar! NeedtoSummon 04796 @setvar! SummonName 14797 elseif followers = 3 and TotalFollowerCount = 34798 @setvar! NeedtoSummon 14799 elseif followers = 3 and TotalFollowerCount = 44800 @setvar! NeedtoSummon 14801 elseif followers = 4 and TotalFollowerCount = 14802 @setvar! NeedtoSummon 0 4803 @setvar! SummonName 14804 elseif followers = 4 and TotalFollowerCount = 24805 @setvar! NeedtoSummon 04806 @setvar! SummonName 14807 elseif followers = 4 and TotalFollowerCount = 34808 @setvar! NeedtoSummon 04809 @setvar! SummonName 14810 elseif followers = 4 and TotalFollowerCount = 44811 @setvar! NeedtoSummon 1 4812 elseif followers = 54813 @setvar! NeedtoSummon 04814 @setvar! SummonName 14815 endif 4816 4817 if NeedtoSummon = 04818 @setvar! SummonName 14819 if EnableOverheadMessages = 14820 wait 15004821 overhead "Thats what I like to hear! Time to work..." 20864822 endif4823 elseif NeedtoSummon = 14824 @setvar! SummonName 44825 4826 if EnableOverheadMessages = 14827 wait 5004828 overhead "Hmm.. I think see room for one more...." 20864829 endif 4830 4831 wait 5004832 4833 if NameFire = 14834 poplist FireEleNamesList front4835 elseif NameDemon = 14836 poplist DemonNamesList front4837 elseif NameAir = 14838 poplist AirEleNamesList front4839 elseif NameWater = 14840 poplist WaterEleNamesList front4841 elseif NameEarth = 14842 poplist EarthEleNamesList front4843 endif 4844 else 4845 break4846 endif4847 break 4848 elseif SummonName = 44849 if EnableOverheadMessages = 14850 wait 15004851 overhead "Do you have a name?" 20864852 endif 4853 4854 wait 5004855 4856 if NameFire = 1 and list FireEleNamesList > 04857 foreach myEleName in FireEleNamesList 4858 rename myFreshlySummonedPet myEleName4859 wait 5004860 if insysmsg "That name is unacceptable"4861 sysmsg "Unable to name summon: {{myEleName}}" 344862 clearsysmsg 4863 poplist FireEleNamesList "front"4864 wait 5004865 else 4866 break4867 endif4868 endfor4869 4870 if EnableOverheadMessages = 14871 wait 10004872 overhead "Yes, I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4873 wait 20004874 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4875 endif 4876 wait 2504877 elseif NameDemon = 1 and list DemonNamesList > 04878 foreach myEleName in DemonNamesList 4879 rename myFreshlySummonedPet myEleName4880 wait 5004881 if insysmsg "That name is unacceptable"4882 sysmsg "Unable to name summon: {{myEleName}}" 344883 clearsysmsg 4884 poplist DemonNamesList "front"4885 wait 5004886 else 4887 break4888 endif4889 endfor 4890 4891 if EnableOverheadMessages = 1 4892 wait 10004893 overhead "Yes, I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4894 wait 20004895 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4896 endif 4897 wait 2504898 elseif NameAir = 1 and list AirEleNamesList > 04899 foreach myEleName in AirEleNamesList 4900 rename myFreshlySummonedPet myEleName4901 wait 2504902 if insysmsg "That name is unacceptable"4903 sysmsg "Unable to name summon: {{myEleName}}" 344904 clearsysmsg 4905 poplist AirEleNamesList "front"4906 wait 5004907 else 4908 break4909 endif4910 endfor 4911 4912 if EnableOverheadMessages = 14913 wait 10004914 overhead "Yes, I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4915 wait 20004916 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4917 endif 4918 wait 2504919 elseif NameWater = 1 and list WaterEleNamesList > 0 4920 foreach myEleName in WaterEleNamesList 4921 rename myFreshlySummonedPet myEleName4922 wait 2504923 if insysmsg "That name is unacceptable"4924 sysmsg "Unable to name summon: {{myEleName}}" 344925 clearsysmsg 4926 poplist WaterEleNamesList "front"4927 wait 5004928 else 4929 break4930 endif4931 endfor 4932 4933 if EnableOverheadMessages = 1 4934 wait 10004935 overhead "Yes, I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4936 wait 20004937 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4938 endif 4939 wait 2504940 elseif NameEarth = 1 and list EarthEleNamesList > 0 4941 foreach myEleName in EarthEleNamesList 4942 rename myFreshlySummonedPet myEleName4943 wait 2504944 if insysmsg "That name is unacceptable"4945 sysmsg "Unable to name summon: {{myEleName}}" 344946 clearsysmsg 4947 poplist EarthEleNamesList "front"4948 wait 5004949 else 4950 break4951 endif4952 endfor 4953 4954 if EnableOverheadMessages = 14955 wait 10004956 overhead "Yes, I am {{myEleName}}, Master." 1909 myFreshlySummonedPet4957 wait 20004958 overhead "{{myEleName}} will protect you now...." 1909 myFreshlySummonedPet4959 endif 4960 wait 2504961 endif 4962 4963 @setvar! NameFour EleName4964 menu myFreshlySummonedPet 34965 @ignore myFreshlySummonedPet4966 @setvar! SummonName 14967 4968 if NameFire = 14969 poplist FireEleNamesList front4970 elseif NameDemon = 14971 poplist DemonNamesList front4972 elseif NameAir = 14973 poplist AirEleNamesList front4974 elseif NameWater = 14975 poplist WaterEleNamesList front4976 elseif NameEarth = 14977 poplist EarthEleNamesList front4978 endif4979 4980 if EnableOverheadMessages = 1 4981 wait 15004982 overhead "Alright team, lets do this!" 20864983 endif4984 break4985 else 4986 @setvar! SummonName 14987 endif 4988 endfor 4989 endif 4990 4991 if followers = 04992 @setvar! NeedtoSummon 14993 elseif followers = 1 and TotalFollowerCount > 04994 @setvar! NeedtoSummon 1 4995 elseif followers = 2 and TotalFollowerCount = 14996 @setvar! NeedtoSummon 0 4997 @setvar! SummonName 14998 break4999 elseif followers = 2 and TotalFollowerCount = 25000 @setvar! NeedtoSummon 15001 elseif followers = 2 and TotalFollowerCount = 35002 @setvar! NeedtoSummon 15003 elseif followers = 2 and TotalFollowerCount = 45004 @setvar! NeedtoSummon 15005 elseif followers = 3 and TotalFollowerCount = 15006 @setvar! NeedtoSummon 0 5007 @setvar! SummonName 15008 break5009 elseif followers = 3 and TotalFollowerCount = 25010 @setvar! NeedtoSummon 05011 @setvar! SummonName 15012 break5013 elseif followers = 3 and TotalFollowerCount = 35014 @setvar! NeedtoSummon 15015 elseif followers = 3 and TotalFollowerCount = 45016 @setvar! NeedtoSummon 15017 elseif followers = 4 and TotalFollowerCount = 15018 @setvar! NeedtoSummon 0 5019 @setvar! SummonName 15020 break5021 elseif followers = 4 and TotalFollowerCount = 25022 @setvar! NeedtoSummon 05023 @setvar! SummonName 15024 break5025 elseif followers = 4 and TotalFollowerCount = 35026 @setvar! NeedtoSummon 05027 @setvar! SummonName 15028 break5029 elseif followers = 4 and TotalFollowerCount = 45030 @setvar! NeedtoSummon 1 5031 elseif followers = 55032 @setvar! NeedtoSummon 05033 @setvar! SummonName 15034 break5035 endif5036 endfor5037 replay5038 endif5039 endif5040 5041 if EnableSummons = 1 5042 if dead myMainTankPet5043 if not dead earthOne5044 @setvar! myMainTankPet earthOne5045 elseif not dead earthTwo5046 @setvar! myMainTankPet earthTwo5047 elseif not dead waterOne5048 @setvar! myMainTankPet waterOne5049 elseif not dead waterTwo5050 @setvar! myMainTankPet waterTwo5051 elseif not dead demonOne5052 @setvar! myMainTankPet demonOne5053 elseif not dead demonTwo5054 @setvar! myMainTankPet demonTwo5055 elseif not dead fireOne5056 @setvar! myMainTankPet fireOne5057 elseif not dead fireTwo5058 @setvar! myMainTankPet fireTwo5059 elseif not dead airOne5060 @setvar! myMainTankPet airOne5061 elseif not dead airTwo5062 @setvar! myMainTankPet airTwo5063 endif5064 else 5065 if timer "GuardCheckTimer" > 300005066 menu myMainTankPet 35067 settimer "GuardCheckTimer" 05068 endif 5069 5070 if EnableSummons = 1 and followers >= 1 and timer "GuardCommentTimer" > 420000 and EnableOverheadMessages = 15071 if GuardComment = 1 5072 overhead "I will keep watch, Master..." 44 myMainTankPet5073 menu myMainTankPet 35074 @setvar! GuardComment 25075 wait 5005076 settimer "GuardCommentTimer" 05077 elseif GuardComment = 25078 overhead "*looks around menacingly...*" 2117 myMainTankPet5079 menu myMainTankPet 35080 @setvar! GuardComment 35081 wait 5005082 settimer "GuardCommentTimer" 05083 elseif GuardComment = 35084 overhead "*cracks knuckles...*" 2117 myMainTankPet5085 menu myMainTankPet 35086 @setvar! GuardComment 45087 wait 5005088 settimer "GuardCommentTimer" 05089 elseif GuardComment = 45090 overhead "*scanning for threats...*" 2117 myMainTankPet5091 menu myMainTankPet 35092 wait 5005093 @setvar! GuardComment 55094 settimer "GuardCommentTimer" 05095 elseif GuardComment = 55096 overhead "*growls...*" 2117 myMainTankPet5097 menu myMainTankPet 35098 @setvar! GuardComment 65099 wait 5005100 settimer "GuardCommentTimer" 05101 elseif GuardComment = 65102 overhead "This is not very exciting, is it?" 44 myMainTankPet5103 menu myMainTankPet 35104 @setvar! GuardComment 75105 wait 5005106 settimer "GuardCommentTimer" 05107 elseif GuardComment = 75108 overhead "I think we have already passed that tree today..." 44 myMainTankPet5109 menu myMainTankPet 35110 @setvar! GuardComment 85111 wait 5005112 settimer "GuardCommentTimer" 05113 elseif GuardComment = 85114 overhead "Do you know any good jokes?" 44 myMainTankPet5115 menu myMainTankPet 35116 @setvar! GuardComment 95117 wait 15005118 overhead "Ever heard of a place called Nantucket?" 20865119 settimer "GuardCommentTimer" 05120 elseif GuardComment = 95121 overhead "Can I give that a try?" 44 myMainTankPet5122 menu myMainTankPet 35123 @setvar! GuardComment 105124 wait 15005125 overhead "Be my guest, big fella" 20865126 settimer "GuardCommentTimer" 05127 elseif GuardComment = 105128 overhead "I see a PK!! Oh... nope, just some dog shit..." 44 myMainTankPet5129 menu myMainTankPet 35130 @setvar! GuardComment 115131 wait 15005132 overhead "lol" 20865133 settimer "GuardCommentTimer" 05134 elseif GuardComment = 115135 overhead "*yawns*" 2117 myMainTankPet5136 overhead "What time is lunch break?" 44 myMainTankPet5137 menu myMainTankPet 35138 @setvar! GuardComment 125139 wait 15005140 overhead "We just started!" 20865141 settimer "GuardCommentTimer" 05142 elseif GuardComment = 125143 overhead "How about I do the harvesting and you be the bodyguard?" 44 myMainTankPet5144 menu myMainTankPet 35145 @setvar! GuardComment 15146 wait 15005147 overhead "Fine be me... I would settle for you carrying something, at least.." 20865148 settimer "GuardCommentTimer" 05149 else5150 overhead "*snarls...*" 2117 myMainTankPet5151 menu myMainTankPet 35152 @setvar! GuardComment 15153 endif5154 endif 5155 endif 5156 endif 5157 5158 if EnableMushroomMaker = 15159 if skill "Magery" >= 80 and counttype "mushroom" self = 05160 if EnableOverheadMessages = 15161 overhead "Hang on, I need to make some shrooms..." 20865162 wait 5005163 endif 5164 5165 if skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook5166 getlabel myspellbook SpellbookLabel5167 for 55168 wait 2505169 if "aspect" in SpellbookLabel5170 break5171 elseif "unidentified|[blessed|spells)" in SpellbookLabel5172 @ignore myspellbook 5173 wait 2505174 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook5175 getlabel myspellbook SpellbookLabel5176 else 5177 if EnableOverheadMessages != 05178 overhead "[ NO SPELLBOOK! ]" 3375179 endif5180 break5181 endif5182 endif 5183 endfor5184 dclick myspellbook5185 wait 5005186 endif5187 5188 for 1005189 if counttype "Ginseng" self > 0 and counttype "Garlic" self > 0 and counttype "Mandrake Root%s%" self > 0 and mana >= 45190 cast "create food"5191 wait 5005192 5193 while casting 5194 wait 1005195 endwhile5196 5197 if counttype "mushroom" self >= MakeMushroomAmount5198 break5199 else 5200 wait 5005201 endif5202 else5203 if EnableOverheadMessages = 15204 overhead "...I am out of regs!" 2086 5205 endif5206 @setvar! TimeToGo 15207 replay5208 endif 5209 endfor5210 5211 if EnableOverheadMessages = 15212 overhead "There, that's better!" 20865213 # '5214 wait 5005215 endif 5216 endif5217 endif 5218 5219 if EnableAutoCarving = 15220 if findtype "Elven SpellBlade" self 5221 if findtype "corpse" ground -1 -1 2 as deadbody5222 dclicktype "Elven Spellblade"5223 wft 10005224 targettype "Elven Spellblade"5225 if EnableOverheadMessages != 0 5226 overhead "*skinning corpse...*" 3395227 endif5228 wait 5005229 @ignore deadbody5230 endif5231 else5232 if timer "InventoryTimer" > 150005233 if EnableOverheadMessages = 1 5234 overhead "[ NO SKINNING KNIFE! ]" 3375235 sysmsg "Disable 'EnableAutoCarving' in script variables to turn off this overhead message!" 05236 endif5237 settimer "InventoryTimer" 05238 endif5239 endif5240 endif 5241 5242 if skill "Spirit Speak" >= 805243 if findtype "corpse" ground -1 -1 12 as spiritbatteries and timer "SpiritSpeak" > 105005244 useskill "spiritspeak"5245 @ignore spiritbatteries 5246 settimer "SpiritSpeak" 05247 wait 5005248 endif 5249 endif5250 5251 if EnableDropGoldWhenOverweight = 15252 while weight > maxweight 5253 if timer "InventoryTimer" > 40005254 overhead "[ OVERWEIGHT! ]" 37 5255 settimer "InventoryTimer" 05256 endif 5257 5258 if findtype "gold coin" backpack as easygo5259 lift easygo DropGoldAmount5260 droprelloc 0 05261 wait 5005262 if insysmsg "cannot drop anything"5263 drop backpack -1 -1 -15264 wait 5005265 endif5266 settimer "GoldVacuum" 05267 endif5268 endwhile 5269 endif 5270 5271 if EnableWeightWarningMessage = 1 5272 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 05273 overhead "[ WEIGHT WARNING... ]" 775274 settimer "WeightTimer" 05275 elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 05276 overhead "[ WEIGHT WARNING! ]" 1535277 settimer "WeightTimer" 05278 elseif diffweight < RedWeightLimitDiffWeight and timer "WeightTimer" > 50005279 if skill "Lumberjacking|Fishing|Lockpicking" >= 505280 overhead "[ WEIGHT LIMIT REACHED! ]" 375281 if EnableAutoWeightDungeonGate = 1 and DungeonMode = 15282 @setvar! TimeToGo 15283 hotkey "Toggle War Only"5284 replay5285 else5286 settimer "WeightTimer" 05287 wait 15005288 stop5289 endif5290 elseif skill 'Mining' >= 505291 overhead "[ WEIGHT LIMIT REACHED! ]" 375292 settimer "WeightTimer" 05293 wait 15005294 sysmsg "Find a forge in order to continue..." 05295 replay5296 endif5297 endif 5298 endif5299 5300 if EnableGoldVacuum = 15301 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 35005302 if EnableOverheadMessages = 15303 overhead "[ $ ]" 149 droppedmoney5304 endif 5305 overhead "�" 149 droppedmoney5306 settimer "GoldRadar" 05307 endif5308 while findtype "gold coin" ground -1 -1 2 as finderskeepers 5309 overhead " � " 1495310 hotkey "Grab Item"5311 wft 25005312 target finderskeepers5313 wait 5005314 if insysmsg "Invalid or inaccessible item"5315 wait 5005316 @ignore finderskeepers5317 endif 5318 endwhile 5319 endif 5320 5321 if EnableToolCountdown = 15322 if findtype "pickaxe|hatchet" hand as MyAxe5323 getlabel MyAxe AxeLabel5324 if "(5 uses|(4 uses|(3 uses|2 uses|1 use" in AxeLabel5325 if EnableRecycleTool = 05326 sysmsg "YOUR TOOL IS ABOUT TO BREAK....." 1535327 elseif EnableRecycleTool = 15328 sysmsg "YOUR TOOL IS ABOUT TO BE RECYCLED....." 935329 endif 5330 endif 5331 endif 5332 endif5333 5334 if EnableRecycleTool = 15335 if not findtype "tool kit" self and timer "InventoryTimer" > 15000 5336 if EnableOverheadMessages != 0 5337 overhead "[ NO TOOL KIT ]" 3375338 sysmsg "Disable 'EnableRecycleTool' in script variables to turn off this overhead message!" 05339 endif 5340 settimer "InventoryTimer" 05341 elseif findtype "tool kit" self as ToolKit5342 if findtype "pickaxe|hatchet" hand as MyAxe5343 getlabel MyAxe AxeLabel5344 if "(3 use|(2 use" in AxeLabel5345 if EnableOverheadMessages != 05346 overhead "*recycling tool...*" 935347 endif 5348 clearhands both5349 wait 2505350 if not gumpexists 949095101 5351 dclick ToolKit5352 waitforgump 949095101 20005353 endif 5354 for 55355 gumpresponse 3 9490951015356 wait 2505357 if insysmsg "Target an individual item"5358 target MyAxe5359 wait 2505360 gumpclose 9490951015361 wait 5005362 if EnableOverheadMessages = 15363 wait 5005364 overhead "Every little bit counts..." 20865365 endif 5366 if SetIngotBagtoOrganizer03 = 15367 hotkey "Organizer Agent-03" 5368 endif 5369 replay5370 else5371 gumpresponse 25372 wait 2505373 endif5374 endfor 5375 endif 5376 endif 5377 endif5378 endif 5379 5380 if insysmsg "As the owner" or insysmsg "Your house and its contents"5381 wait 10005382 if find MyDoor ground -1 -1 2 and CloseMyDoor = 15383 if EnableOverheadMessages != 05384 overhead "*door slams!*" 0 MyDoor5385 endif5386 dclick MyDoor 5387 wait 5005388 endif5389 endif5390 5391 if skill "Fishing" >= 50 and EnableFishing = 1 5392 if insysmsg "You fish a" and EnableOverheadMessages = 15393 overhead "Nothing biting on that one..." 20865394 clearsysmsg 5395 endif5396 if insysmsg "You catch a fish" and EnableOverheadMessages != 0 5397 overhead "*you harvest fish*" 775398 clearsysmsg 5399 endif 5400 endif5401 5402 if EnableAutoAttackGreyMOB = 1 5403 if warmode 5404 if skill "Magery" >= 80 or skill "Swordsmanship" >= 50 or skill "Mace Fighting" >= 50 5405 if EnableOverheadMessages = 15406 overhead "*cracks knuckles...*" 20865407 elseif EnableOverheadMessages = 25408 overhead "[ WAR MODE ON! ]" 21175409 endif 5410 5411 if EnableWeaponCheck = 15412 if skill "Swordsmanship" >= 50 5413 if not findtype "30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190" self5414 if EnableOverheadMessages != 0 5415 overhead "[ NO WEAPON! ]" 3375416 endif5417 wait 20005418 else5419 if not findtype "30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190" hand 5420 if findtype "30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190" backpack as weapon5421 for 105422 getlabel weapon WeaponLabel5423 wait 5005424 if "aspect" in WeaponLabel5425 break5426 else5427 @ignore weapon5428 wait 1505429 if findtype "30988|5049|3909|3911|3915|3917|3934|3937|5046|5115|5119|5182|5185|5187|31128|31190" backpack as weapon5430 getlabel weapon WeaponLabel5431 endif5432 endif5433 endfor5434 wait 1505435 dclick weapon5436 wait 5005437 endif 5438 endif5439 endif5440 elseif skill "Mace Fighting" >= 50 5441 if not findtype "31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182" self5442 if EnableOverheadMessages != 0 5443 overhead "[ NO WEAPON! ]" 3375444 endif 5445 wait 20005446 else5447 if not findtype "31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182" hand 5448 if findtype "31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182" backpack as weapon5449 for 105450 getlabel weapon WeaponLabel5451 wait 5005452 if "aspect" in WeaponLabel5453 break5454 else5455 @ignore weapon5456 wait 1505457 if findtype "31180|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182" backpack as weapon5458 getlabel weapon WeaponLabel5459 endif5460 endif 5461 endfor 5462 wait 1505463 dclick weapon5464 wait 5005465 endif 5466 endif5467 endif5468 elseif skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook5469 getlabel myspellbook SpellbookLabel5470 for 55471 wait 2505472 if "aspect" in SpellbookLabel5473 break5474 elseif "unidentified|[blessed|spells)" in SpellbookLabel5475 @ignore myspellbook 5476 wait 2505477 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook5478 getlabel myspellbook SpellbookLabel5479 else 5480 if EnableOverheadMessages != 05481 overhead "[ NO SPELLBOOK! ]" 3375482 endif 5483 break5484 endif5485 endif 5486 endfor5487 dclick myspellbook5488 wait 5005489 endif 5490 endif5491 5492 if EnableShieldCheck = 15493 if not findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' lefthand5494 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield5495 for 45496 getlabel shield ShieldLabel5497 wait 2505498 if "unidentified" in ShieldLabel5499 @ignore shield5500 wait 150 5501 if findtype 'Order shield|buckler |metal shield|Chaos shield|heater shield|bone shield|bronze shield|kite shield|wooden shield|parrying gauche' backpack as shield5502 getlabel shield ShieldLabel5503 endif5504 else 5505 break5506 endif 5507 endfor5508 dclick shield5509 wait 5005510 endif 5511 endif5512 endif5513 5514 clearsysmsg 5515 for 1000 5516 hotkey "Target Closest Non-Friendly Monster"5517 wait 5005518 5519 if insysmsg "No one matching that was found" 5520 hotkey "Cancel Current Target" 5521 @setvar CurrentTarget 05522 if EnableOverheadMessages = 15523 wait 7505524 overhead "Is there no one else??" 20865525 wait 10005526 overhead "Alright then, I guess its back to work..." 20865527 elseif EnableOverheadMessages = 25528 wait 5005529 overhead "[ WAR MODE OFF ]" 845530 endif 5531 wait 5005532 hotkey "Toggle Peace Only"5533 hotkey "Clear Target Queue"5534 clearsysmsg 5535 replay 5536 else 5537 @setvar CurrentTarget lasttarget 5538 getlabel CurrentTarget TargetDesc5539 endif 5540 5541 while not dead CurrentTarget 5542 if EnableTrackingAutoRecall = 15543 if PKTrackingRange = 70 5544 if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or 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"5545 @setvar! TimeToGo 15546 @setvar! RedTargetFound 15547 replay5548 endif5549 elseif PKTrackingRange = 60 5550 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"5551 @setvar! TimeToGo 15552 @setvar! RedTargetFound 15553 replay5554 endif5555 elseif PKTrackingRange = 50 5556 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"5557 @setvar! TimeToGo 15558 @setvar! RedTargetFound 15559 replay5560 endif5561 elseif PKTrackingRange = 0 5562 if insysmsg "Now tracking"5563 @setvar! TimeToGo 15564 @setvar! RedTargetFound 15565 replay5566 endif5567 endif 5568 endif5569 5570 if EnablePKradar = 1 and skill "Tracking" < 505571 if timer "PKRadar" > 10005572 hotkey "Next Murderer Player Target"5573 wait 5005574 if insysmsg "No one matching that was found"5575 settimer "PKRadar" 05576 else5577 if DungeonMode = 1 and EnableAutoRedDungeonGate = 15578 hotkey "Toggle War Only"5579 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 05580 if not hidden5581 useskill "Hiding"5582 endif5583 elseif DungeonMode = 05584 @setvar! RedTargetFound 15585 @setvar! TimeToGo 15586 endif 5587 @setvar! MurdererTarget lasttarget5588 clearsysmsg5589 replay 5590 endif 5591 endif5592 endif 5593 5594 if timer "TargetTimer" > 40005595 if EnableOverheadMessages = 15596 if "Paragon" in TargetDesc5597 overhead " � PARAGON! � " 12 CurrentTarget 5598 settimer "TargetTimer" 05599 else 5600 overhead " � TARGET � " 253 CurrentTarget 5601 settimer "TargetTimer" 05602 endif 5603 elseif EnableOverheadMessages = 25604 if "Paragon" in TargetDesc5605 overhead " � " 12 CurrentTarget 5606 settimer "TargetTimer" 05607 else 5608 overhead " � " 253 CurrentTarget 5609 settimer "TargetTimer" 05610 endif5611 endif 5612 endif5613 5614 if not warmode 5615 if EnableOverheadMessages = 15616 overhead "I don't have time for this shit..." 20865617 # '5618 elseif EnableOverheadMessages = 25619 overhead "[ WAR MODE OFF ]" 845620 endif 5621 wait 5005622 replay5623 endif5624 5625 if EnableHealPotion = 1 or EnableHealPotion = 25626 if diffhits > HealPotHPdiff and timer "HealingPotionTimer" > HealingPotionCooldown5627 if findtype "Yellow Potion" self as healpot5628 dclick healpot5629 wait 7505630 if insysmsg "Potion satchel used"5631 if EnableOverheadMessages = 1 5632 overhead "*drinking free heal potion...*" 2535633 endif5634 clearsysmsg5635 else 5636 if EnableOverheadMessages = 1 5637 overhead "*drinking heal potion...*" 2535638 endif5639 clearsysmsg5640 endif5641 settimer "HealingPotionTimer" 05642 cooldown "Healing Potion" HealingPotionCooldown5643 else 5644 if timer "InventoryTimer" > 60005645 if EnableOverheadMessages != 0 5646 overhead "[ NO HEAL POTS! ]" 3375647 endif5648 settimer "InventoryTimer" 05649 endif5650 endif5651 wait 500 5652 endif5653 endif 5654 5655 if skill "Healing" > 305656 if not bandaging 5657 if hp < maxhp or poisoned or findbuff "bleed" or findbuff "disease" 5658 if counttype "clean bandage%s%" self < 10 and counttype "clean bandage%s%" self != 05659 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 5660 overhead "[ BANDAGES LOW! ]" 3395661 settimer "InventoryTimer" 05662 endif5663 if EnableOverheadMessages = 15664 overhead "*applying bandages...*" 885665 endif 5666 hotkey "Bandage Self" 5667 elseif counttype "clean bandage%s%" self = 0 and timer "InventoryTimer" > 6000 and EnableOverheadMessages != 05668 overhead "[ NO BANDAGES! ]" 3375669 settimer "InventoryTimer" 05670 elseif poisoned or findbuff "bleed" or findbuff "disease" 5671 if EnableOverheadMessages = 15672 overhead "*applying bandages...*" 885673 endif 5674 hotkey "Bandage Self" 5675 else 5676 if EnableOverheadMessages = 15677 overhead "*applying bandages...*" 885678 endif 5679 hotkey "Bandage Self" 5680 endif 5681 endif5682 endif 5683 endif5684 5685 if EnableCurePotion = 1 or EnableCurePotion = 25686 if poisoned and timer "CurePotionTimer" > CurePotionCooldown5687 if findtype "Orange Potion" self as curepot5688 dclick curepot5689 wait 5005690 if insysmsg "Potion satchel used"5691 if EnableOverheadMessages = 1 5692 overhead "*drinking free cure potion...*" 445693 endif5694 clearsysmsg5695 else 5696 if EnableOverheadMessages = 1 5697 overhead "*drinking cure potion...*" 445698 endif5699 clearsysmsg5700 endif5701 settimer "CurePotionTimer" 05702 cooldown "Cure Potion" CurePotionCooldown5703 else5704 if timer "InventoryTimer" > 60005705 if EnableOverheadMessages != 0 5706 overhead "[ NO CURE POTS! ]" 3375707 endif5708 settimer "InventoryTimer" 05709 endif5710 endif5711 wait 500 5712 endif5713 endif 5714 5715 if EnableCastHeal = 15716 if skill "Magery" >= 50 and diffhits > CastHealHPlowdiff and diffhits < CastHealHPhighdiff and mana >= 45717 cast "Heal"5718 wait 1005719 while not casting 5720 if targetexists5721 hotkey "cancel current target"5722 endif5723 cast "Heal"5724 wait 1005725 endwhile 5726 wft 15005727 target "self" 5728 wait 250 5729 elseif skill "Magery" >= 60 and diffhits > CastHealHPhighdiff and mana >= 115730 cast "Greater Heal"5731 wait 1005732 while not casting 5733 if targetexists5734 hotkey "cancel current target"5735 endif5736 cast "Greater Heal"5737 wait 1005738 endwhile 5739 wft 15005740 target "self" 5741 wait 250 5742 endif 5743 endif5744 5745 if EnableCastCure = 15746 if poisoned and skill "Magery" >= 40 and mana >= 65747 cast "Cure"5748 wait 1005749 while not casting 5750 if targetexists5751 hotkey "cancel current target"5752 endif5753 cast "Cure" 5754 wait 1005755 endwhile 5756 wft 15005757 target "self" 5758 wait 250 5759 endif 5760 endif5761 5762 if EnableRefreshPotion = 1 or EnableRefreshPotion = 25763 if diffstam >= RefreshPotSPdiff and timer "RefreshPotionTimer" > RefreshPotionCooldown5764 if findtype "Red Potion" self as refreshpot5765 dclick refreshpot5766 wait 5005767 if insysmsg "Potion satchel used"5768 if EnableOverheadMessages = 1 5769 overhead "*drinking free refresh potion...*" 345770 endif5771 clearsysmsg5772 else 5773 if EnableOverheadMessages = 1 5774 overhead "*drinking refresh potion...*" 345775 endif5776 clearsysmsg5777 endif5778 settimer "RefreshPotionTimer" 05779 cooldown "Refresh Potion" RefreshPotionCooldown5780 else 5781 if timer "InventoryTimer" > 60005782 if EnableOverheadMessages != 0 5783 overhead "[ NO REFRESH POTS! ]" 3375784 endif5785 settimer "InventoryTimer" 05786 endif5787 endif5788 wait 500 5789 endif5790 endif 5791 5792 if EnableMagicResistPotion = 1 or EnableMagicResistPotion = 25793 if not findbuff "Magic Resist Potion"5794 if findtype "Black Potion" self as magicresistpot5795 dclick magicresistpot5796 wait 5005797 if EnableOverheadMessages = 1 5798 if insysmsg "Potion satchel used" 5799 overhead "*drinking free resist potion*" 24065800 clearsysmsg5801 else 5802 overhead "*drinking resist potion*" 24065803 clearsysmsg5804 endif5805 endif 5806 else 5807 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 5808 overhead "[ NO RESIST POTS! ]" 3375809 settimer "InventoryTimer" 05810 endif5811 endif5812 wait 5005813 endif5814 endif5815 5816 if EnableStrengthPotion = 1 or EnableStrengthPotion = 25817 if skill "Alchemy" = 1 5818 if insysmsg "You may now use a strength" or not findbuff "Strength"5819 if findtype "White Potion" self as strengthpot5820 dclick strengthpot5821 wait 5005822 if EnableOverheadMessages = 1 5823 if insysmsg "Potion satchel used" 5824 overhead "*drinking free strength potion*" 9565825 clearsysmsg5826 else 5827 overhead "*drinking strength potion*" 9565828 clearsysmsg5829 endif5830 endif5831 else 5832 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 5833 overhead "[ NO STRENGTH POTS! ]" 3375834 settimer "InventoryTimer" 05835 endif5836 endif5837 wait 5005838 endif5839 elseif not findbuff "Strength"5840 if findtype "White Potion" self as strengthpot5841 dclick strengthpot5842 wait 5005843 if EnableOverheadMessages = 1 5844 if insysmsg "Potion satchel used" 5845 overhead "*drinking free strength potion*" 9565846 clearsysmsg5847 else 5848 overhead "*drinking strength potion*" 9565849 clearsysmsg5850 endif5851 endif5852 else 5853 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 5854 overhead "[ NO STRENGTH POTS! ]" 3375855 settimer "InventoryTimer" 05856 endif5857 endif5858 wait 5005859 endif5860 endif5861 5862 if EnableAgilityPotion = 1 or EnableAgilityPotion = 25863 if not findbuff "Agility"5864 if findtype "Blue Potion" self as agilitypot5865 dclick agilitypot5866 wait 5005867 if EnableOverheadMessages = 1 5868 if insysmsg "Potion satchel used" 5869 overhead "*drinking free agility potion*" 935870 clearsysmsg5871 else 5872 overhead "*drinking agility potion*" 935873 clearsysmsg5874 endif5875 endif5876 else 5877 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 5878 overhead "[ NO AGILITY POTS! ]" 3375879 settimer "InventoryTimer" 05880 endif5881 endif5882 wait 5005883 endif5884 endif5885 5886 if EnableMagicReflection = 15887 if skill "Magery" >= 60 and not findbuff "Magic Reflection" and mana > 14 and TimeToGo != 1 and timer "MagicShield" > 150005888 for 105889 cast "Magic Reflection" 5890 while casting5891 wait 1005892 endwhile5893 waitfortarget 15005894 hotkey "Target Self"5895 wait 10005896 if insysmsg "That spell will not adhere"5897 settimer "MagicShield" 05898 if EnableOverheadMessages = 1 5899 overhead "Too soon for a new shield. Give me a sec..." 20865900 endif 5901 replay5902 endif 5903 wait 10005904 if not findbuff "Magic Reflection" 5905 wait 10005906 if EnableOverheadMessages = 1 5907 overhead "Let me try that again..." 20865908 endif 5909 wait 10005910 else5911 break5912 endif 5913 endfor 5914 wait 15005915 replay5916 endif 5917 endif5918 5919 if EnableReactiveArmour = 15920 if skill "Magery" >= 50 and not findbuff "Reactive Armor" and mana >= 4 and TimeToGo != 1 and timer "MagicArmor" > 150005921 for 105922 cast "Reactive Armor" 5923 waitfortarget 15005924 hotkey "Target Self"5925 wait 10005926 if insysmsg "That spell will not adhere"5927 settimer "MagicArmor" 05928 if EnableOverheadMessages = 1 5929 overhead "Too soon for a new magic armor. Give me a sec..." 20865930 endif 5931 replay5932 endif 5933 wait 10005934 if not findbuff "Magic Reflection" 5935 wait 5005936 if EnableOverheadMessages = 1 5937 overhead "Let me try that again..." 20865938 wait 5005939 endif 5940 else5941 break5942 endif 5943 endfor 5944 wait 10005945 replay5946 endif 5947 endif5948 5949 if paralyzed and EnableAutoParalyzePouch = 15950 if EnableOverheadMessages = 1 5951 overhead "[ [ [ [ POP! ] ] ] ]" 21175952 endif5953 say "[pouch" 5954 @setvar! MurdererFound 15955 @setvar! TimeToGo 15956 replay5957 endif5958 5959 if EnableProtection = 15960 if skill "Magery" >= 60 and not findbuff "Protection" and diffmana < 105961 for 35962 cast "Protection" 5963 wait 1005964 while casting 5965 wait 505966 endwhile5967 wait 10005968 if not findbuff "Protection"5969 if EnableOverheadMessages = 1 5970 overhead "Shit, let me try that again..." 20865971 endif 5972 wait 5005973 else5974 break5975 endif 5976 endfor 5977 wait 2505978 endif 5979 endif5980 5981 if skill "Mace Fighting" or skill "Swordsmanship" > 50 5982 attack CurrentTarget 5983 wait 500 5984 elseif skill "Magery" >= 805985 if EnableMagicMushroom = 15986 if mana < 50 and timer MushroomTimer >= MushroomCooldown and findtype "mushroom" backpack as magicmushroom5987 if EnableOverheadMessages = 15988 overhead "*eating shrooms...*" 315989 endif5990 dclick magicmushroom5991 wait 5005992 if insysmsg "You consume a magic mushroom and restore some mana."5993 settimer MushroomTimer 0 5994 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"5995 settimer MushroomTimer 300005996 endif5997 cooldown "Mushroom" MushroomCooldown5998 endif5999 endif 6000 6001 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook6002 getlabel myspellbook SpellbookLabel6003 for 56004 wait 2506005 if "aspect" in SpellbookLabel6006 break6007 elseif "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel or "spells)" in SpellbookLabel 6008 @ignore myspellbook 6009 wait 2506010 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook6011 getlabel myspellbook SpellbookLabel6012 else 6013 if EnableOverheadMessages != 06014 overhead "[ NO SPELLBOOK! ]" 3376015 endif6016 break6017 endif6018 endif 6019 endfor6020 dclick myspellbook6021 wait 5006022 endif6023 6024 if find CurrentTarget ground -1 -1 86025 if mana >= 4 and EnableCastWeaken = 1 and timer "WeakenCD" > WeakenCooldown6026 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306027 hotkey "> Interrupt"6028 break6029 else6030 cast "weaken"6031 wait 1006032 while casting 6033 wait 506034 endwhile6035 endif 6036 wft 25006037 target CurrentTarget6038 wait 2506039 if insysmsg "cannot be seen" 6040 if EnableOverheadMessages = 16041 overhead "I cannot see that!" 20866042 endif 6043 wait 5006044 else 6045 settimer WeakenCD 06046 endif 6047 elseif mana >= 14 and EnableCastMindblast = 1 and timer "MindblastCD" > MindblastCooldown6048 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306049 hotkey "> Interrupt"6050 break6051 else6052 cast "mindblast"6053 wait 1006054 while casting 6055 wait 506056 endwhile6057 endif 6058 wft 25006059 target CurrentTarget6060 wait 2506061 if insysmsg "cannot be seen"6062 if EnableOverheadMessages = 16063 overhead "I cannot see that!" 20866064 endif 6065 wait 5006066 else 6067 settimer "MindblastCD" 06068 endif 6069 elseif mana >= 40 and EnableCastFlamestrike = 1 and timer "FlamestrikeCD" > FlamestrikeCooldown6070 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306071 hotkey "> Interrupt"6072 break6073 else6074 cast "flamestrike"6075 wait 1006076 while casting 6077 wait 506078 endwhile6079 endif 6080 wft 25006081 target CurrentTarget6082 wait 2506083 if insysmsg "cannot be seen"6084 if EnableOverheadMessages = 16085 overhead "I cannot see that!" 20866086 endif 6087 wait 5006088 else 6089 settimer "FlamestrikeCD" 0 6090 endif6091 elseif mana >= 4 and EnableCastMagicArrow = 1 and timer "MagicArrowCD" > MagicArrowCooldown6092 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306093 hotkey "> Interrupt"6094 break6095 else6096 cast "magic arrow"6097 wait 1006098 while casting 6099 wait 506100 endwhile6101 endif 6102 wft 25006103 target CurrentTarget6104 wait 2506105 if insysmsg "cannot be seen" 6106 if EnableOverheadMessages = 16107 overhead "I cannot see that!" 20866108 endif 6109 wait 5006110 else 6111 settimer MagicArrowCD 06112 endif6113 elseif mana >= 6 and EnableCastHarm = 1 and timer "HarmCD" > HarmCooldown6114 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306115 hotkey "> Interrupt"6116 break6117 else6118 cast "harm"6119 wait 1006120 while casting 6121 wait 506122 endwhile6123 endif 6124 wft 25006125 target CurrentTarget6126 wait 2506127 if insysmsg "cannot be seen"6128 if EnableOverheadMessages = 16129 overhead "I cannot see that!" 20866130 endif 6131 wait 5006132 else 6133 settimer "HarmCD" 0 6134 endif 6135 elseif mana >= 11 and EnableCastCurse = 1 and timer "CurseCD" > CurseCooldown6136 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306137 hotkey "> Interrupt"6138 break6139 else6140 cast "curse"6141 wait 1006142 while casting 6143 wait 506144 endwhile6145 endif 6146 wft 25006147 target CurrentTarget6148 wait 2506149 if insysmsg "cannot be seen"6150 if EnableOverheadMessages = 16151 overhead "I cannot see that!" 20866152 endif 6153 wait 5006154 else 6155 settimer "CurseCD" 0 6156 endif 6157 elseif mana >= 20 and EnableCastExplosion = 1 and timer "ExplosionCD" > ExplosionCooldown6158 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306159 hotkey "> Interrupt"6160 break6161 else6162 cast "explosion"6163 wait 1006164 while casting 6165 wait 506166 endwhile6167 endif 6168 wft 25006169 target CurrentTarget6170 wait 2506171 if insysmsg "cannot be seen"6172 if EnableOverheadMessages = 16173 overhead "I cannot see that!" 20866174 endif 6175 wait 5006176 else 6177 settimer "ExplosionCD" 06178 endif6179 elseif mana >= 20 and EnableCastEnergyBolt = 1 and timer "EnergyBoltCD" > EnergyBoltCooldown6180 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306181 hotkey "> Interrupt"6182 break6183 else6184 cast "energy bolt"6185 wait 1006186 while casting 6187 wait 506188 endwhile6189 endif 6190 wft 25006191 target CurrentTarget6192 wait 2506193 if insysmsg "cannot be seen"6194 if EnableOverheadMessages = 16195 overhead "I cannot see that!" 20866196 endif 6197 wait 5006198 else 6199 settimer "EnergyBoltCD" 06200 endif6201 elseif mana >= 11 and EnableCastLightning = 1 and timer "LightningCD" > LightningCooldown6202 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306203 hotkey "> Interrupt"6204 break6205 else6206 cast "lightning"6207 wait 1006208 while casting 6209 wait 506210 endwhile6211 endif 6212 wft 25006213 target CurrentTarget6214 wait 2506215 if insysmsg "cannot be seen"6216 if EnableOverheadMessages = 16217 overhead "I cannot see that!" 20866218 endif 6219 wait 5006220 else 6221 settimer "LightningCD" 06222 endif6223 elseif mana >= 9 and EnableCastFireball = 1 and timer "FireballCD" > FireballCooldown6224 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306225 hotkey "> Interrupt"6226 break6227 else6228 cast "fireball"6229 wait 1006230 while casting 6231 wait 506232 endwhile6233 endif 6234 wft 25006235 target CurrentTarget6236 wait 2506237 if insysmsg "cannot be seen"6238 if EnableOverheadMessages = 16239 overhead "I cannot see that!" 20866240 endif 6241 wait 5006242 else 6243 settimer "FireballCD" 06244 endif6245 elseif mana >= 40 and EnableCastMeteorSwarm = 1 and timer "MeteorSwarmCD" > MeteorSwarmCooldown6246 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306247 hotkey "> Interrupt"6248 break6249 else6250 cast "meteor swarm"6251 wait 1006252 while casting 6253 wait 506254 endwhile6255 endif 6256 wft 25006257 target CurrentTarget6258 wait 2506259 if insysmsg "cannot be seen"6260 if EnableOverheadMessages = 16261 overhead "I cannot see that!" 20866262 endif 6263 wait 5006264 else 6265 settimer "MeteorSwarmCD" 06266 endif6267 elseif mana >= 40 and EnableCastChainLightning = 1 and timer "ChainLightningCD" > ChainLightningCooldown6268 if not find CurrentTarget ground -1 -1 15 or diffhits >= 306269 hotkey "> Interrupt"6270 break6271 else6272 cast "chain lightning"6273 wait 1006274 while casting 6275 wait 506276 endwhile6277 endif 6278 wft 25006279 target CurrentTarget6280 wait 2506281 if insysmsg "cannot be seen"6282 if EnableOverheadMessages = 16283 overhead "I cannot see that!" 20866284 endif 6285 wait 5006286 else 6287 settimer "ChainLightningCD" 06288 endif6289 endif 6290 wait 5006291 if not dead CurrentTarget6292 getlabel CurrentTarget TargetName6293 else 6294 break6295 endif 6296 endif 6297 endif6298 endwhile6299 6300 if insysmsg "You have gained"6301 if EnableOverheadMessages = 1 6302 overhead "Take that!!" 20866303 endif 6304 wait 5006305 hotkey "Cancel Current Target"6306 @setvar CurrentTarget 06307 clearsysmsg6308 wait 5006309 endif6310 6311 if skill "Spirit Speak" >= 80 6312 if timer "SpiritSpeak" > 105006313 useskill "spiritspeak"6314 settimer "Spirit Speak" 06315 endif6316 endif6317 6318 if findtype "Elven SpellBlade" backpack and EnableAutoCarving = 16319 if findtype "corpse" ground -1 -1 2 as corpse6320 hotkey "Cancel Current Target"6321 dclicktype "Elven Spellblade"6322 wft 15006323 target self6324 if EnableOverheadMessages != 0 6325 overhead "*skinning...*" 3396326 endif6327 @ignore corpse6328 endif 6329 endif6330 6331 if insysmsg "You have unlocked a codex upgrade point"6332 if EnableOverheadMessages = 16333 overhead "[ CODEX POINT UNLOCKED! ]" 21146334 elseif EnableOverheadMessages = 26335 overhead "� CODEX �" 21146336 endif 6337 if EnableSummons = 1 and followers >= 1 and EnableOverheadMessages = 16338 wait 10006339 overhead "Well done, Master..." 44 myMainTankPet6340 menu myMainTankPet 36341 endif6342 endif6343 6344 if insysmsg "unlocked a point for your wizard"6345 if EnableOverheadMessages = 16346 overhead "[ GRIMOIRE POINT UNLOCKED! ]" 76347 elseif EnableOverheadMessages = 26348 overhead "� GRIMOIRE �" 76349 endif 6350 if EnableSummons = 1 and followers >= 1 and EnableOverheadMessages = 16351 wait 10006352 overhead "You seem stronger, Master..." 44 myMainTankPet6353 menu myMainTankPet 36354 endif6355 endif6356 6357 if insysmsg "enough experience to upgrade"6358 if EnableOverheadMessages = 16359 overhead "[ ASPECT TIER UNLOCKED! ]" 20866360 elseif EnableOverheadMessages = 26361 overhead "� ASPECT �" 20866362 endif 6363 if EnableSummons = 1 and followers >= 1 and EnableOverheadMessages = 16364 wait 5006365 overhead "Time to spend some more gold, it would seem..." 44 myMainTankPet6366 menu myMainTankPet 36367 wait 5006368 endif6369 endif6370 6371 if insysmsg "upgrade point for Fire Elemental" or insysmsg "upgrade point for Air Elemental" or insysmsg "upgrade point for Water Elemental" or insysmsg "upgrade point for Earth Elemental" and EnableSummons = 1 and followers >= 1 and EnableOverheadMessages = 16372 overhead "Hmm.. I suddenly feel stronger!" 44 myMainTankPet6373 menu myMainTankPet 36374 wait 5006375 overhead "*cracks knuckles...*" 2117 myMainTankPet6376 endif6377 6378 if not findbuff "Actively Meditating" and diffmana > 50 and diffhits < 306379 clearhands both6380 useskill "meditation"6381 settimer "MeditatingTimer" 06382 6383 if EnableOverheadMessages != 06384 overhead "*meditating...*" 106385 endif6386 6387 wait 5006388 6389 while findbuff "Actively Meditating" and diffmana > 50 6390 if insysmsg "Now tracking"6391 replay6392 endif 6393 6394 if not findbuff "Actively Meditating" 6395 break6396 endif 6397 6398 if diffhits > 30 6399 break6400 elseif timer "MeditatingTimer" > 5000 6401 if EnableOverheadMessages = != 0 6402 overhead "*meditating...*" 106403 endif6404 settimer "MeditatingTimer" 06405 endif6406 6407 if not warmode 6408 if EnableOverheadMessages = 16409 overhead "I need to get back to work..." 20866410 endif 6411 wait 5006412 replay6413 endif6414 endwhile6415 endif6416 endfor 6417 6418 if skill "Mace Fighting" > 50 and not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" self or skill "Swordsmanship" > 50 and not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" self6419 if EnableOverheadMessages = 16420 overhead "I cannot fight without a weapon!" 20866421 endif 6422 hotkey "Cancel Current Target"6423 @setvar! TimeToGo 16424 replay 6425 endif 6426 hotkey "Cancel Current Target"6427 hotkey "Toggle Peace Only"6428 replay6429 endif6430 endif6431 endif 6432 6433 if TravelCooldownActive = 16434 clearsysmsg 6435 hotkey "Use item in hand" 6436 wft 15006437 hotkey "Target Self" 6438 wait 5006439 if insysmsg "must wait 59"6440 if EnableOverheadMessages = 16441 overhead "I am tired from travelling..." 20866442 wait 1500 6443 overhead "Just give me a minute to recover!" 20866444 endif 6445 clearsysmsg 6446 cooldown "Travel" 590006447 settimer "TravelTimer" 10006448 @setvar! TravelCooldownActive 06449 replay 6450 elseif insysmsg "must wait 58"6451 if EnableOverheadMessages = 16452 overhead "I am tired from travelling..." 20866453 wait 1500 6454 overhead "Just give me a minute to recover!" 20866455 endif6456 cooldown "Travel" 580006457 settimer "TravelTimer" 20006458 @setvar! TravelCooldownActive 06459 clearsysmsg 6460 replay 6461 elseif insysmsg "must wait 57"6462 if EnableOverheadMessages = 16463 overhead "I am tired from travelling..." 20866464 wait 1500 6465 overhead "Just give me a minute to recover!" 20866466 endif6467 cooldown "Travel" 570006468 settimer "TravelTimer" 30006469 @setvar! TravelCooldownActive 06470 clearsysmsg 6471 replay 6472 elseif insysmsg "must wait 56"6473 if EnableOverheadMessages = 16474 overhead "I am tired from travelling..." 20866475 wait 1500 6476 overhead "Just give me a minute to recover!" 20866477 endif6478 cooldown "Travel" 560006479 settimer "TravelTimer" 40006480 @setvar! TravelCooldownActive 06481 clearsysmsg 6482 replay 6483 elseif insysmsg "must wait 55"6484 if EnableOverheadMessages = 16485 overhead "I am tired from travelling..." 20866486 wait 1500 6487 overhead "Just give me a minute to recover!" 20866488 endif6489 cooldown "Travel" 550006490 settimer "TravelTimer" 50006491 @setvar! TravelCooldownActive 06492 clearsysmsg 6493 replay 6494 elseif insysmsg "must wait 54"6495 if EnableOverheadMessages = 16496 overhead "I am tired from travelling..." 20866497 wait 1500 6498 overhead "Just give me a minute to recover!" 20866499 endif6500 cooldown "Travel" 540006501 settimer "TravelTimer" 60006502 @setvar! TravelCooldownActive 06503 clearsysmsg 6504 replay 6505 elseif insysmsg "must wait 53"6506 if EnableOverheadMessages = 16507 overhead "I am tired from travelling..." 20866508 wait 1500 6509 overhead "Just give me a minute to recover!" 20866510 endif6511 cooldown "Travel" 530006512 settimer "TravelTimer" 70006513 @setvar! TravelCooldownActive 06514 clearsysmsg 6515 replay 6516 elseif insysmsg "must wait 52"6517 if EnableOverheadMessages = 16518 overhead "I am tired from travelling..." 20866519 wait 1500 6520 overhead "Just give me a minute to recover!" 20866521 endif6522 cooldown "Travel" 520006523 settimer "TravelTimer" 80006524 @setvar! TravelCooldownActive 06525 clearsysmsg 6526 replay 6527 elseif insysmsg "must wait 51"6528 if EnableOverheadMessages = 16529 overhead "I am tired from travelling..." 20866530 wait 1500 6531 overhead "Just give me a minute to recover!" 20866532 endif6533 cooldown "Travel" 510006534 settimer "TravelTimer" 90006535 @setvar! TravelCooldownActive 06536 clearsysmsg 6537 replay 6538 elseif insysmsg "must wait 50"6539 if EnableOverheadMessages = 16540 overhead "I am tired from travelling..." 20866541 wait 1500 6542 overhead "Just give me a minute to recover!" 20866543 endif6544 cooldown "Travel" 500006545 settimer "TravelTimer" 100006546 @setvar! TravelCooldownActive 06547 clearsysmsg 6548 replay 6549 elseif insysmsg "must wait 49"6550 if EnableOverheadMessages = 16551 overhead "I am tired from travelling..." 20866552 wait 1500 6553 overhead "Just give me a minute to recover!" 20866554 endif6555 cooldown "Travel" 490006556 settimer "TravelTimer" 110006557 @setvar! TravelCooldownActive 06558 clearsysmsg 6559 replay 6560 elseif insysmsg "must wait 48"6561 if EnableOverheadMessages = 16562 overhead "I am tired from travelling..." 20866563 wait 1500 6564 overhead "Just give me a minute to recover!" 20866565 endif6566 cooldown "Travel" 480006567 settimer "TravelTimer" 120006568 @setvar! TravelCooldownActive 06569 clearsysmsg 6570 replay 6571 elseif insysmsg "must wait 47"6572 if EnableOverheadMessages = 16573 overhead "I am tired from travelling..." 20866574 wait 1500 6575 overhead "Just give me a minute to recover!" 20866576 endif6577 cooldown "Travel" 470006578 settimer "TravelTimer" 130006579 @setvar! TravelCooldownActive 06580 clearsysmsg 6581 replay 6582 elseif insysmsg "must wait 46"6583 if EnableOverheadMessages = 16584 overhead "I am tired from travelling..." 20866585 wait 1500 6586 overhead "Just give me a minute to recover!" 20866587 endif6588 cooldown "Travel" 460006589 settimer "TravelTimer" 140006590 @setvar! TravelCooldownActive 06591 clearsysmsg 6592 replay 6593 elseif insysmsg "must wait 45"6594 if EnableOverheadMessages = 16595 overhead "I am tired from travelling..." 20866596 wait 1500 6597 overhead "Just give me a minute to recover!" 20866598 endif6599 cooldown "Travel" 450006600 settimer "TravelTimer" 150006601 @setvar! TravelCooldownActive 06602 clearsysmsg 6603 replay 6604 elseif insysmsg "must wait 44"6605 if EnableOverheadMessages = 16606 overhead "I am tired from travelling..." 20866607 wait 1500 6608 overhead "Just give me a minute to recover!" 20866609 endif6610 cooldown "Travel" 440006611 settimer "TravelTimer" 160006612 @setvar! TravelCooldownActive 06613 clearsysmsg 6614 replay 6615 elseif insysmsg "must wait 43"6616 if EnableOverheadMessages = 16617 overhead "I am tired from travelling..." 20866618 wait 1500 6619 overhead "Just give me a minute to recover!" 20866620 endif6621 cooldown "Travel" 430006622 settimer "TravelTimer" 170006623 @setvar! TravelCooldownActive 06624 clearsysmsg 6625 replay 6626 elseif insysmsg "must wait 42"6627 if EnableOverheadMessages = 16628 overhead "I am tired from travelling..." 20866629 wait 1500 6630 overhead "Just give me a minute to recover!" 20866631 endif6632 cooldown "Travel" 420006633 settimer "TravelTimer" 180006634 @setvar! TravelCooldownActive 06635 clearsysmsg 6636 replay 6637 elseif insysmsg "must wait 41"6638 if EnableOverheadMessages = 16639 overhead "I am tired from travelling..." 20866640 wait 1500 6641 overhead "Just give me a minute to recover!" 20866642 endif6643 cooldown "Travel" 410006644 settimer "TravelTimer" 190006645 @setvar! TravelCooldownActive 06646 clearsysmsg 6647 replay 6648 elseif insysmsg "must wait 40"6649 if EnableOverheadMessages = 16650 overhead "I am tired from travelling..." 20866651 wait 1500 6652 overhead "Just give me a bit to recover!" 20866653 endif6654 cooldown "Travel" 400006655 settimer "TravelTimer" 200006656 @setvar! TravelCooldownActive 06657 clearsysmsg 6658 replay 6659 elseif insysmsg "must wait 39"6660 if EnableOverheadMessages = 16661 overhead "I am tired from travelling..." 20866662 wait 1500 6663 overhead "Just give me a bit to recover!" 20866664 endif6665 cooldown "Travel" 390006666 settimer "TravelTimer" 210006667 @setvar! TravelCooldownActive 06668 clearsysmsg 6669 replay 6670 elseif insysmsg "must wait 38"6671 if EnableOverheadMessages = 16672 overhead "I am tired from travelling..." 20866673 wait 1500 6674 overhead "Just give me a bit to recover!" 20866675 endif6676 cooldown "Travel" 380006677 settimer "TravelTimer" 220006678 @setvar! TravelCooldownActive 06679 clearsysmsg 6680 replay 6681 elseif insysmsg "must wait 37"6682 if EnableOverheadMessages = 16683 overhead "I am tired from travelling..." 20866684 wait 1500 6685 overhead "Just give me a bit to recover!" 20866686 endif6687 cooldown "Travel" 370006688 settimer "TravelTimer" 230006689 @setvar! TravelCooldownActive 06690 clearsysmsg 6691 replay 6692 elseif insysmsg "must wait 36"6693 if EnableOverheadMessages = 16694 overhead "I am tired from travelling..." 20866695 wait 1500 6696 overhead "Just give me a bit to recover!" 20866697 endif6698 cooldown "Travel" 360006699 settimer "TravelTimer" 240006700 @setvar! TravelCooldownActive 06701 clearsysmsg 6702 replay 6703 elseif insysmsg "must wait 35"6704 if EnableOverheadMessages = 16705 overhead "I am tired from travelling..." 20866706 wait 1500 6707 overhead "Just give me a bit to recover!" 20866708 endif6709 cooldown "Travel" 350006710 settimer "TravelTimer" 250006711 @setvar! TravelCooldownActive 06712 clearsysmsg 6713 replay 6714 elseif insysmsg "must wait 34"6715 if EnableOverheadMessages = 16716 overhead "I am tired from travelling..." 20866717 wait 1500 6718 overhead "Just give me a bit to recover!" 20866719 endif6720 cooldown "Travel" 340006721 settimer "TravelTimer" 260006722 @setvar! TravelCooldownActive 06723 clearsysmsg 6724 replay 6725 elseif insysmsg "must wait 33"6726 if EnableOverheadMessages = 16727 overhead "I am tired from travelling..." 20866728 wait 1500 6729 overhead "Just give me a bit to recover!" 20866730 endif6731 cooldown "Travel" 330006732 settimer "TravelTimer" 270006733 @setvar! TravelCooldownActive 06734 clearsysmsg 6735 replay 6736 elseif insysmsg "must wait 32"6737 if EnableOverheadMessages = 16738 overhead "I am tired from travelling..." 20866739 wait 1500 6740 overhead "Just give me a bit to recover!" 20866741 endif6742 cooldown "Travel" 320006743 settimer "TravelTimer" 280006744 @setvar! TravelCooldownActive 06745 clearsysmsg 6746 replay 6747 elseif insysmsg "must wait 31"6748 if EnableOverheadMessages = 16749 overhead "I am tired from travelling..." 20866750 wait 1500 6751 overhead "Just give me a bit to recover!" 20866752 endif6753 cooldown "Travel" 310006754 settimer "TravelTimer" 290006755 @setvar! TravelCooldownActive 06756 clearsysmsg 6757 replay 6758 elseif insysmsg "must wait 30"6759 if EnableOverheadMessages = 16760 overhead "I am tired from travelling..." 20866761 wait 1500 6762 overhead "Just give me a bit to recover!" 20866763 endif6764 cooldown "Travel" 300006765 settimer "TravelTimer" 300006766 @setvar! TravelCooldownActive 06767 clearsysmsg 6768 replay 6769 elseif insysmsg "must wait 29"6770 if EnableOverheadMessages = 16771 overhead "I am tired from travelling..." 20866772 wait 1500 6773 overhead "Just give me a bit to recover!" 20866774 endif6775 cooldown "Travel" 290006776 settimer "TravelTimer" 310006777 @setvar! TravelCooldownActive 06778 clearsysmsg 6779 replay 6780 elseif insysmsg "must wait 28"6781 if EnableOverheadMessages = 16782 overhead "I am tired from travelling..." 20866783 wait 1500 6784 overhead "Just give me a bit to recover!" 20866785 endif6786 cooldown "Travel" 280006787 settimer "TravelTimer" 320006788 @setvar! TravelCooldownActive 06789 clearsysmsg 6790 replay 6791 elseif insysmsg "must wait 27"6792 if EnableOverheadMessages = 16793 overhead "I am tired from travelling..." 20866794 wait 1500 6795 overhead "Just give me a bit longer to recover!" 20866796 endif6797 cooldown "Travel" 270006798 settimer "TravelTimer" 330006799 @setvar! TravelCooldownActive 06800 clearsysmsg 6801 replay 6802 elseif insysmsg "must wait 26"6803 if EnableOverheadMessages = 16804 overhead "I am tired from travelling..." 20866805 wait 1500 6806 overhead "Just give me a bit longer to recover!" 20866807 endif6808 cooldown "Travel" 260006809 settimer "TravelTimer" 340006810 @setvar! TravelCooldownActive 06811 clearsysmsg 6812 replay 6813 elseif insysmsg "must wait 25"6814 if EnableOverheadMessages = 16815 overhead "I am tired from travelling..." 20866816 wait 1500 6817 overhead "Just give me a bit longer to recover!" 20866818 endif6819 cooldown "Travel" 250006820 settimer "TravelTimer" 350006821 @setvar! TravelCooldownActive 06822 clearsysmsg 6823 replay 6824 elseif insysmsg "must wait 24"6825 if EnableOverheadMessages = 16826 overhead "I am tired from travelling..." 20866827 wait 1500 6828 overhead "Just give me a bit longer to recover!" 20866829 endif6830 cooldown "Travel" 240006831 settimer "TravelTimer" 360006832 @setvar! TravelCooldownActive 06833 clearsysmsg 6834 replay 6835 elseif insysmsg "must wait 23"6836 if EnableOverheadMessages = 16837 overhead "I am tired from travelling..." 20866838 wait 1500 6839 overhead "Just give me a bit longer to recover!" 20866840 endif6841 cooldown "Travel" 230006842 settimer "TravelTimer" 370006843 @setvar! TravelCooldownActive 06844 clearsysmsg 6845 replay 6846 elseif insysmsg "must wait 22"6847 if EnableOverheadMessages = 16848 overhead "I am tired from travelling..." 20866849 wait 1500 6850 overhead "Just give me a bit longer to recover!" 20866851 endif6852 cooldown "Travel" 220006853 settimer "TravelTimer" 380006854 @setvar! TravelCooldownActive 06855 clearsysmsg 6856 replay 6857 elseif insysmsg "must wait 21"6858 if EnableOverheadMessages = 16859 overhead "I am tired from travelling..." 20866860 wait 1500 6861 overhead "Just give me a bit longer to recover!" 20866862 endif6863 cooldown "Travel" 210006864 settimer "TravelTimer" 390006865 @setvar! TravelCooldownActive 06866 clearsysmsg 6867 replay 6868 elseif insysmsg "must wait 20"6869 if EnableOverheadMessages = 16870 overhead "I am tired from travelling..." 20866871 wait 1500 6872 overhead "Just give me a bit longer to recover!" 20866873 endif6874 cooldown "Travel" 200006875 settimer "TravelTimer" 400006876 @setvar! TravelCooldownActive 06877 clearsysmsg 6878 replay 6879 elseif insysmsg "must wait 19"6880 if EnableOverheadMessages = 16881 overhead "I am tired from travelling..." 20866882 wait 1500 6883 overhead "Just give me a bit longer to recover!" 20866884 endif6885 cooldown "Travel" 190006886 settimer "TravelTimer" 410006887 @setvar! TravelCooldownActive 06888 clearsysmsg 6889 replay 6890 elseif insysmsg "must wait 18"6891 if EnableOverheadMessages = 16892 overhead "I am tired from travelling..." 20866893 wait 1500 6894 overhead "Just give me a bit longer to recover!" 20866895 endif6896 cooldown "Travel" 180006897 settimer "TravelTimer" 420006898 @setvar! TravelCooldownActive 06899 clearsysmsg 6900 replay 6901 elseif insysmsg "must wait 17"6902 if EnableOverheadMessages = 16903 overhead "I am tired from travelling..." 20866904 wait 1500 6905 overhead "Just give me a bit longer to recover!" 20866906 endif6907 cooldown "Travel" 170006908 settimer "TravelTimer" 430006909 @setvar! TravelCooldownActive 06910 clearsysmsg 6911 replay 6912 elseif insysmsg "must wait 16"6913 if EnableOverheadMessages = 16914 overhead "I am tired from travelling..." 20866915 wait 1500 6916 overhead "Just give me a bit longer to recover!" 20866917 endif6918 cooldown "Travel" 160006919 settimer "TravelTimer" 440006920 @setvar! TravelCooldownActive 06921 clearsysmsg 6922 replay 6923 elseif insysmsg "must wait 15"6924 if EnableOverheadMessages = 16925 overhead "I am tired from travelling..." 20866926 wait 1500 6927 overhead "Just give me a bit longer to recover!" 20866928 endif6929 cooldown "Travel" 150006930 settimer "TravelTimer" 450006931 @setvar! TravelCooldownActive 06932 clearsysmsg 6933 replay 6934 elseif insysmsg "must wait 14"6935 if EnableOverheadMessages = 16936 overhead "I am tired from travelling..." 20866937 wait 1500 6938 overhead "Just give me a bit longer to recover!" 20866939 endif6940 cooldown "Travel" 140006941 settimer "TravelTimer" 460006942 @setvar! TravelCooldownActive 06943 clearsysmsg 6944 replay 6945 elseif insysmsg "must wait 13"6946 if EnableOverheadMessages = 16947 overhead "I am tired from travelling..." 20866948 wait 1500 6949 overhead "Just give me a little bit longer to recover!" 20866950 endif6951 cooldown "Travel" 130006952 settimer "TravelTimer" 470006953 @setvar! TravelCooldownActive 06954 clearsysmsg 6955 replay 6956 elseif insysmsg "must wait 12"6957 if EnableOverheadMessages = 16958 overhead "I am tired from travelling..." 20866959 wait 1500 6960 overhead "Just give me a little bit longer to recover!" 20866961 endif6962 cooldown "Travel" 120006963 settimer "TravelTimer" 480006964 @setvar! TravelCooldownActive 06965 clearsysmsg 6966 replay 6967 elseif insysmsg "must wait 11"6968 if EnableOverheadMessages = 16969 overhead "I am tired from travelling..." 20866970 wait 1500 6971 overhead "Just give me a little bit longer to recover!" 20866972 endif6973 cooldown "Travel" 110006974 settimer "TravelTimer" 490006975 @setvar! TravelCooldownActive 06976 clearsysmsg 6977 replay 6978 elseif insysmsg "must wait 10"6979 if EnableOverheadMessages = 16980 overhead "I am tired from travelling..." 20866981 wait 1500 6982 overhead "Just give me a little bit longer to recover!" 20866983 endif6984 cooldown "Travel" 100006985 settimer "TravelTimer" 500006986 @setvar! TravelCooldownActive 06987 clearsysmsg 6988 replay 6989 elseif insysmsg "must wait 9"6990 if EnableOverheadMessages = 16991 overhead "I am tired from travelling..." 20866992 wait 1500 6993 overhead "Just give me a few more seconds to recover!" 20866994 endif6995 cooldown "Travel" 90006996 settimer "TravelTimer" 510006997 @setvar! TravelCooldownActive 06998 clearsysmsg 6999 replay 7000 elseif insysmsg "must wait 8"7001 if EnableOverheadMessages = 17002 overhead "I am tired from travelling..." 20867003 wait 1500 7004 overhead "Just give me a few more seconds to recover!" 20867005 endif7006 cooldown "Travel" 80007007 settimer "TravelTimer" 820007008 @setvar! TravelCooldownActive 07009 clearsysmsg 7010 replay 7011 elseif insysmsg "must wait 7"7012 if EnableOverheadMessages = 17013 overhead "I am tired from travelling..." 20867014 wait 1500 7015 overhead "Just give me a few more seconds to recover!" 20867016 endif7017 cooldown "Travel" 70007018 settimer "TravelTimer" 530007019 @setvar! TravelCooldownActive 07020 clearsysmsg 7021 replay 7022 if EnableOverheadMessages = 17023 overhead "I am tired from travelling..." 20867024 wait 1500 7025 overhead "Just give me a few more seconds to recover!" 20867026 endif7027 cooldown "Travel" 60007028 settimer "TravelTimer" 540007029 @setvar! TravelCooldownActive 07030 clearsysmsg 7031 replay 7032 elseif insysmsg "must wait 5"7033 if EnableOverheadMessages = 17034 overhead "I am tired from travelling..." 20867035 wait 1500 7036 overhead "Just give me a few more seconds to recover!" 20867037 endif7038 cooldown "Travel" 50007039 settimer "TravelTimer" 550007040 @setvar! TravelCooldownActive 07041 clearsysmsg 7042 replay 7043 elseif insysmsg "must wait 4"7044 if EnableOverheadMessages = 17045 overhead "I am tired from travelling..." 20867046 wait 1500 7047 overhead "Just give me a few more seconds to recover!" 20867048 endif7049 cooldown "Travel" 40007050 settimer "TravelTimer" 560007051 @setvar! TravelCooldownActive 07052 clearsysmsg 7053 replay 7054 elseif insysmsg "must wait 3"7055 if EnableOverheadMessages = 17056 overhead "I am tired from travelling..." 20867057 wait 1500 7058 overhead "Just give me a few more seconds to recover!" 20867059 endif7060 cooldown "Travel" 30007061 settimer "TravelTimer" 570007062 @setvar! TravelCooldownActive 07063 clearsysmsg 7064 replay 7065 elseif insysmsg "must wait 2"7066 if EnableOverheadMessages = 17067 overhead "I am tired from travelling..." 20867068 wait 1500 7069 overhead "Just give me a couple more seconds to recover!" 20867070 endif7071 cooldown "Travel" 20007072 settimer "TravelTimer" 580007073 @setvar! TravelCooldownActive 07074 clearsysmsg 7075 replay 7076 elseif insysmsg "must wait 1"7077 if EnableOverheadMessages = 17078 overhead "I am tired from travelling..." 20867079 wait 1500 7080 overhead "Just give me a second to recover!" 20867081 endif7082 cooldown "Travel" 10007083 settimer "TravelTimer" 590007084 @setvar! TravelCooldownActive 07085 clearsysmsg 7086 replay 7087 else 7088 @setvar! TravelCooldownActive 07089 clearsysmsg 7090 replay 7091 endif 7092 endif7093 7094 if timer "TravelTimer" < 600007095 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 7096 overhead "*resting...*" 07097 settimer "InventoryTimer" 07098 endif7099 7100 if EnableSummons = 1 and timer "NoTargetTimer" > 45000 and followers >= 1 and EnableOverheadMessages = 17101 wait 25007102 overhead "*yawns...*" 2117 myMainTankPet7103 menu myMainTankPet 37104 settimer "NoTargetTimer" 07105 endif 7106 7107 if EnableSatchels = 17108 if findtype "Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" backpack and findtype "reagent satchel" self as MyWizardBag7109 # '7110 if timer "WizardSatchelTimer" > 600007111 menu MyWizardBag 07112 wait 2507113 settimer "WizardSatchelTimer" 07114 endif7115 endif 7116 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag7117 if timer "PotionSatchelTimer" > 60000 7118 menu MyPotBag 07119 wait 2507120 settimer "PotionSatchelTimer" 07121 endif7122 endif 7123 endif 7124 7125 if insysmsg "Being perfectly rested" and EnableOverheadMessages = 17126 overhead "Leave me alone, I am tryin to rest here..." 20867127 wait 5007128 if EnableSummons = 1 and timer "NoTargetTimer" > 30000 and followers >= 1 7129 wait 25007130 overhead "*growls...*" 2117 myMainTankPet7131 menu myMainTankPet 37132 settimer "NoTargetTimer" 07133 endif 7134 clearsysmsg 7135 endif 7136 replay7137 elseif timer "TravelTimer" > 60000 and skill "Mining" < 50 and skill "Lumberjacking" < 50 and skill "Fishing" < 50 and skill "Lockpicking" < 507138 wait 5007139 overhead "Train a harvesting skill to 50.0 at NPC and then restart script!" 07140 wait 25007141 overhead "[ STOPPING SCRIPT... ]" 3377142 stop7143 endif7144 7145 if skill "Mining" >= 50 and EnableMining = 1 and timer "TravelTimer" > 600007146 7147 @setvar! DungeonMode 07148 7149 if hidden7150 if EnableOverheadMessages != 07151 overhead "[ HIDDEN... ]" 67152 endif 7153 wait 10007154 sysmsg "You cannot mine while hidden! Please unhide and try again..." 07155 wait 30007156 replay7157 endif7158 7159 if PutIngotsinLockedChest = 17160 if not findtype "wooden box" backpack or not findtype "copper key" backpack7161 if EnableOverheadMessages != 07162 overhead "[ NO LOCKBOX FOUND! ]" 3397163 endif 7164 wait 500 7165 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 7166 if EnableOverheadMessages != 07167 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3397168 endif 7169 wait 500 7170 elseif findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key7171 getlabel lockbox lockboxLabel7172 if "items" in lockboxLabel7173 dclick key7174 wft 10007175 target lockbox7176 wait 5007177 if EnableOverheadMessages != 07178 overhead "[lockbox secured]" 847179 endif 7180 endif7181 endif 7182 endif7183 7184 if EnablePlayerForgeRadar = 17185 if findtype "4017|6526|6538|6550|6562" ground -1 -1 15 as forge or findtype 0x0FB1 ground -1 -1 15 as forge and findtype "iron ore" backpack and timer "ForgeRadar" > 35007186 if EnableOverheadMessages = 17187 overhead "[ FORGE ]" 44 forge7188 overhead "�" 44 forge7189 elseif EnableOverheadMessages = 27190 overhead "�" 44 forge7191 endif 7192 settimer "ForgeRadar" 07193 endif 7194 endif7195 7196 if EnableOreVacuum = 17197 if findtype "iron ore" ground -1 -1 15 as droppedore and timer "OreRadar" > 3500 7198 if EnableOverheadMessages = 17199 overhead "[ ORE ]" 93 droppedore 7200 overhead "�" 93 droppedore7201 elseif EnableOverheadMessages = 27202 overhead "�" 93 droppedore7203 endif7204 settimer "OreRadar" 07205 endif7206 7207 if findtype "iron ingot%s" ground -1 -1 15 as droppedingots and timer "IngotRadar" > 3500 7208 if EnableOverheadMessages = 1 7209 overhead "[ INGOTS ]" 69 droppedingots 7210 overhead "�" 69 droppedingots7211 elseif EnableOverheadMessages = 27212 overhead "�" 69 droppedingots7213 endif 7214 settimer "IngotRadar" 07215 endif7216 7217 while findtype "iron ore|iron ingot%s" ground -1 -1 2 as droppedmetal7218 clearsysmsg7219 if EnableOverheadMessages = 1 7220 overhead "*picking up metal...*" 937221 endif 7222 hotkey "Grab Item"7223 wft 15007224 target droppedmetal7225 wait 5007226 if insysmsg "Invalid or inaccessible item"7227 if EnableOverheadMessages = 1 7228 overhead "I cannot get to that!" 20867229 endif 7230 @ignore droppedmetal7231 endif7232 if SetIngotBagtoOrganizer03 = 17233 hotkey "Organizer Agent-03" 7234 endif 7235 endwhile7236 endif 7237 7238 if EnableIngotAutoRecall = 17239 if timer "IngotRecallTimer" > 300007240 settimer "IngotRecallTimer" 07241 @clearignore7242 endif 7243 7244 if counttype "iron ingot%s" self > IngotRecallAmount7245 if EnableOverheadMessages = 1 7246 overhead "I would hate to lose all this hard work..." 20867247 wait 25007248 overhead "I am going to go unload before its too late!" 20867249 sysmsg "Disable 'EnableIngotAutoRecall' in script variables to turn off this feature!" 07250 wait 20007251 endif 7252 @setvar! AutoRecallTriggered 17253 @setvar! TimeToGo 17254 replay7255 endif7256 endif 7257 7258 if EnablePackAnimals = 17259 if not varexist idonthaveapacky7260 @setvar! idonthaveapacky 07261 endif 7262 7263 if dead myMainPackAnimal or not varexist myMainPackAnimal and PackAnimalCount = 17264 wait 10007265 overhead "[ SELECT YOUR MAIN PACK ANIMAL... ]" 2537266 setvar myMainPackAnimal7267 wft 5007268 while targetexists 7269 wait 1007270 endwhile7271 overhead "[ MAIN PACKY SET! ]" 937272 wait 1500 7273 endif 7274 7275 if dead mySecondPackAnimal or not varexist mySecondPackAnimal and PackAnimalCount = 27276 wait 10007277 overhead "[ SELECT YOUR 2ND PACK ANIMAL... ]" 2537278 setvar mySecondPackAnimal7279 wft 5007280 while targetexists 7281 wait 1007282 endwhile7283 overhead "[ TWO PACKY SET! ]" 937284 wait 1500 7285 endif 7286 7287 if not find myMainPackAnimal ground -1 -1 12 or not find mySecondPackAnimal ground -1 -1 12 and PackAnimalCount = 27288 if findtype "291|292" ground -1 -1 2 as PackAnimal7289 if noto PackAnimal = "friend"7290 if not find myMainPackAnimal 7291 @setvar PackAnimal myMainPackAnimal 7292 elseif not find mySecondPackAnimal7293 @setvar PackAnimal mySecondPackAnimal7294 endif7295 else7296 if EnableOverheadMessages = 1 7297 overhead "Where did that damn animal go now..." 20867298 wait 1500 7299 endif 7300 @setvar! idonthaveapacky 17301 endif7302 endif7303 endif7304 7305 if timer "PackyFollowOne" > 30000 and PackAnimalCount = 17306 menu myMainPackAnimal 47307 settimer "PackyFollowOne" 07308 endif7309 7310 if timer "PackyFollowTwo" > 30000 and PackAnimalCount = 27311 menu mySecondPackAnimal 47312 settimer "PackyFollowTwo" 07313 endif 7314 endif7315 7316 if EnablePackAnimals = 1 and idonthaveapacky != 17317 if find myMainPackAnimal ground -1 -1 12 7318 if findtype "6585" backpack as oretostoreinpacky and StoreinMainPacky = 17319 if counttype oretostoreinpacky > OreTransfertoPackyAmount and OreTransfertoPackyAmount != 0 7320 while findtype "6585" as oretostoreinpacky backpack 7321 lift oretostoreinpacky 600007322 if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 07323 overhead "*moving ore to pack animal...*" 3497324 settimer "PackyStorageTimer" 07325 endif 7326 drop myMainPackAnimal 7327 wait 650 7328 endwhile 7329 elseif diffweight < TransfertoPackyWeightDiff and TransfertoPackyWeightDiff != 0 7330 while findtype "6585" as oretostoreinpacky backpack 7331 lift oretostoreinpacky 600007332 if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 07333 overhead "*moving ore to pack animal...*" 3497334 settimer "PackyStorageTimer" 07335 endif 7336 drop myMainPackAnimal 7337 wait 650 7338 endwhile 7339 endif 7340 elseif findtype "6585" backpack as oretostoreinpacky and StoreinSecondPacky = 17341 if counttype oretostoreinpacky > OreTransfertoPackyAmount and OreTransfertoPackyAmount != 0 7342 while findtype "6585" as oretostoreinpacky backpack 7343 lift oretostoreinpacky 600007344 if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 07345 overhead "*moving ore to pack animal...*" 3497346 settimer "PackyStorageTimer" 07347 endif 7348 drop mySecondPackAnimal7349 wait 650 7350 endwhile 7351 elseif diffweight < TransfertoPackyWeightDiff and TransfertoPackyWeightDiff != 0 7352 while findtype "6585" as oretostoreinpacky backpack 7353 lift oretostoreinpacky 600007354 if timer "PackyStorageTimer" > 3500 and EnableOverheadMessages != 0 7355 overhead "*moving ore to pack animal...*" 3497356 settimer "PackyStorageTimer" 07357 endif 7358 drop mySecondPackAnimal7359 wait 650 7360 endwhile 7361 endif 7362 endif7363 7364 if timer "PackyCheckTimer" > 150007365 getlabel myMainPackAnimal MainPackyWeight7366 7367 if "1975/2000|1976/2000|1977/2000|1978/2000|1979/2000|1980/2000|1981/2000|1982/2000|1983/2000|1984/2000|1985/2000|1986/2000|1987/2000|1988/2000|1989/2000|1990/2000|1991/2000|1992/2000|1993/2000|1994/2000|1995/2000|1996/2000|1997/2000|1998/2000|1999/2000|2000/2000|3975/4000|3976/4000|3977/4000|3978/4000|3979/4000|3980/4000|3981/4000|3982/4000|3983/4000|3984/4000|3985/4000|3986/4000|3987/4000|3988/4000|3989/4000|3990/4000|3991/4000|3992/4000|3993/4000|3994/4000|3995/4000|3996/4000|3997/4000|3998/4000|3999/4000|4000/4000" in MainPackyWeight7368 @setvar! StoreinMainPacky 07369 if EnableOverheadMessages != 07370 overhead "[ PACKY FULL! ]" 333 myMainPackAnimal7371 endif 7372 else 7373 @setvar! StoreinMainPacky 17374 endif 7375 7376 getlabel mySecondPackAnimal SecondPackyWeight7377 7378 if "1975/2000|1976/2000|1977/2000|1978/2000|1979/2000|1980/2000|1981/2000|1982/2000|1983/2000|1984/2000|1985/2000|1986/2000|1987/2000|1988/2000|1989/2000|1990/2000|1991/2000|1992/2000|1993/2000|1994/2000|1995/2000|1996/2000|1997/2000|1998/2000|1999/2000|2000/2000|3975/4000|3976/4000|3977/4000|3978/4000|3979/4000|3980/4000|3981/4000|3982/4000|3983/4000|3984/4000|3985/4000|3986/4000|3987/4000|3988/4000|3989/4000|3990/4000|3991/4000|3992/4000|3993/4000|3994/4000|3995/4000|3996/4000|3997/4000|3998/4000|3999/4000|4000/4000" in SecondPackyWeight7379 @setvar! StoreinSecondPacky 07380 if EnableOverheadMessages != 07381 overhead "[ PACKY FULL! ]" 333 mySecondPackAnimal7382 endif7383 else 7384 @setvar! StoreinSecondPacky 17385 endif 7386 settimer "PackyCheckTimer" 07387 endif 7388 7389 if StoreinMainPacky = 0 and PackAnimalCount = 17390 if EnableOverheadMessages = 17391 overhead "My packy is full! Time to find a forge..." 20867392 elseif EnableOverheadMessages = 27393 overhead "[ PACKY FULL!! ]" 333 myMainPackAnimal 7394 endif7395 wait 15007396 @setvar! TimeToGo 17397 replay7398 elseif StoreinMainPacky = 0 and PackAnimalCount = 27399 @setvar! StoreinSecondPacky 17400 elseif StoreinMainPacky = 0 and StoreinSecondPacky = 0 7401 if EnableOverheadMessages = 17402 overhead "All my pack animals are full!" 20867403 wait 5007404 overhead "Time to find a forge..." 20867405 elseif EnableOverheadMessages = 27406 overhead "[ PACKYS FULL! ]" 337 mySecondPackAnimal 7407 endif 7408 wait 15007409 @setvar! TimeToGo 17410 replay7411 endif 7412 else 7413 if EnableOverheadMessages = 17414 overhead "Slow ass pack animal... come on!" 20867415 wait 10007416 overhead "*whistles!*" 23297417 elseif EnableOverheadMessages = 27418 overhead "*whistles!*" 23297419 endif 7420 @setvar! idonthaveapacky 17421 endif 7422 elseif idonthaveapacky = 17423 if find myMainPackAnimal ground -1 -1 2 7424 @setvar! idonthaveapacky 07425 replay7426 endif7427 endif7428 7429 if EnableAutoSmeltPlayerForge = 17430 if findtype "forge" ground -1 -1 2 as forge or findtype 0x0FB1 ground -1 -1 2 as forge and findtype "iron ore" backpack as ore7431 while findtype "iron ore" backpack as ore 7432 if timer "SmeltingTimer" > 3500 and EnableOverheadMessages != 07433 overhead "*smelting ore...*" 2114 forge7434 settimer "SmeltingTimer" 07435 endif 7436 7437 dclick ore7438 7439 if timer "ForgingTimer" > 3500 and EnableOverheadMessages != 07440 overhead "*forging ingots...*" 21177441 settimer "ForgingTimer" 07442 endif7443 7444 wait 10007445 @setvar! NeedtoSecureIngots 17446 7447 if insysmsg "You do not see any nearby forges"7448 settimer "NaturalForgeTimer" 07449 @setvar! ForgeFound 07450 break7451 endif7452 7453 if SetIngotBagtoOrganizer03 = 17454 hotkey "Organizer Agent-03" 7455 wait 5007456 endif 7457 endwhile7458 7459 if EnablePackAnimals = 17460 if find myMainPackAnimal ground -1 -1 27461 getlabel myMainPackAnimal PackyLabel7462 if "[0/2000" in PackyLabel7463 // Do nothing7464 elseif "[0/4000" in PackyLabel7465 // Do nothing7466 else7467 dclick myMainPackAnimal 7468 wait 5007469 while findtype "iron ore" myMainPackAnimal as packyoretosmelt7470 dclick packyoretosmelt7471 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 7472 overhead "*smelting from pack animal...*" 2114 myMainPackAnimal 7473 settimer "PackySmeltTimer" 07474 endif 7475 wait 6507476 endwhile7477 @setvar! NeedtoSecureIngots 17478 endif7479 endif 7480 7481 if find mySecondPackAnimal ground -1 -1 27482 getlabel mySecondPackAnimal TwoPackyLabel7483 if "[0/2000|[0/4000" in TwoPackyLabel7484 // Do nothing7485 elseif "[0/4000" in TwoPackyLabel7486 // Do nothing7487 else7488 dclick mySecondPackAnimal 7489 wait 5007490 while findtype "iron ore" myMainPackAnimal as twopackyoretosmelt7491 dclick twopackyoretosmelt7492 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 7493 overhead "*smelting from pack animal...*" 2114 mySecondPackAnimal 7494 settimer "PackySmeltTimer" 07495 endif 7496 wait 6507497 endwhile7498 @setvar! NeedtoSecureIngots 17499 endif7500 endif 7501 endif 7502 endif7503 endif7504 7505 if EnableAutoSmeltNaturalForge = 1 7506 if findtype "iron ore" backpack as ore and MiningActive = 07507 @setvar! ForgeFound 0 7508 if timer "NaturalForgeTimer" >= 25007509 dclick ore7510 wait 5007511 if insysmsg "You do not see any nearby forges"7512 settimer "NaturalForgeTimer" 07513 clearsysmsg7514 else7515 @setvar! ForgeFound 17516 clearsysmsg7517 if EnableOverheadMessages = 1 7518 overhead "*found a forge!*" 21177519 endif 7520 endif7521 endif7522 endif 7523 7524 if ForgeFound = 1 7525 while findtype "iron ore" backpack as ore7526 dclick ore7527 wait 5007528 @setvar! NeedtoSecureIngots 17529 if insysmsg "You do not see any nearby forges"7530 settimer "NaturalForgeTimer" 07531 @setvar! ForgeFound 07532 clearsysmsg7533 break7534 endif7535 if SetIngotBagtoOrganizer03 = 17536 hotkey "Organizer Agent-03" 7537 wait 5007538 endif 7539 endwhile7540 7541 if EnablePackAnimals = 17542 if find myMainPackAnimal ground -1 -1 27543 getlabel myMainPackAnimal PackyLabel7544 if "[0/2000" in PackyLabel7545 // Do nothing7546 elseif "[0/4000" in PackyLabel7547 // Do nothing7548 else7549 dclick myMainPackAnimal 7550 wait 5007551 while findtype "iron ore" myMainPackAnimal as packyoretosmelt7552 dclick packyoretosmelt7553 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 7554 overhead "*smelting from pack animal...*" 2114 myMainPackAnimal 7555 settimer "PackySmeltTimer" 07556 endif 7557 wait 6507558 if insysmsg "You do not see any nearby forges"7559 @setvar! ForgeFound 07560 break7561 endif 7562 endwhile7563 @setvar! NeedtoSecureIngots 17564 endif7565 endif 7566 7567 if find mySecondPackAnimal ground -1 -1 27568 getlabel mySecondPackAnimal TwoPackyLabel7569 if "[0/2000" in TwoPackyLabel7570 // Do nothing7571 elseif "[0/4000" in TwoPackyLabel7572 // Do nothing7573 else7574 dclick mySecondPackAnimal 7575 wait 5007576 while findtype "iron ore" myMainPackAnimal as twopackyoretosmelt7577 dclick twopackyoretosmelt7578 if timer "PackySmeltTimer" > 3500 and EnableOverheadMessages != 0 7579 overhead "*smelting from pack animal...*" 2114 mySecondPackAnimal 7580 settimer "PackySmeltTimer" 07581 endif 7582 wait 6507583 if insysmsg "You do not see any nearby forges"7584 @setvar! ForgeFound 07585 break 7586 endif7587 endwhile7588 @setvar! NeedtoSecureIngots 17589 endif7590 endif 7591 endif 7592 endif7593 endif 7594 7595 if not findtype "pickaxe" hand and findtype "pickaxe" backpack7596 dclicktype "pickaxe" backpack7597 wait 5007598 endif 7599 7600 if EnableWeightWarningMessage = 1 and diffweight < RedWeightLimitDiffWeight 7601 replay7602 else7603 hotkey "Use item in hand" 7604 wft 5007605 hotkey "Target Self" 7606 wait 5007607 endif 7608 7609 if insysmsg "world is saving" 7610 for 507611 wait 1007612 if insysmsg "world save complete" 7613 if EnableOverheadMessages = 17614 overhead "[ SAVE COMPLETE! ]" 2537615 endif 7616 clearsysmsg 7617 endif 7618 endfor 7619 replay 7620 elseif insysmsg "Harvesting is not allowed"7621 if EnableOverheadMessages = 1 7622 overhead "We need to leave the safe zone..." 847623 elseif EnableOverheadMessages = 27624 overhead "[ LEAVE TOWN! ]" 847625 endif7626 clearsysmsg 7627 wait 5000 7628 replay 7629 elseif insysmsg "You have worn out your tool" 7630 if EnableOverheadMessages = 1 7631 overhead "Hang on, my pickaxe just broke!" 2086=7632 wait 1500 7633 endif7634 if counttype "pickaxe" self > 0 7635 wait 5007636 if EnableOverheadMessages = 1 7637 overhead "But I think I have another.. one sec..." 20867638 wait 15007639 endif7640 else 7641 if EnableOverheadMessages = 1 7642 overhead "Dammit, that is my last pickaxe. Time to resupply!" 20867643 wait 15007644 endif7645 @setvar! TimeToGo 17646 endif 7647 clearsysmsg7648 replay7649 elseif insysmsg "You have recently traveled"7650 @setvar! TravelCooldownActive 17651 replay7652 elseif insysmsg "You do not see any" or insysmsg "You cannot produce any"7653 7654 @setvar! MiningActive 07655 7656 if EnableOverheadMessages != 07657 if MOVE = 1 7658 if timer "MoveTimer" > 30007659 @setvar! MOVE 07660 overhead "[ KEEP MOVING... ]" 887661 settimer "MoveTimer" 07662 @setvar! MOVE 07663 endif7664 elseif MOVE = 07665 if timer "MoveTimer" > 30007666 overhead "[ KEEP MOVING... ]" 15907667 settimer "MoveTimer" 07668 @setvar! MOVE 17669 endif7670 else 7671 if timer "MoveTimer" > 30007672 overhead "[ KEEP MOVING... ]" 15907673 settimer "MoveTimer" 07674 @setvar! MOVE 17675 endif7676 endif7677 endif 7678 7679 if findtype "iron ore" backpack as oretostack and EnableOreStacker = 1 and timer "OreStackerTimer" > 600007680 if findtype "iron ore" backpack as oretostack7681 while findtype "iron ore" backpack as oretostack7682 if find oretostack IngotBag7683 @ignore oretostack7684 else7685 if timer "StackerTimer" > 3500 and EnableOverheadMessages = 17686 overhead "*stacking ore...*" 777687 settimer "StackerTimer" 07688 endif 7689 lift oretostack 99997690 if StackOreinIngotBag = 17691 drop IngotBag7692 wait 5007693 else 7694 drop backpack 100 100 07695 @ignore oretostack7696 wait 5007697 endif7698 endif7699 endwhile 7700 endif7701 clearignore 7702 settimer "OreStackerTimer" 07703 endif7704 7705 if timer "HarvestDelay" > 8000 7706 if timer "MinerOrganizer" > 300007707 hotkey "Organizer Agent-04"7708 settimer "MinerOrganizer" 07709 endif7710 7711 if EnableSatchels = 17712 if findtype "Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" backpack and findtype "reagent satchel" self as MyWizardBag7713 # '7714 if timer "WizardSatchelTimer" > 600007715 menu MyWizardBag 07716 wait 2507717 settimer "WizardSatchelTimer" 07718 endif7719 endif 7720 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag7721 if timer "PotionSatchelTimer" > 60000 7722 menu MyPotBag 07723 wait 2507724 settimer "PotionSatchelTimer" 07725 endif7726 endif 7727 endif 7728 endif7729 7730 if PutIngotsinLockedChest = 1 and NeedtoSecureIngots = 17731 if not findtype "wooden box" backpack or not findtype "copper key" backpack7732 if EnableOverheadMessages != 07733 overhead "[ NO LOCKBOX FOUND! ]" 3397734 endif 7735 wait 1500 7736 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 7737 if EnableOverheadMessages != 0 7738 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3397739 endif 7740 wait 1500 7741 else 7742 if findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key7743 if findtype "iron ingot%s" backpack as ingotstostore 7744 getlabel lockbox lockboxLabel7745 if "items" in lockboxLabel7746 wait 5007747 if EnableOverheadMessages = 17748 overhead "*securing ingots...*" 1497749 endif 7750 while findtype "iron ingot%s" backpack as ingotstostore7751 if find ingotstostore lockbox7752 @ignore ingotstostore7753 else 7754 clearsysmsg 7755 lift ingotstostore 99997756 wait 150 7757 drop lockbox -1 -1 -17758 wait 2507759 endif7760 endwhile 7761 dclick key7762 wft 15007763 target lockbox7764 if EnableOverheadMessages != 07765 overhead "[ingot box locked]" 697766 endif 7767 @setvar! NeedtoSecureIngots 0 7768 else 7769 if EnableOverheadMessages != 07770 overhead "[ingot box unlocked]" 847771 endif 7772 dclick key7773 wft 15007774 target lockbox7775 if EnableOverheadMessages = 17776 overhead "*securing ingots...*" 1497777 endif 7778 while findtype "iron ingot%s" backpack as ingotstostore7779 if find ingotstostore lockbox7780 @ignore ingotstostore7781 else 7782 clearsysmsg 7783 lift ingotstostore 99997784 wait 1507785 drop lockbox -1 -1 -17786 wait 2507787 endif7788 endwhile 7789 dclick key7790 wft 15007791 target lockbox7792 if EnableOverheadMessages != 0 7793 overhead "[ingot box locked]" 697794 endif 7795 @setvar! NeedtoSecureIngots 07796 endif 7797 endif 7798 wait 150 7799 getlabel lockbox lockboxLabel 7800 if "items" in lockboxLabel7801 dclick key7802 wft 15007803 target lockbox7804 @setvar! NeedtoSecureIngots 07805 endif7806 endif7807 endif 7808 elseif StackIngotsinIngotBag = 17809 while findtype "iron ingot%s" backpack as metaltomove7810 if find IngotBag self7811 if OpenIngotBag = 17812 dclick IngotBag7813 wait 2507814 endif7815 wait 5007816 if EnableOverheadMessages = 17817 overhead "*stacking ingots...*" 20867818 endif7819 lift metaltomove 99997820 drop IngotBag 1 1 07821 wait 5007822 @ignore metaltomove7823 elseif EnableOverheadMessages != 07824 overhead "[ NO INGOT BAG! ]" 3377825 endif 7826 endwhile7827 endif 7828 replay7829 else7830 @setvar! MiningActive 17831 endif7832 7833 while MiningActive = 1 7834 if targetexists 7835 target self7836 endif 7837 7838 if diffweight < RedWeightLimitDiffWeight7839 replay7840 else 7841 hotkey "Use item in hand" 7842 wft 5007843 hotkey "Target Self" 7844 endif7845 7846 if warmode and EnableAutoAttackGreyMOB = 17847 replay7848 endif7849 7850 if diffhits > 257851 replay7852 endif7853 7854 if EnableTrackingAutoRecall = 17855 if PKTrackingRange = 70 7856 if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or 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"7857 @setvar! TimeToGo 17858 @setvar! RedTargetFound 17859 replay7860 endif7861 elseif PKTrackingRange = 60 7862 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"7863 @setvar! TimeToGo 17864 @setvar! RedTargetFound 17865 replay7866 endif7867 elseif PKTrackingRange = 50 7868 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"7869 @setvar! TimeToGo 17870 @setvar! RedTargetFound 17871 replay7872 endif7873 elseif PKTrackingRange = 0 7874 if insysmsg "Now tracking"7875 @setvar! TimeToGo 17876 @setvar! RedTargetFound 17877 replay7878 endif7879 endif 7880 endif7881 7882 if EnablePKradar = 1 and skill "Tracking" < 507883 if timer "PKRadar" > 10007884 hotkey "Next Murderer Player Target"7885 wait 5007886 if insysmsg "No one matching that was found"7887 settimer "PKRadar" 07888 else7889 if DungeonMode = 1 and EnableAutoRedDungeonGate = 17890 hotkey "Toggle War Only"7891 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 07892 if not hidden7893 useskill "Hiding"7894 endif7895 elseif DungeonMode = 07896 @setvar! RedTargetFound 17897 @setvar! TimeToGo 17898 endif 7899 @setvar! MurdererTarget lasttarget7900 clearsysmsg7901 replay 7902 endif 7903 endif7904 endif 7905 7906 if EnableWeightWarningMessage = 1 7907 if diffweight < GreenWarningDiffWeight and diffweight > YellowWarningDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 07908 overhead "[ WEIGHT WARNING... ]" 777909 settimer "WeightTimer" 07910 elseif diffweight < YellowWarningDiffWeight and diffweight > RedWeightLimitDiffWeight and timer "WeightTimer" > 5000 and EnableOverheadMessages != 07911 overhead "[ TIME TO FORGE! ]" 1537912 settimer "WeightTimer" 07913 elseif diffweight < RedWeightLimitDiffWeight and timer "WeightTimer" > 50007914 overhead "[ WEIGHT LIMIT REACHED! ]" 377915 settimer "WeightTimer" 07916 wait 15007917 overhead "Find a forge in order to continue..." 07918 replay7919 endif 7920 endif 7921 7922 if EnablePlayerForgeRadar = 17923 if findtype "4017|6526|6538|6550|6562" ground -1 -1 15 as forge or findtype 0x0FB1 ground -1 -1 15 as forge and findtype "iron ore" backpack and timer "ForgeRadar" > 35007924 overhead "�" 44 forge7925 settimer "ForgeRadar" 07926 endif 7927 endif7928 7929 if EnableOreVacuum = 17930 if findtype "iron ore" ground -1 -1 15 as droppedore and timer "OreRadar" > 3500 7931 overhead "�" 93 droppedore7932 settimer "OreRadar" 07933 endif7934 if findtype "iron ingot%s" ground -1 -1 15 as droppedingots and timer "IngotRadar" > 3500 7935 overhead "�" 69 droppedingots7936 settimer "IngotRadar" 07937 endif7938 endif 7939 7940 if EnableGoldVacuum = 17941 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 35007942 overhead "�" 149 droppedmoney7943 settimer "GoldRadar" 07944 endif7945 endif 7946 7947 if EnableSummons = 1 7948 if dead myMainTankPet7949 if not dead earthOne7950 @setvar! myMainTankPet earthOne7951 elseif not dead earthTwo7952 @setvar! myMainTankPet earthTwo7953 elseif not dead waterOne7954 @setvar! myMainTankPet waterOne7955 elseif not dead waterTwo7956 @setvar! myMainTankPet waterTwo7957 elseif not dead demonOne7958 @setvar! myMainTankPet demonOne7959 elseif not dead demonTwo7960 @setvar! myMainTankPet demonTwo7961 elseif not dead fireOne7962 @setvar! myMainTankPet fireOne7963 elseif not dead fireTwo7964 @setvar! myMainTankPet fireTwo7965 elseif not dead airOne7966 @setvar! myMainTankPet airOne7967 elseif not dead airTwo7968 @setvar! myMainTankPet airTwo7969 endif7970 if EnableOverheadMessages = 17971 overhead "Hold on..." 20867972 endif7973 replay7974 endif7975 endif 7976 7977 if EnableToolCountdown = 17978 if findtype "pickaxe" hand as MyAxe7979 getlabel MyAxe AxeLabel7980 if "(5 uses|(4 uses|(3 uses|2 uses|1 use" in AxeLabel7981 if EnableRecycleTool = 07982 sysmsg "YOUR TOOL IS ABOUT TO BREAK....." 1537983 elseif EnableRecycleTool = 17984 sysmsg "YOUR TOOL IS ABOUT TO BE RECYCLED....." 937985 endif 7986 endif 7987 endif 7988 endif7989 7990 if EnableRecycleTool = 17991 if findtype "tool kit" self as ToolKit7992 if findtype "pickaxe" hand as MyAxe7993 getlabel MyAxe AxeLabel7994 if "(3 use|(2 use" in AxeLabel7995 replay7996 endif7997 endif7998 endif 7999 endif8000 8001 if EnableOverheadMessages != 08002 if insysmsg "world is saving" 8003 for 508004 wait 1008005 if insysmsg "world save complete" 8006 wait 1008007 if EnableOverheadMessages = 18008 overhead "[ SAVE COMPLETE! ]" 253 8009 endif 8010 clearsysmsg 8011 break8012 endif 8013 endfor 8014 clearsysmsg8015 elseif insysmsg "You loosen some rocks"8016 overhead "*you fail to harvest anything...*" 3378017 clearsysmsg 8018 elseif insysmsg "You dig some iron ore" 8019 if insysmsg "Harvest double yield"8020 overhead "*you double harvest iron ore*" 1900 8021 else 8022 overhead "*you harvest iron ore*" 19008023 endif8024 clearsysmsg8025 elseif insysmsg "You dig some dull copper ore" 8026 if insysmsg "Harvest double yield"8027 overhead "*you double harvest dullcopper ore*" 2419 8028 else 8029 overhead "*you harvest dullcopper ore*" 24198030 endif8031 clearsysmsg 8032 elseif insysmsg "You dig some shadow iron ore" 8033 if insysmsg "Harvest double yield"8034 overhead "*you double harvest shadowiron ore*" 2406 8035 else 8036 overhead "*you harvest shadowiron ore*" 24068037 endif8038 clearsysmsg 8039 elseif insysmsg "You dig some copper ore" 8040 if insysmsg "Harvest double yield"8041 overhead "*you double harvest copper ore*" 2413 8042 else 8043 overhead "*you harvest copper ore*" 24138044 endif8045 clearsysmsg 8046 elseif insysmsg "You dig some bronze ore" 8047 if insysmsg "Harvest double yield"8048 overhead "*you double harvest bronze ore*" 2418 8049 else 8050 overhead "*you harvest bronze ore*" 24188051 endif8052 clearsysmsg8053 elseif insysmsg "You dig some golden ore" 8054 if insysmsg "Harvest double yield"8055 overhead "*you double harvest golden ore!*" 2213 8056 else 8057 overhead "*you harvest golden ore*" 22138058 endif8059 clearsysmsg8060 elseif insysmsg "You dig some agapite ore" 8061 if insysmsg "Harvest double yield"8062 overhead "*you double harvest agapite ore!*" 2425 8063 else 8064 overhead "*you harvest agapite ore*" 24258065 endif8066 clearsysmsg8067 elseif insysmsg "You dig some verite ore" 8068 if insysmsg "Harvest double yield"8069 overhead "*you double harvest verite ore!!*" 2207 8070 else 8071 overhead "*you harvest verite ore!*" 22078072 endif8073 clearsysmsg8074 elseif insysmsg "You dig some valorite ore" 8075 if insysmsg "Harvest double yield"8076 overhead "*you double harvest valorite ore!!*" 2219 8077 else 8078 overhead "*you harvest valorite ore!*" 22198079 endif8080 clearsysmsg8081 elseif insysmsg "You dig some avarite ore" 8082 if insysmsg "Harvest double yield"8083 overhead "*you double harvest avarite ore!!!*" 1763 8084 if EnableOverheadMessages = 1 8085 overhead "Woot! Woot!!" 2086 8086 endif 8087 else 8088 overhead "*you harvest avarite ore!!*" 17638089 if EnableOverheadMessages = 1 8090 overhead "Woot!" 20868091 endif 8092 endif8093 clearsysmsg8094 endif 8095 endif 8096 8097 if insysmsg "You have recently traveled"8098 @setvar! TravelCooldownActive 18099 replay8100 elseif insysmsg "You have worn out your tool" 8101 if EnableOverheadMessages = 1 8102 overhead "Hang on, my pickaxe just broke!" 20868103 wait 1500 8104 endif8105 clearsysmsg8106 if counttype "pickaxe" self > 08107 wait 10008108 if EnableOverheadMessages = 1 8109 overhead "But I think I have another.. one sec..." 20868110 wait 15008111 endif 8112 else8113 if EnableOverheadMessages = 1 8114 overhead "Dammit, thats my last pickaxe. Time to resupply!" 20868115 endif 8116 @setvar! TimeToGo 18117 wait 15008118 endif 8119 replay 8120 elseif insysmsg "You do not see any" or insysmsg "You cannot produce any"8121 if EnableSummons = 18122 menu myMainTankPet 38123 endif8124 8125 if PackAnimalCount = 1 or PackAnimalCount = 28126 menu myMainPackAnimal 48127 endif8128 8129 if PackAnimalCount = 28130 menu mySecondPackAnimal 48131 endif 8132 8133 settimer "HarvestDelay" 08134 8135 if EnableOverheadMessages != 0 8136 overhead "[ TIME TO MOVE ]" 698137 endif 8138 8139 @setvar! MiningActive 08140 replay8141 endif8142 8143 if not findtype "pickaxe" hand and findtype "pickaxe" backpack8144 dclicktype "pickaxe" backpack8145 wait 5008146 endif8147 endwhile8148 replay 8149 endif8150 8151 if skill "Lumberjacking" > 49.9 and EnableLumberjacking = 1 and timer "TravelTimer" > 600008152 8153 @setvar! DungeonMode 08154 8155 if hidden 8156 if EnableOverheadMessages != 08157 overhead "[ HIDDEN... ]" 68158 endif8159 wait 10008160 sysmsg "You cannot chop wood while hidden! Please unhide and try again..." 08161 wait 30008162 replay8163 endif8164 8165 if PutBoardsinLockedChest = 18166 if not findtype "wooden box" backpack or not findtype "copper key" backpack8167 if EnableOverheadMessages != 0 8168 overhead "[ NO LOCKBOX FOUND! ]" 3398169 endif8170 wait 500 8171 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 8172 if EnableOverheadMessages != 08173 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3398174 endif 8175 wait 500 8176 elseif findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key8177 getlabel lockbox lockboxLabel8178 if "items" in lockboxLabel8179 dclick key8180 wft 10008181 target lockbox8182 wait 2508183 if EnableOverheadMessages != 08184 overhead "[board box locked]" 848185 endif8186 endif8187 endif 8188 endif8189 8190 if EnableBoardAutoRecall = 18191 if timer "BoardRecallTimer" > 300008192 settimer "BoardRecallTimer" 08193 @clearignore8194 endif 8195 if counttype "board%s" self > BoardRecallAmount8196 if EnableOverheadMessages = 1 8197 overhead "I"d hate to lose all this hard work..." 20868198 wait 25008199 overhead "I"m going to go unload before its too late!" 20868200 sysmsg "Disable 'EnableBoardAutoRecall' in script variables to turn off this feature!" 08201 wait 20008202 endif8203 @setvar! AutoRecallTriggered 18204 @setvar! TimeToGo 18205 replay8206 endif8207 endif 8208 8209 if not findtype "hatchet" self8210 if EnableOverheadMessages = 1 8211 overhead "I cannot work with no hatchet!" 20868212 wait 15008213 endif 8214 @setvar! TimeToGo 18215 replay8216 endif8217 8218 if not findtype "hatchet" hand and findtype "hatchet" backpack8219 dclicktype "hatchet" backpack8220 wait 5008221 endif8222 8223 for 28224 hotkey "Use item in hand" 8225 wft 15008226 if insysmsg "use this item on"8227 break8228 else 8229 wait 5008230 endif8231 endfor 8232 target self 8233 wait 6508234 8235 if insysmsg "world is saving" 8236 for 508237 wait 1008238 if insysmsg "world save complete" 8239 wait 1008240 if EnableOverheadMessages = 1 8241 overhead "[ SAVE COMPLETE! ]" 253 8242 endif 8243 clearsysmsg 8244 endif 8245 endfor 8246 clearsysmsg 8247 elseif insysmsg "Harvesting is not allowed"8248 if EnableOverheadMessages = 1 8249 overhead "You need to leave the safe area..." 0 8250 elseif EnableOverheadMessages = 28251 overhead "[ LEAVE TOWN ]" 848252 endif8253 wait 5000 8254 replay 8255 elseif insysmsg "You broke your axe" 8256 if EnableOverheadMessages = 1 8257 overhead "My axe broke!" 20868258 wait 15008259 endif 8260 if counttype "hatchet" self > 08261 if EnableOverheadMessages = 1 8262 wait 10008263 overhead "But I think I have another... one sec..." 20868264 endif8265 wait 5008266 else 8267 if EnableOverheadMessages = 1 8268 overhead "Dammit, that was my last hatchet! Time to resupply..." 20868269 endif 8270 @setvar! TimeToGo 18271 wait 50038272 endif8273 replay 8274 elseif insysmsg "You have recently traveled"8275 @setvar! TravelCooldownActive 18276 replay8277 elseif insysmsg "You do not see any" or insysmsg "You cannot produce any"8278 if EnableOverheadMessages != 08279 if MOVE = 1 8280 if timer "MoveTimer" > 30008281 @setvar! MOVE 08282 overhead "[ KEEP MOVING... ]" 888283 settimer "MoveTimer" 08284 @setvar! MOVE 08285 endif8286 elseif MOVE = 08287 if timer "MoveTimer" > 30008288 overhead "[ KEEP MOVING... ]" 15908289 settimer "MoveTimer" 08290 @setvar! MOVE 18291 endif8292 else 8293 if timer "MoveTimer" > 30008294 overhead "[ KEEP MOVING... ]" 15908295 settimer "MoveTimer" 08296 @setvar! MOVE 18297 endif8298 endif8299 endif 8300 8301 if EnableLogStacker = 1 and timer "LogStackerTimer" > 100008302 while findtype "log%s" backpack as logstostack 8303 lift logstostack 99998304 drop backpack 100 100 08305 wait 500 8306 @ignore logstostack8307 endwhile8308 settimer "LogStackerTimer" 08309 clearignore 8310 endif8311 8312 if timer "LumberOrganizer" > 300008313 hotkey "Organizer Agent-02"8314 settimer "LumberOrganizer" 08315 endif8316 8317 if EnableSatchels = 18318 if findtype "Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" backpack and findtype "reagent satchel" self as MyWizardBag8319 # '8320 if timer "WizardSatchelTimer" > 600008321 menu MyWizardBag 08322 wait 2508323 settimer "WizardSatchelTimer" 08324 endif8325 endif 8326 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag8327 if timer "PotionSatchelTimer" > 60000 8328 menu MyPotBag 08329 wait 2508330 settimer "PotionSatchelTimer" 08331 endif8332 endif 8333 endif 8334 8335 if insysmsg "Being perfectly rested" and EnableOverheadMessages = 18336 overhead "Outta my way! I have a pickaxe and know how to use it..." 20868337 if EnableSummons = 1 and followers >= 18338 wait 15008339 overhead "Shall we incinerate them, master?" 44 myMainTankPet8340 menu myMainTankPet 38341 endif8342 endif8343 8344 while findtype "log%s" backpack and LogsToBoards = 18345 if timer "BoardTimer" > 3500 and EnableOverheadMessages != 08346 overhead "*making boards...*" 08347 settimer "BoardTimer" 08348 endif 8349 dclicktype "log%s" 8350 wait 5008351 @setvar! NeedtoSecureBoards 18352 endwhile8353 8354 if NeedtoSecureBoards = 18355 if not findtype "wooden box" backpack or not findtype "copper key" backpack and PutBoardsinLockedChest = 18356 if EnableOverheadMessages != 0 8357 overhead "[ NO LOCKBOX FOUND! ]" 3398358 endif 8359 wait 1500 8360 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 and PutBoardsinLockedChest = 18361 if EnableOverheadMessages != 08362 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3398363 endif 8364 wait 1500 8365 elseif findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key and PutBoardsinLockedChest = 18366 if findtype "board%s" backpack as boardstostore 8367 getlabel lockbox lockboxLabel8368 if "items" in lockboxLabel8369 if EnableOverheadMessages = 18370 overhead "*securing boards...*" 1498371 wait 2508372 endif 8373 while findtype "board%s" backpack as boardstostore8374 if find boardstostore lockbox8375 @ignore boardstostore8376 else 8377 lift boardstostore 99998378 drop lockbox -1 -1 -18379 wait 5008380 endif8381 endwhile 8382 dclick key8383 wft 15008384 target lockbox8385 if EnableOverheadMessages != 08386 overhead "[board box locked]" 698387 endif 8388 @setvar! NeedtoSecureBoards 0 8389 wait 5008390 else 8391 dclick key8392 wft 15008393 target lockbox8394 if EnableOverheadMessages != 08395 overhead "[board box unlocked]" 848396 endif 8397 if EnableOverheadMessages = 18398 overhead "*securing boards...*" 1498399 wait 2508400 endif 8401 while findtype "board%s" backpack as boardstostore8402 if find boardstostore lockbox8403 @ignore boardstostore8404 else 8405 lift boardstostore 99998406 drop lockbox -1 -1 -18407 wait 5008408 endif8409 endwhile 8410 dclick key8411 wft 15008412 target lockbox8413 if EnableOverheadMessages != 08414 overhead "[board box locked]" 698415 endif 8416 @setvar! NeedtoSecureBoards 0 8417 wait 5008418 endif 8419 endif 8420 getlabel lockbox lockboxLabel8421 if "items" in lockboxLabel8422 dclick key8423 wft 15008424 target lockbox8425 @setvar! NeedtoSecureBoards 08426 endif8427 elseif StackBoardsinBoardBag = 1 and PutBoardsinLockedChest = 08428 if OpenBoardBag = 18429 dclick BoardBag8430 wait 2508431 endif8432 while findtype "board%s" backpack as woodtomove8433 if find BoardBag self8434 while findtype "board%s" BoardBag as storedwood8435 @ignore storedwood8436 endwhile 8437 if timer "StackerTimer" > 3500 and EnableOverheadMessages = 18438 overhead "*stacking boards...*" 20868439 settimer "StackerTimer" 08440 endif 8441 lift woodtomove 99998442 drop BoardBag 1 1 08443 wait 5008444 @ignore woodtomove8445 elseif EnableOverheadMessages = 28446 overhead "[ NO BOARD BAG! ]" 3378447 endif 8448 endwhile8449 clearignore 8450 else 8451 if SetBoardBagtoOrganizer01 = 18452 hotkey "Organizer Agent-01"8453 wait 250 8454 endif 8455 endif8456 clearignore 8457 hotkey "Organizer Agent-02"8458 clearsysmsg8459 @setvar! MOVE 18460 replay 8461 endif 8462 wait 5008463 replay8464 else8465 if EnableOverheadMessages != 0 8466 overhead "*chopping wood...*" 21288467 endif8468 settimer "MoveTimer" 08469 wait 5008470 endif 8471 8472 while timer "MoveTimer" < 7000 8473 if EnableTrackingAutoRecall = 18474 if PKTrackingRange = 70 8475 if insysmsg ": 70 step" or insysmsg "70 space" or insysmsg ": 69 step" or insysmsg "69 space" or insysmsg ": 68 step" or insysmsg "68 space" or insysmsg ": 67 step" or insysmsg "67 space" or insysmsg ": 66 step" or insysmsg "66 space" or insysmsg ": 65 step" or insysmsg "65 space" or insysmsg ": 64 step" or insysmsg "64 space" or insysmsg ": 63 step" or insysmsg "63 space" or insysmsg ": 62 step" or insysmsg "62 space" or insysmsg ": 61 step" or insysmsg "61 space" or 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"8476 @setvar! TimeToGo 18477 @setvar! RedTargetFound 18478 replay8479 endif8480 elseif PKTrackingRange = 60 8481 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"8482 @setvar! TimeToGo 18483 @setvar! RedTargetFound 18484 replay8485 endif8486 elseif PKTrackingRange = 50 8487 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"8488 @setvar! TimeToGo 18489 @setvar! RedTargetFound 18490 replay8491 endif8492 elseif PKTrackingRange = 0 8493 if insysmsg "Now tracking"8494 @setvar! TimeToGo 18495 @setvar! RedTargetFound 18496 replay8497 endif8498 endif 8499 endif8500 8501 if EnablePKradar = 1 and skill "Tracking" < 508502 if timer "PKRadar" > 10008503 hotkey "Next Murderer Player Target"8504 wait 5008505 if insysmsg "No one matching that was found"8506 settimer "PKRadar" 08507 else8508 if DungeonMode = 1 and EnableAutoRedDungeonGate = 18509 hotkey "Toggle War Only"8510 elseif DungeonMode = 1 and EnableAutoRedDungeonGate = 08511 if not hidden8512 useskill "Hiding"8513 endif8514 elseif DungeonMode = 08515 @setvar! RedTargetFound 18516 @setvar! TimeToGo 18517 endif 8518 @setvar! MurdererTarget lasttarget8519 clearsysmsg8520 replay 8521 endif 8522 endif8523 endif 8524 8525 if paralyzed and EnableAutoParalyzePouch = 18526 if EnableOverheadMessages = 18527 overhead "[ [ [ [ POP! ] ] ] ]" 21178528 endif 8529 say "[pouch" 8530 @setvar! TimeToGo 18531 @setvar! MurdererFound 18532 replay8533 endif8534 8535 if warmode and EnableAutoAttackGreyMOB = 18536 replay8537 endif8538 8539 if diffhits > 08540 replay8541 endif8542 8543 if EnableRefreshPotion = 1 or EnableRefreshPotion = 28544 if diffstam >= RefreshPotSPdiff and timer "RefreshPotionTimer" > RefreshPotionCooldown8545 if findtype "Red Potion" self as refreshpot8546 dclick refreshpot8547 wait 5008548 if insysmsg "Potion satchel used"8549 if EnableOverheadMessages = 1 8550 overhead "*drinking free refresh potion...*" 348551 endif8552 clearsysmsg8553 else 8554 if EnableOverheadMessages = 1 8555 overhead "*drinking refresh potion...*" 348556 endif8557 clearsysmsg8558 endif8559 settimer "RefreshPotionTimer" 08560 cooldown "Refresh Potion" RefreshPotionCooldown8561 else 8562 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 08563 overhead "[ NO REFRESH POTS! ]" 3378564 settimer "InventoryTimer" 08565 endif8566 endif8567 wait 500 8568 endif8569 endif 8570 8571 if EnableMagicResistPotion = 18572 if not findbuff "Magic Resist Potion"8573 if findtype "Black Potion" self as magicresistpot8574 dclick magicresistpot8575 wait 5008576 if EnableOverheadMessages = 1 8577 if insysmsg "Potion satchel used" 8578 overhead "*drinking free resist potion*" 24068579 clearsysmsg8580 else 8581 overhead "*drinking resist potion*" 24068582 clearsysmsg8583 endif8584 endif 8585 else 8586 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 08587 overhead "[ NO RESIST POTS! ]" 3378588 settimer "InventoryTimer" 08589 endif8590 endif8591 wait 5008592 endif8593 endif8594 8595 if EnableStrengthPotion = 1 8596 if skill "Alchemy" = 1 8597 if insysmsg "You may now use a strength" or not findbuff "Strength"8598 if findtype "White Potion" self as strengthpot8599 dclick strengthpot8600 wait 5008601 if EnableOverheadMessages = 1 8602 if insysmsg "Potion satchel used" 8603 overhead "*drinking free strength potion*" 9568604 clearsysmsg8605 else 8606 overhead "*drinking strength potion*" 9568607 clearsysmsg8608 endif8609 endif8610 else 8611 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 08612 overhead "[ NO STRENGTH POTS! ]" 3378613 settimer "InventoryTimer" 08614 endif8615 endif8616 wait 5008617 endif8618 elseif not findbuff "Strength"8619 if findtype "White Potion" self as strengthpot8620 dclick strengthpot8621 wait 5008622 if EnableOverheadMessages = 1 8623 if insysmsg "Potion satchel used" 8624 overhead "*drinking free strength potion*" 9568625 clearsysmsg8626 else 8627 overhead "*drinking strength potion*" 9568628 clearsysmsg8629 endif8630 endif8631 else 8632 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 0 8633 overhead "[ NO STRENGTH POTS! ]" 3378634 settimer "InventoryTimer" 08635 endif8636 endif8637 wait 5008638 endif8639 endif8640 8641 if EnableAgilityPotion = 18642 if not findbuff "Agility"8643 if findtype "Blue Potion" self as agilitypot8644 dclick agilitypot8645 wait 5008646 if EnableOverheadMessages = 1 8647 if insysmsg "Potion satchel used" 8648 overhead "*drinking free agility potion*" 938649 clearsysmsg8650 else 8651 overhead "*drinking agility potion*" 938652 clearsysmsg8653 endif8654 endif8655 else 8656 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 08657 overhead "[ NO AGILITY POTS! ]" 3378658 settimer "InventoryTimer" 08659 endif8660 endif8661 wait 5008662 endif8663 endif8664 8665 if EnableMagicReflection = 1 8666 if skill "Magery" >= 60 and not findbuff "Magic Reflection" and mana > 14 and TimeToGo != 18667 replay8668 endif 8669 endif 8670 8671 if insysmsg "world is saving" 8672 for 508673 wait 1008674 if insysmsg "world save complete" 8675 wait 1008676 if EnableOverheadMessages = 18677 overhead "[ SAVE COMPLETE! ]" 253 8678 endif8679 clearsysmsg 8680 endif 8681 endfor 8682 clearsysmsg 8683 endif8684 8685 if EnableSummons = 1 and dead myMainTankPet8686 if not dead earthOne8687 @setvar! myMainTankPet earthOne8688 elseif not dead earthTwo8689 @setvar! myMainTankPet earthTwo8690 elseif not dead waterOne8691 @setvar! myMainTankPet waterOne8692 elseif not dead waterTwo8693 @setvar! myMainTankPet waterTwo8694 elseif not dead demonOne8695 @setvar! myMainTankPet demonOne8696 elseif not dead demonTwo8697 @setvar! myMainTankPet demonTwo8698 elseif not dead fireOne8699 @setvar! myMainTankPet fireOne8700 elseif not dead fireTwo8701 @setvar! myMainTankPet fireTwo8702 elseif not dead airOne8703 @setvar! myMainTankPet airOne8704 elseif not dead airTwo8705 @setvar! myMainTankPet airTwo8706 endif8707 if EnableOverheadMessages = 18708 overhead "Hold on..." 20868709 endif8710 wait 5008711 replay 8712 endif8713 8714 if insysmsg "travel"8715 @setvar! TravelCooldownActive 18716 clearsysmsg 8717 replay8718 endif 8719 8720 if EnableOverheadMessages != 08721 if insysmsg "You hack"8722 overhead "*you fail to harvest anything...*" 3378723 clearsysmsg 8724 replay8725 elseif insysmsg "You chop some logs" 8726 if insysmsg "Harvest double yield"8727 overhead "*you double harvest logs!*" 349 8728 else 8729 overhead "*you harvest logs*" 3498730 endif8731 clearsysmsg 8732 replay8733 elseif insysmsg "You chop some dullwood logs" 8734 if insysmsg "Harvest double yield"8735 overhead "*you double harvest dullwood!*" 2419 8736 else 8737 overhead "*you harvest dullwood*" 24198738 endif8739 clearsysmsg 8740 replay8741 elseif insysmsg "You chop some shadowwood logs"8742 if insysmsg "Harvest double yield"8743 overhead "*you double harvest shadowwood!*" 2406 8744 else 8745 overhead "*you harvest shadowwood*" 24068746 endif8747 clearsysmsg 8748 replay8749 elseif insysmsg "You chop some copperwood logs" 8750 if insysmsg "Harvest double yield"8751 overhead "*you double harvest copperwood!*" 2413 8752 else 8753 overhead "*you harvest copperwood*" 24138754 endif8755 clearsysmsg 8756 replay8757 elseif insysmsg "You chop some bronzewood logs" 8758 if insysmsg "Harvest double yield"8759 overhead "*you double harvest bronzewood!*" 2418 8760 else 8761 overhead "*you harvest bronzewood*" 24188762 endif8763 clearsysmsg 8764 replay8765 elseif insysmsg "You chop some goldenwood logs" 8766 if insysmsg "Harvest double yield"8767 overhead "*you double harvest goldenwood!*" 2213 8768 else 8769 overhead "*you harvest goldenwood!*" 22138770 endif 8771 clearsysmsg 8772 replay8773 elseif insysmsg "You chop some rosewood logs" 8774 if insysmsg "Harvest double yield"8775 overhead "*you double harvest rosewood!*" 2425 8776 else 8777 overhead "*you harvest rosewood!*" 24258778 endif8779 clearsysmsg 8780 replay8781 elseif insysmsg "You chop some verewood logs" 8782 if insysmsg "Harvest double yield"8783 overhead "*you double harvest verewood!*" 2207 8784 else 8785 overhead "*you harvest verewood!*" 22078786 endif8787 clearsysmsg 8788 replay8789 elseif insysmsg "You chop some valewood logs" 8790 clearsysmsg8791 if insysmsg "Harvest double yield"8792 overhead "*you double harvest valewood!*" 2219 8793 else 8794 overhead "*you harvest valewood!*" 22198795 endif8796 clearsysmsg 8797 replay8798 elseif insysmsg "You chop some avarwood logs" 8799 if insysmsg "Harvest double yield"8800 overhead "*you double harvest avarwood!!!*" 1763 8801 if EnableOverheadMessages = 18802 overhead "Woot! Woot!!" 2086 8803 endif 8804 else 8805 overhead "*you harvest avarwood!!*" 17638806 if EnableOverheadMessages = 18807 overhead "Woot!" 20868808 endif 8809 endif8810 clearsysmsg 8811 replay8812 endif 8813 else8814 if insysmsg "You chop|You hack|Harvest double"8815 clearsysmsg8816 replay8817 endif 8818 endif 8819 endwhile 8820 replay8821 endif8822 8823 if skill "Fishing" >= 50 and EnableFishing = 1 8824 @setvar! DungeonMode 08825 8826 if insysmsg "You fish a" and EnableOverheadMessages = 18827 overhead "Nothing on that one..." 20868828 endif8829 8830 if insysmsg "You catch a fish" and EnableOverheadMessages = 18831 overhead "*you harvest fish*" 778832 endif 8833 8834 if PutSpecialNetsinLockedChest = 18835 if not findtype "wooden box" backpack or not findtype "copper key" backpack8836 if EnableOverheadMessages != 0 8837 overhead "[ NO LOCKBOX FOUND! ]" 3398838 endif 8839 wait 500 8840 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 8841 if EnableOverheadMessages != 08842 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3398843 endif 8844 wait 500 8845 elseif findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key8846 getlabel lockbox lockboxLabel8847 if "items" in lockboxLabel8848 dclick key8849 wft 10008850 target lockbox8851 wait 5008852 if EnableOverheadMessages != 0 8853 overhead "[lockbox secured]" 848854 endif 8855 endif8856 endif 8857 endif 8858 8859 if PutSpecialNetsinBag = 18860 if not varexist FishBag8861 wait 10008862 overhead "[ SELECT YOUR SPECIAL NET STORAGE BAG... ]" 888863 setvar FishBag8864 wft 5008865 while targetexists 8866 wait 1008867 endwhile8868 overhead "[ STORAGE BAG SET! ]" 938869 wait 15008870 endif 8871 endif 8872 8873 if warmode 8874 if TrawlingMode = 0 and EnableOverheadMessages != 08875 overhead "[ TRAWLING MODE... ]" 838876 endif 8877 @setvar! TrawlingMode 18878 @setvar! CastingMode 08879 if EnableTrawling = 18880 if findtype "Fishing Pole" hand or lhandempty8881 if findtype 31172|31169 self as MyFishingWeapon8882 dclick MyFishingWeapon8883 wait 2508884 else 8885 if EnableOverheadMessages = 18886 overhead "I have no harpoon or trident!" 20868887 wait 15008888 elseif EnableOverheadMessages = 28889 overhead "[ NO HARPOON ]" 3378890 endif 8891 endif8892 else8893 if timer "NetTimer" > 40008894 if findtype "fishing net" backpack as MyNet8895 dclick MyNet8896 wft 15008897 target "self"8898 settimer "NetTimer" 08899 else 8900 if EnableOverheadMessages = 18901 overhead "I have no fishing nets!" 20868902 elseif EnableOverheadMessages = 28903 overhead "[ NO NETS ]" 3378904 endif8905 settimer "NetTimer" 08906 endif8907 wait 1000 8908 if insysmsg "You do not see anything nearby that requires a fishing net"8909 if EnableOverheadMessages = 18910 overhead "Nothing here to catch with my nets..." 20868911 elseif EnableOverheadMessages = 28912 overhead "[ NOTHING TO NET ]" 3378913 endif8914 hotkey "Toggle Peace Only" 8915 replay8916 else8917 if EnableOverheadMessages = 18918 overhead "*throwing a net...*" 838919 endif 8920 endif 8921 endif8922 endif8923 else 8924 // Do nothing8925 endif8926 else 8927 if EnableOverheadMessages = 18928 if insysmsg "You fish a"8929 overhead "Nothing on that one..." 20868930 endif8931 if insysmsg "You catch a fish"8932 overhead "*you harvest fish*" 778933 endif 8934 endif8935 8936 if CastingMode = 0 and EnableOverheadMessages != 08937 overhead "[ CASTING MODE... ]" 938938 endif8939 8940 @setvar! TrawlingMode 08941 @setvar! CastingMode 18942 8943 if EnableCasting = 1 8944 if timer "CastTimer" > 75008945 if findtype 31172|31169 hand or lhandempty8946 if findtype "fishing pole" self8947 dress "Fishing Pole"8948 wait 2508949 else 8950 if EnableOverheadMessages = 18951 overhead "I have no fishing pole!" 20868952 elseif EnableOverheadMessages = 28953 overhead "[ NO POLE ]" 3378954 endif8955 settimer "CastTimer" 08956 endif8957 elseif findtype "fishing pole" hand8958 hotkey "Use item in hand"8959 wft 15008960 target "self"8961 settimer "CastTimer" 08962 endif8963 wait 10008964 if insysmsg "You may only fish inside of a house"8965 if EnableOverheadMessages = 18966 overhead "I cannot do that in here..." 20868967 elseif EnableOverheadMessages = 28968 overhead "[ NO FISHING HERE ]" 3378969 endif8970 wait 3500 8971 clearsysmsg 8972 elseif insysmsg "You do not see any harvestable" 8973 if EnableOverheadMessages = 18974 overhead "There is no fish to find here...." 20868975 elseif EnableOverheadMessages = 28976 overhead "[ NO FISHING HERE ]" 3378977 endif8978 clearsysmsg 8979 elseif EnableOverheadMessages != 0 8980 overhead "*casting a line...*" 938981 endif 8982 endif8983 if timer "SpyglassTimer" > 6500 and EnableSpyglass = 18984 gumpclose 28900209408985 if targetexists8986 hotkey "Cancel Current Target"8987 endif8988 if findtype "spyglass" self as MySpyglass8989 dclick MySpyglass8990 else 8991 if EnableOverheadMessages = 18992 overhead "I have no spyglass!" 20868993 elseif EnableOverheadMessages = 28994 overhead "[ NO SPYGLASS ]" 3378995 endif8996 @setvar! EnableSpyglass 08997 endif 8998 wft 5008999 if targetexists neutral9000 target "self"9001 endif9002 wait 5009003 if insysmsg "see anything nearby worth searching"9004 if EnableOverheadMessages != 09005 overhead "I do not see anything to search for..." 20869006 endif 9007 wait 15009008 else 9009 if EnableOverheadMessages != 09010 overhead "*using spyglass...*" 29011 endif 9012 endif 9013 waitforgump 2890020940 10009014 gumpresponse 11 28900209409015 waitforgump 2890020940 10009016 gumpresponse 4 28900209409017 waitforgump 2890020940 10009018 settimer "SpyglassTimer" 09019 endif 9020 else 9021 //Do nothing9022 endif 9023 endif 9024 9025 if counttype "cooked fish" backpack > FishCarveCount and EnableFishCarver = 1 and DisableFishCarver != 19026 while findtype "cooked fish" self as FishtoCarve9027 if findtype "dagger" self as MyKnife9028 dclick MyKnife9029 wft 1500 9030 if EnableOverheadMessages = 1 9031 overhead "*carving fish steaks...*" 09032 endif 9033 target FishtoCarve9034 else 9035 if EnableOverheadMessages = 1 9036 overhead "I have no dagger to carve these with..."9037 elseif EnableOverheadMessages = 29038 overhead "[ NO DAGGER ]" 3379039 endif9040 @setvar! DisableFishCarver 19041 break9042 endif9043 endwhile9044 endif9045 9046 if not findtype "dagger" self9047 @setvar! DisableFishCarver 19048 else 9049 @setvar! DisableFishCarver 09050 endif 9051 9052 if timer "SpecialNetCheckTimer" > 300009053 while findtype "fishing net" backpack as FishingNet 9054 getlabel FishingNet FishingNetname9055 9056 if "special" in FishingNetname9057 if EnableOverheadMessages = 19058 overhead "This net looks special.. I had better hide it!" 20869059 endif9060 9061 if PutSpecialNetsinBag = 19062 lift FishingNet9063 drop FishBag -1 -1 09064 wait 2509065 else 9066 @setvar! NeedtoSecureSpecialNet 19067 endif 9068 else 9069 @ignore FishingNet9070 endif9071 endwhile9072 settimer "SpecialNetCheckTimer" 09073 @clearignore 9074 endif 9075 9076 if PutSpecialNetsinLockedChest = 1 and NeedtoSecureSpecialNet = 19077 if not findtype "wooden box" backpack or not findtype "copper key" backpack9078 if EnableOverheadMessages != 09079 overhead "[ NO LOCKBOX FOUND! ]" 3399080 endif 9081 wait 1500 9082 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 1 9083 if EnableOverheadMessages != 09084 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3399085 endif 9086 wait 1500 9087 else 9088 if findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key 9089 getlabel lockbox lockboxLabel9090 if "items" in lockboxLabel9091 wait 5009092 if EnableOverheadMessages = 1 9093 overhead "*securing special net...*" 1499094 endif 9095 lift FishingNet9096 drop lockbox -1 -1 -19097 wait 2509098 dclick key9099 wft 15009100 target lockbox9101 if EnableOverheadMessages != 09102 overhead "[storage box locked]" 699103 endif 9104 @setvar! NeedtoSecureIngots 0 9105 else 9106 if EnableOverheadMessages != 09107 overhead "[storage box unlocked]" 849108 endif 9109 dclick key9110 wft 15009111 target lockbox 9112 if EnableOverheadMessages = 19113 overhead "*securing special net...*" 1499114 endif9115 lift FishingNet9116 drop lockbox -1 -1 -19117 wait 2509118 dclick key9119 wft 15009120 target lockbox9121 if EnableOverheadMessages != 0 9122 overhead "[storage box locked]" 699123 endif 9124 @setvar! NeedtoSecureSpecialNet 09125 endif 9126 endif9127 endif 9128 endif 9129 replay9130 endif 9131 9132 if skill "Lockpicking" >= 50 and skill "Detecting Hidden" >= 50 and EnableDungeonPicker = 1 9133 9134 @setvar! DungeonMode 1 9135 9136 if not varexist Stealthing9137 @setvar! Stealthing 09138 endif9139 9140 if not varexist ChestTarget9141 @setvar! ChestTarget 09142 endif9143 9144 if timer OrganizerTimer > 300009145 hotkey "Organizer Agent-05" 9146 settimer OrganizerTimer 09147 endif 9148 9149 if findtype "wooden box" backpack9150 @setvar! NoLockbox 09151 endif 9152 9153 while find TargetDungeonChest ground -1 -1 2 and findtype 3821|31169|31172|7109|30988|31190|31128|30988|31142|31141|31002|31130|31000|31001|31180|31182|31178|30991|30999|31014|20016|20014|20012|20010|20008|20006|30992|30997|31176|31188|30998|30989|30996|30995|31186|31184|30994|30990|30993|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|37181|4026|4025|3962|3963|3972|3973|3974|3976|3980|3981|31010|31008|31007|31006|31015|31005|31009|31012|31011|31004|31003|31191|39911|17686|31014|30994|31142|31190|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3903|12686 TargetDungeonChest as item9154 if timer "TargetTimer" > 4000 and EnableOverheadMessages != 09155 overhead "*looting chest...*" 999156 settimer "TargetTimer" 09157 endif9158 if EnableOverheadMessages != 09159 getlabel item lootDesc9160 overhead "{{lootDesc}}" 2539161 endif 9162 wait 2509163 hotkey "Grab Item"9164 target item9165 while queued9166 wait 509167 endwhile9168 endwhile9169 9170 if PutLootinLockedChest = 1 and NeedtoSecureLoot = 1 and NoLockbox != 19171 if not findtype "wooden box" backpack or not findtype "copper key" backpack9172 if EnableOverheadMessages != 09173 overhead "[ NO LOCKBOX FOUND! ]" 3399174 endif 9175 @setvar! NoLockbox 19176 wait 1500 9177 elseif counttype 2474 backpack > 1 or counttype 4110 backpack > 19178 if EnableOverheadMessages != 09179 overhead "[ TOO MANY LOCKBOXES/KEYS! ]" 3399180 endif 9181 @setvar! NoLockbox 19182 wait 1500 9183 else 9184 if findtype "wooden box" backpack as lockbox and findtype "copper key" backpack as key9185 if findtype "3821|31169|31172|7109|30988|31190|31128|30988|31142|31141|31002|31130|31000|31001|31180|31182|31178|30991|30999|31014|20016|20014|20012|20010|20008|20006|30992|30997|31176|31188|30998|30989|30996|30995|31186|31184|30994|30990|30993|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|37181|4026|4025|3962|3963|3972|3973|3974|3976|3980|3981|31010|31008|31007|31006|31015|31005|31009|31012|31011|31004|31003|31191|39911|17686|31014|30994|31142|31190|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3903|126867981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8030|8031|8032|8033|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044" backpack as loottostore 9186 getlabel lockbox lockboxLabel9187 if "items" in lockboxLabel9188 wait 5009189 if timer "NoTargetTimer" > 50009190 if EnableOverheadMessages = 19191 overhead "*securing loot...*" 4209192 endif9193 settimer "NoTargetTimer" 09194 endif 9195 else 9196 if EnableOverheadMessages != 09197 overhead "[loot box unlocked]" 849198 endif9199 dclick key9200 wft 15009201 target lockbox9202 if timer "NoTargetTimer" > 50009203 if EnableOverheadMessages = 19204 overhead "*securing loot...*" 4209205 endif 9206 settimer "NoTargetTimer" 09207 endif9208 endif 9209 9210 while findtype "3821|31169|31172|7109|30988|31190|31128|30988|31142|31141|31002|31130|31000|31001|31180|31182|31178|30991|30999|31014|20016|20014|20012|20010|20008|20006|30992|30997|31176|31188|30998|30989|30996|30995|31186|31184|30994|30990|30993|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|37181|4026|4025|3962|3963|3972|3973|3974|3976|3980|3981|31010|31008|31007|31006|31015|31005|31009|31012|31011|31004|31003|31191|39911|17686|31014|30994|31142|31190|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3903|126867981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8030|8031|8032|8033|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044" backpack as loottostore9211 if find loottostore lockbox9212 @ignore loottostore9213 else 9214 clearsysmsg 9215 lift loottostore 99999216 wait 150 9217 drop lockbox -1 -1 -19218 wait 2509219 endif9220 endwhile9221 dclick key9222 wft 15009223 target lockbox9224 if EnableOverheadMessages != 09225 overhead "[loot box locked]" 699226 endif 9227 @setvar! NeedtoSecureLoot 0 9228 wait 500 9229 endif 9230 wait 150 9231 getlabel lockbox lockboxLabel9232 if "items" in lockboxLabel9233 dclick key9234 wft 15009235 target lockbox9236 @setvar! NeedtoSecureLoot 09237 endif9238 endif9239 endif 9240 endif9241 9242 if EnableSkinningMode = 1 9243 if findtype "Elven SpellBlade" hand9244 @setvar! SkinningMode 19245 overhead "[ SKINNING MODE ON! ]" 11829246 settimer "SkinningModeTimer" 09247 wait 250 9248 9249 if hidden 9250 if findtype "clean bandage%s%" self as bandages9251 dclick bandages9252 wft 5009253 hotkey "Cancel Current Target"9254 else 9255 say "."9256 endif 9257 wait 2509258 endif 9259 9260 while SkinningMode = 19261 if hidden9262 if EnableOverheadMessages != 09263 overhead "[ SKINNING MODE OFF! ]" 11829264 endif 9265 clearhands right 9266 @setvar! SkinningMode 0 9267 replay9268 endif 9269 9270 if insysmsg "Now tracking" 9271 useskill "Hiding"9272 if EnableOverheadMessages != 09273 overhead "[ HIDING! ]" 69274 endif 9275 clearhands right 9276 @setvar! SkinningMode 0 9277 replay 9278 endif 9279 9280 if findtype "Elven SpellBlade" hand9281 // Do nothing9282 else 9283 if EnableOverheadMessages != 09284 overhead "[ SKINNING MODE OFF! ]" 11829285 endif 9286 @setvar! SkinningMode 09287 break9288 endif9289 9290 if dead9291 replay9292 endif 9293 9294 if warmode9295 @setvar! TimeToGo 19296 replay9297 endif 9298 9299 if timer "SkinningModeTimer" > 4500 and EnableOverheadMessages = 19300 overhead "[ SKINNING MODE... ]" 11829301 settimer "SkinningModeTimer" 09302 endif9303 9304 if EnableChestRadar = 1 9305 if timer "ChestRadar" >= 40009306 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 12 as DungeonChest9307 getlabel DungeonChest descChest9308 if "lock" in descChest9309 overhead "descChest" 69 DungeonChest9310 overhead "�" 69 DungeonChest 9311 settimer "ChestRadar" 09312 else 9313 overhead "�" 34 DungeonChest9314 settimer "ChestRadar" 09315 endif9316 endif9317 endif9318 endif 9319 9320 if skill "Healing" > 309321 if not bandaging 9322 if hp < maxhp or poisoned or findbuff "bleed" or findbuff "disease" 9323 if counttype "clean bandage%s%" self < 10 and counttype "clean bandage%s%" self != 09324 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09325 overhead "[ BANDAGES LOW! ]" 3399326 settimer "InventoryTimer" 09327 endif9328 if EnableOverheadMessages = 19329 overhead "*applying bandages...*" 889330 endif9331 hotkey "Bandage Self" 9332 elseif counttype "clean bandage%s%" self = 0 and timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09333 overhead "[ NO BANDAGES! ]" 3379334 settimer "InventoryTimer" 09335 elseif poisoned or findbuff "bleed" or findbuff "disease" 9336 if EnableOverheadMessages = 19337 overhead "*applying bandages...*" 889338 endif9339 hotkey "Bandage Self" 9340 else 9341 if EnableOverheadMessages = 19342 overhead "*applying bandages...*" 889343 endif9344 hotkey "Bandage Self" 9345 endif 9346 endif9347 endif 9348 endif9349 9350 if EnableHealPotion = 1 or EnableHealPotion = 29351 if diffhits > HealPotHPdiff and timer "HealingPotionTimer" > HealingPotionCooldown9352 if findtype "Yellow Potion" self as healpot9353 dclick healpot9354 wait 7509355 if insysmsg "Potion satchel used"9356 if EnableOverheadMessages = 1 9357 overhead "*drinking free heal potion...*" 2539358 endif9359 clearsysmsg9360 else 9361 if EnableOverheadMessages = 1 9362 overhead "*drinking heal potion...*" 2539363 endif9364 clearsysmsg9365 endif9366 settimer "HealingPotionTimer" 09367 cooldown "Healing Potion" HealingPotionCooldown9368 else 9369 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09370 overhead "[ NO HEAL POTS! ]" 3379371 settimer "InventoryTimer" 09372 endif9373 endif9374 wait 500 9375 endif9376 endif 9377 9378 if EnableCurePotion = 1 or EnableCurePotion = 29379 if poisoned and timer "CurePotionTimer" > CurePotionCooldown9380 if findtype "Orange Potion" self as curepot9381 dclick curepot9382 wait 5009383 if insysmsg "Potion satchel used"9384 if EnableOverheadMessages = 1 9385 overhead "*drinking free cure potion...*" 449386 endif9387 clearsysmsg9388 else 9389 if EnableOverheadMessages = 1 9390 overhead "*drinking cure potion...*" 449391 endif9392 clearsysmsg9393 endif9394 settimer "CurePotionTimer" 09395 cooldown "Cure Potion" CurePotionCooldown9396 else9397 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09398 overhead "[ NO CURE POTS! ]" 3379399 settimer "InventoryTimer" 09400 endif9401 endif9402 wait 500 9403 endif9404 endif 9405 9406 if EnableRefreshPotion = 1 or EnableRefreshPotion = 29407 if diffstam >= RefreshPotSPdiff and timer "RefreshPotionTimer" > RefreshPotionCooldown9408 if findtype "Red Potion" self as refreshpot9409 dclick refreshpot9410 wait 5009411 if insysmsg "Potion satchel used"9412 if EnableOverheadMessages = 1 9413 overhead "*drinking free refresh potion...*" 349414 endif9415 clearsysmsg9416 else 9417 if EnableOverheadMessages = 1 9418 overhead "*drinking refresh potion...*" 349419 endif9420 clearsysmsg9421 endif9422 settimer "RefreshPotionTimer" 09423 cooldown "Refresh Potion" RefreshPotionCooldown9424 else 9425 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09426 overhead "[ NO REFRESH POTS! ]" 3379427 settimer "InventoryTimer" 09428 endif9429 endif9430 wait 500 9431 endif9432 endif 9433 9434 if EnableMagicResistPotion = 19435 if not findbuff "Magic Resist Potion"9436 if findtype "Black Potion" self as magicresistpot9437 dclick magicresistpot9438 wait 5009439 if EnableOverheadMessages = 1 9440 if insysmsg "Potion satchel used" 9441 overhead "*drinking free resist potion*" 24069442 clearsysmsg9443 else 9444 overhead "*drinking resist potion*" 24069445 clearsysmsg9446 endif9447 endif 9448 else 9449 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09450 overhead "[ NO RESIST POTS! ]" 3379451 settimer "InventoryTimer" 09452 endif9453 endif9454 wait 5009455 endif9456 endif9457 9458 if EnableStrengthPotion = 1 9459 if skill "Alchemy" = 1 9460 if insysmsg "You may now use a strength" or not findbuff "Strength"9461 if findtype "White Potion" self as strengthpot9462 dclick strengthpot9463 wait 5009464 if EnableOverheadMessages = 1 9465 if insysmsg "Potion satchel used" 9466 overhead "*drinking free strength potion*" 9569467 clearsysmsg9468 else 9469 overhead "*drinking strength potion*" 9569470 clearsysmsg9471 endif9472 endif9473 else 9474 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09475 overhead "[ NO STRENGTH POTS! ]" 3379476 settimer "InventoryTimer" 09477 endif9478 endif9479 wait 5009480 endif9481 elseif not findbuff "Strength"9482 if findtype "White Potion" self as strengthpot9483 dclick strengthpot9484 wait 5009485 if EnableOverheadMessages = 1 9486 if insysmsg "Potion satchel used" 9487 overhead "*drinking free strength potion*" 9569488 clearsysmsg9489 else 9490 overhead "*drinking strength potion*" 9569491 clearsysmsg9492 endif9493 endif9494 else 9495 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09496 overhead "[ NO STRENGTH POTS! ]" 3379497 settimer "InventoryTimer" 09498 endif9499 endif9500 wait 5009501 endif9502 endif9503 9504 if EnableAgilityPotion = 19505 if not findbuff "Agility"9506 if findtype "Blue Potion" self as agilitypot9507 dclick agilitypot9508 wait 5009509 if EnableOverheadMessages = 1 9510 if insysmsg "Potion satchel used" 9511 overhead "*drinking free agility potion*" 939512 clearsysmsg9513 else 9514 overhead "*drinking agility potion*" 939515 clearsysmsg9516 endif9517 endif9518 else 9519 if timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09520 overhead "[ NO AGILITY POTS! ]" 3379521 settimer "InventoryTimer" 09522 endif9523 endif9524 wait 5009525 endif9526 endif9527 9528 if findtype "Elven SpellBlade" self9529 dclicktype "Elven Spellblade"9530 wft 15009531 target "self"9532 wait 5009533 if insysmsg "You dont see anything"9534 wait 5009535 clearsysmsg 9536 else 9537 wait 20009538 clearsysmsg 9539 endif 9540 else 9541 if timer "InventoryTimer" > 15000 and EnableOverheadMessages != 09542 overhead "[ NO SKINNING KNIFE! ]" 3379543 settimer "InventoryTimer" 09544 endif9545 endif 9546 9547 if EnableGoldVacuum = 19548 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 35009549 if EnableOverheadMessages = 19550 overhead "[ $ ]" 149 droppedmoney9551 endif 9552 overhead "�" 149 droppedmoney9553 settimer "GoldRadar" 09554 endif9555 while findtype "gold coin" ground -1 -1 2 as finderskeepers 9556 overhead " � " 1499557 hotkey "Grab Item"9558 wft 25009559 target finderskeepers9560 wait 5009561 if insysmsg "Invalid or inaccessible item"9562 wait 5009563 @ignore finderskeepers9564 endif 9565 wait 500 9566 endwhile 9567 endif 9568 9569 if EnableDungeonCleanup = 1 9570 if findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 18 as AnotherMansTreasure and timer "DungeonCleanupRadar" > 3500 9571 # '9572 overhead "�" 333 AnotherMansTreasure9573 settimer "DungeonCleanupRadar" 09574 endif9575 while findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 2 as AnotherMansTreasure and timer "DungeonCleanupTimer" > 5009576 # '9577 if timer "InventoryTimer" > 3500 and EnableOverheadMessages = 19578 overhead "[ CLEANUP... ]" 3339579 settimer "InventoryTimer" 09580 endif9581 hotkey "Grab Item"9582 wft 25009583 target AnotherMansTreasure 9584 wait 5009585 if insysmsg "Invalid or inaccessible item"9586 if EnableOverheadMessages = 19587 overhead "I cannot get to that!" 20869588 wait 5009589 endif 9590 @ignore AnotherMansTreasure 9591 endif 9592 settimer "DungeonCleanupTimer" 09593 endwhile9594 endif 9595 endwhile9596 endif 9597 endif9598 9599 if hidden and not cooldown "Hiding"9600 @setvar! Stealthing 19601 endif 9602 9603 if not hidden 9604 if warmode9605 @setvar! TimeToGo 19606 replay 9607 endif 9608 9609 if dead9610 replay9611 endif 9612 9613 if EnableGoldVacuum = 19614 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 35009615 if EnableOverheadMessages = 19616 overhead "[ $ ]" 149 droppedmoney9617 endif 9618 overhead "�" 149 droppedmoney9619 settimer "GoldRadar" 09620 endif9621 while findtype "gold coin" ground -1 -1 2 as finderskeepers 9622 overhead " � " 1499623 hotkey "Grab Item"9624 wft 25009625 target finderskeepers9626 wait 5009627 if insysmsg "Invalid or inaccessible item"9628 wait 5009629 @ignore finderskeepers9630 endif 9631 wait 500 9632 endwhile 9633 endif 9634 9635 if EnableDungeonCleanup = 1 9636 if findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 18 as AnotherMansTreasure and timer "DungeonCleanupRadar" > 3500 9637 # ' 9638 overhead "�" 333 AnotherMansTreasure9639 settimer "DungeonCleanupRadar" 09640 endif9641 while findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 2 as AnotherMansTreasure and timer "DungeonCleanupTimer" > 5009642 # '9643 if timer "InventoryTimer" > 3500 and EnableOverheadMessages = 19644 overhead "[ CLEANUP... ]" 3339645 settimer "InventoryTimer" 09646 endif9647 hotkey "Grab Item"9648 wft 25009649 target AnotherMansTreasure 9650 wait 5009651 if insysmsg "Invalid or inaccessible item"9652 if EnableOverheadMessages = 19653 overhead "I cannot get to that!" 20869654 wait 5009655 endif 9656 @ignore AnotherMansTreasure 9657 endif 9658 settimer "DungeonCleanupTimer" 09659 endwhile9660 endif 9661 9662 if EnableChestRadar = 1 9663 if timer "ChestRadar" >= 40009664 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 18 as DungeonChest9665 getlabel DungeonChest descChest9666 if "lock" in descChest9667 overhead "descChest" 69 DungeonChest9668 overhead "�" 69 DungeonChest 9669 settimer "ChestRadar" 09670 else 9671 overhead "�" 34 DungeonChest9672 settimer "ChestRadar" 09673 endif9674 endif9675 endif9676 endif 9677 9678 if findtype "Elven SpellBlade" self9679 if findtype "corpse" ground -1 -1 2 as deadbody9680 dclicktype "Elven Spellblade"9681 wft 15009682 target "self"9683 wait 7509684 if insysmsg "see anything"9685 @ignore deadbody9686 clearsysmsg 9687 else 9688 @ignore deadbody9689 cooldown "Hiding" 20009690 endif9691 endif 9692 else9693 if timer "InventoryTimer" > 15000 and EnableOverheadMessages != 09694 overhead "[ NO SKINNING KNIFE! ]" 3379695 sysmsg "Disable 'EnableAutoCarving' in script variables to turn off this overhead message!" 09696 settimer "InventoryTimer" 09697 endif9698 endif 9699 9700 if skill "Healing" > 309701 if not bandaging 9702 if hp < maxhp or poisoned or findbuff "bleed" or findbuff "disease" 9703 if counttype "clean bandage%s%" self < 10 and counttype "clean bandage%s%" self != 09704 replay 9705 elseif counttype "clean bandage%s%" self = 0 and timer "InventoryTimer" > 6000 and EnableOverheadMessages != 09706 replay9707 elseif poisoned or findbuff "bleed" or findbuff "disease" 9708 replay9709 else 9710 replay 9711 endif 9712 endif9713 endif 9714 endif 9715 9716 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 2 as TargetDungeonChest and EnableAutoPickDungeonChests = 19717 getlabel TargetDungeonChest TargetDungeonChestdesc9718 if "lock" in TargetDungeonChestdesc9719 dclick TargetDungeonChest9720 @setvar! ChestTarget TargetDungeonChest9721 wait 500 9722 @setvar! TimetoPick 09723 @setvar! NeedtoRemoveTrap 19724 9725 for 59726 if EnableOverheadMessages != 0 9727 overhead "*working on chest...*" 11829728 endif 9729 9730 if not hidden and not cooldown "Hiding" and timer "StealthCheck > 105009731 useskill "Hiding"9732 endif 9733 9734 settimer "ChestRadar" 09735 9736 while gumpexists 7360380709737 if not hidden and not cooldown "Hiding" and timer "StealthCheck" > 105009738 useskill "Hiding"9739 endif 9740 9741 if insysmsg "successfully cleared it of traps"9742 if EnableOverheadMessages != 0 9743 overhead "*screech*" 2114 TargetDungeonChest9744 endif9745 if EnableOverheadMessages = 19746 overhead "There! That should disable the traps..." 20869747 endif 9748 settimer "ChestRadar" 09749 clearsysmsg 9750 wait 5009751 @setvar! TimetoPick 19752 if findtype "lockpicks" backpack as Lockpicks and TimetoPick = 19753 gumpresponse 4 7360380709754 else 9755 if EnableOverheadMessages = 19756 overhead "I am out of lockpicks!" 20869757 elseif EnableOverheadMessages = 29758 overhead "[ NO LOCKPICKS! ]" 3379759 endif9760 endif9761 endif 9762 9763 if NeedtoRemoveTrap = 19764 if findtype "drill" backpack as RemoveTrapTool9765 gumpresponse 7 7360380709766 wait 2509767 if insysmsg "You do not have any trap tools of that material"9768 gumpresponse 5 7360380709769 endif9770 @setvar! NeedtoRemoveTrap 09771 else 9772 if EnableOverheadMessages = 19773 overhead "I am out of trap removal tools!" 20869774 elseif EnableOverheadMessages = 2 9775 overhead "[ NO TRAP TOOLS! ]" 3379776 endif9777 replay9778 endif9779 endif9780 9781 if insysmsg "successfully pick the lock"9782 if EnableOverheadMessages != 09783 overhead "*click*" 2117 TargetDungeonChest9784 endif 9785 if EnableOverheadMessages = 19786 overhead "Bingo! That does it..." 20869787 endif 9788 settimer "ChestRadar" 09789 wait 5009790 clearsysmsg 9791 replay 9792 endif 9793 wait 5009794 endwhile9795 endfor 9796 else 9797 if timer "NoTargetTimer" > 40009798 if EnableOverheadMessages = 19799 overhead "This one is already empty..." 20869800 endif 9801 settimer "NoTargetTimer" 09802 endif 9803 endif 9804 endif 9805 endif9806 9807 wait 2509808 9809 while cooldown "Hiding" 9810 if warmode 9811 @setvar! TimeToGo 19812 replay9813 endif 9814 9815 if findtype "Elven SpellBlade" hand9816 replay9817 endif9818 9819 if timer "TargetTimer" > 2500 and EnableOverheadMessages != 09820 overhead "� WAIT... �" 2539821 settimer "TargetTimer" 09822 endif 9823 9824 if not hidden9825 settimer HidingTimer 0 9826 replay9827 endif 9828 9829 if not cooldown "Hiding" 9830 settimer "TargetTimer" 09831 break9832 endif 9833 endwhile9834 9835 wait 250 9836 9837 while hidden and Stealthing = 09838 @setvar! ChestTarget 09839 wait 5009840 9841 if not hidden9842 settimer HidingTimer 0 9843 replay9844 endif9845 9846 if findtype "Elven SpellBlade" hand9847 replay9848 endif9849 9850 if EnableChestRadar = 1 9851 if timer "ChestRadar" >= 45009852 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 18 as DungeonChest9853 getlabel DungeonChest descChest9854 if "lock" in descChest9855 overhead "descChest" 69 DungeonChest9856 overhead "�" 69 DungeonChest 9857 settimer "ChestRadar" 09858 else 9859 overhead "�" 34 DungeonChest9860 settimer "ChestRadar" 09861 endif9862 endif 9863 endif9864 endif 9865 9866 if insysmsg "You feel comfortable enough"9867 if EnableOverheadMessages != 09868 overhead "� READY! �" 699869 endif 9870 settimer "TargetTimer" 09871 clearsysmsg 9872 while not insysmsg "You begin to move quietly."9873 if timer OrganizerTimer > 300009874 hotkey "Organizer Agent-05" 9875 settimer OrganizerTimer 09876 endif 9877 9878 if not hidden9879 settimer HidingTimer 0 9880 replay9881 endif 9882 9883 if warmode 9884 @setvar! TimeToGo 19885 replay9886 endif 9887 9888 if timer "TargetTimer" > 4000 and EnableOverheadMessages != 09889 overhead "� . . . �" 699890 settimer "TargetTimer" 09891 endif9892 9893 if EnableSkinningMode = 1 9894 if findtype "Elven SpellBlade" hand9895 @setvar! SkinningMode 19896 break9897 endif 9898 endif 9899 9900 if EnableChestRadar = 1 9901 if timer "ChestRadar" >= 45009902 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 18 as DungeonChest9903 getlabel DungeonChest descChest9904 if "lock" in descChest9905 overhead "descChest" 69 DungeonChest9906 overhead "�" 69 DungeonChest 9907 settimer "ChestRadar" 09908 else 9909 overhead "�" 34 DungeonChest9910 settimer "ChestRadar" 09911 endif9912 endif9913 endif9914 endif 9915 9916 if Stealthing = 1 9917 wait 2509918 break9919 endif 9920 9921 if insysmsg "You begin to move quietly"9922 if EnableOverheadMessages != 09923 overhead "� START �" 69 9924 endif 9925 settimer "StealthCheck" 09926 settimer "TargetTimer" 09927 @setvar! Stealthing 19928 clearsysmsg 9929 break9930 endif 9931 9932 if insysmsg "Now tracking" 9933 replay9934 endif 9935 endwhile9936 9937 if insysmsg "You begin to move quietly"9938 @setvar! Stealthing 19939 clearsysmsg 9940 break9941 endif 9942 endif 9943 endwhile9944 9945 if insysmsg "You begin to move quietly"9946 @setvar! Stealthing 19947 clearsysmsg 9948 wait 5009949 endif 9950 9951 while Stealthing = 19952 if dead9953 replay9954 endif 9955 9956 if not hidden9957 @setvar! Stealthing 09958 replay9959 endif 9960 9961 if timer OrganizerTimer > 300009962 hotkey "Organizer Agent-05" 9963 settimer OrganizerTimer 09964 endif 9965 9966 if warmode 9967 @setvar! TimeToGo 19968 replay9969 endif 9970 9971 if findtype "Elven SpellBlade" hand9972 replay9973 endif9974 9975 if insysmsg "You will automatically stealth when out of steps."9976 @setvar! KeepOnTruckin 19977 clearsysmsg 9978 elseif timer "StealthCheck" < 105009979 @setvar! KeepOnTruckin 09980 endif 9981 9982 if insysmsg "You begin to move quietly"9983 settimer "StealthCheck" 09984 cooldown "Stealth" 105009985 settimer "TargetTimer" 09986 @setvar! Stealthing 19987 clearsysmsg 9988 endif9989 9990 if insysmsg "You feel ready to continue stealthing."9991 @setvar! KeepOnTruckin 1 9992 clearsysmsg9993 endif 9994 9995 if insysmsg "You have 1 stealth steps" or insysmsg "You have 0 stealth steps"9996 if KeepOnTruckin = 1 or insysmsg "You feel ready to continue stealthing."9997 @setvar! KeepOnTruckin 09998 if timer "TargetTimer" > 2500 and EnableOverheadMessages != 0 9999 overhead "� KEEP GOING! �" 6910000 settimer "TargetTimer" 010001 endif 10002 clearsysmsg 10003 else 10004 clearsysmsg 10005 while timer "StealthCheck" < 1050010006 if timer "StealthTimer" > 500 and EnableOverheadMessages != 010007 overhead "� SLOW... �" 14910008 settimer "StealthTimer" 0 10009 settimer "TargetTimer" 010010 clearsysmsg 10011 endif10012 10013 if not hidden 10014 @setvar! Stealthing 010015 replay10016 endif10017 10018 if timer "StealthCheck" > 1050010019 break10020 endif10021 10022 if insysmsg "You have 0 stealth steps remaining."10023 clearsysmsg10024 if KeepOnTruckin = 1 or insysmsg "You feel ready to continue stealthing."10025 @setvar! KeepOnTruckin 010026 10027 if timer "TargetTimer" > 2500 and EnableOverheadMessages != 010028 overhead "� KEEP GOING! �" 6910029 settimer "TargetTimer" 010030 endif 10031 else 10032 while timer "StealthCheck" < 1050010033 if timer "StealthTimer" > 500 and EnableOverheadMessages != 010034 overhead "� STOP! �" 3710035 settimer "StealthTimer" 0 10036 settimer "TargetTimer" 010037 clearsysmsg 10038 endif10039 10040 if insysmsg "You feel ready to continue stealthing" and EnableOverheadMessages != 010041 overhead "� READY! �" 6910042 settimer "TargetTimer" 010043 wait 50010044 clearsysmsg 10045 break10046 endif10047 10048 if not hidden 10049 @setvar! Stealthing 010050 replay10051 endif10052 10053 if timer "StealthCheck" > 1050010054 break10055 endif 10056 endwhile10057 endif 10058 endif 10059 10060 if EnableChestRadar = 1 10061 if timer "ChestRadar" >= 450010062 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 18 as DungeonChest10063 getlabel DungeonChest descChest10064 if "lock" in descChest10065 overhead "descChest" 69 DungeonChest10066 overhead "�" 69 DungeonChest 10067 settimer "ChestRadar" 010068 else 10069 overhead "�" 34 DungeonChest10070 settimer "ChestRadar" 010071 endif10072 endif 10073 endif10074 endif 10075 endwhile10076 endif 10077 endif 10078 10079 if insysmsg "You feel ready to continue stealthing" and EnableOverheadMessages != 010080 overhead "� READY! �" 6910081 settimer "TargetTimer" 010082 wait 50010083 clearsysmsg 10084 endif10085 10086 if timer "TargetTimer" > 4000 and not cooldown "Hiding" and timer "StealthCheck" > 10500 and EnableOverheadMessages != 010087 overhead "�" 6910088 settimer "TargetTimer" 010089 endif10090 10091 if EnableSkinningMode = 1 10092 if findtype "Elven SpellBlade" hand10093 @setvar! SkinningMode 110094 replay10095 endif 10096 endif 10097 10098 if EnableGoldVacuum = 110099 if findtype "gold coin" ground -1 -1 12 as droppedmoney and timer "GoldRadar" > 350010100 if EnableOverheadMessages = 110101 overhead "[ $ ]" 149 droppedmoney10102 endif 10103 overhead "�" 149 droppedmoney10104 settimer "GoldRadar" 010105 endif10106 10107 while findtype "gold coin" ground -1 -1 2 as finderskeepers 10108 overhead " � " 14910109 hotkey "Grab Item"10110 wft 250010111 target finderskeepers10112 wait 50010113 if insysmsg "Invalid or inaccessible item"10114 wait 50010115 @ignore finderskeepers10116 endif 10117 wait 500 10118 endwhile 10119 endif 10120 10121 if EnableDungeonCleanup = 1 10122 if findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 18 as AnotherMansTreasure and timer "DungeonCleanupRadar" > 3500 10123 # '10124 overhead "�" 333 AnotherMansTreasure10125 settimer "DungeonCleanupRadar" 010126 endif10127 10128 while findtype "iron ingot%s|board%s|cut up leather|Ginseng|Garlic|Blood Moss|Sulfurous Ash|Mandrake Root%s%|Nightshade|Black Pearl%s%|Spider's Silk" ground -1 -1 2 as AnotherMansTreasure and timer "DungeonCleanupTimer" > 50010129 # '10130 if timer "InventoryTimer" > 3500 and EnableOverheadMessages = 110131 overhead "[ CLEANUP... ]" 33310132 settimer "InventoryTimer" 010133 endif10134 hotkey "Grab Item"10135 wft 250010136 target AnotherMansTreasure 10137 wait 50010138 if insysmsg "Invalid or inaccessible item"10139 if EnableOverheadMessages = 110140 overhead "I can't get to that!" 208610141 # '10142 endif 10143 wait 50010144 @ignore AnotherMansTreasure 10145 endif 10146 settimer "DungeonCleanupTimer" 010147 endwhile10148 endif 10149 10150 if EnableChestRadar = 1 10151 if timer "ChestRadar" >= 450010152 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 18 as DungeonChest10153 getlabel DungeonChest descChest10154 if "lock" in descChest10155 overhead "descChest" 69 DungeonChest10156 overhead "�" 69 DungeonChest 10157 settimer "ChestRadar" 010158 else 10159 overhead "�" 34 DungeonChest10160 settimer "ChestRadar" 010161 endif10162 endif10163 endif10164 endif 10165 10166 if findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 2 as TargetDungeonChest and EnableAutoPickDungeonChests = 110167 getlabel TargetDungeonChest TargetDungeonChestdesc10168 if "lock" in TargetDungeonChestdesc10169 dclick TargetDungeonChest10170 @setvar! ChestTarget TargetDungeonChest10171 wait 500 10172 @setvar! TimetoPick 010173 @setvar! NeedtoRemoveTrap 110174 10175 for 1010176 if EnableOverheadMessages != 010177 overhead "*working on chest...*" 118210178 endif10179 10180 if not hidden and not cooldown "Hiding" and timer "StealthCheck" > 10500 10181 useskill "Hiding"10182 endif 10183 10184 settimer "ChestRadar" 010185 10186 while gumpexists 73603807010187 if not hidden and not cooldown "Hiding" and timer "StealthCheck" > 10500 10188 useskill "Hiding"10189 endif 10190 10191 if insysmsg "successfully cleared it of traps"10192 if EnableOverheadMessages != 010193 overhead "*screech*" 2114 TargetDungeonChest10194 endif 10195 if EnableOverheadMessages = 110196 overhead "There! That should disable the traps..." 208610197 endif 10198 settimer "ChestRadar" 010199 clearsysmsg 10200 wait 50010201 @setvar! TimetoPick 110202 if findtype "lockpicks" backpack as Lockpicks and TimetoPick = 110203 gumpresponse 4 73603807010204 else 10205 if EnableOverheadMessages = 110206 overhead "I am out of lockpicks!" 208610207 elseif EnableOverheadMessages = 210208 overhead "[ NO LOCKPICKS! ]" 33710209 endif 10210 endif10211 endif 10212 10213 if NeedtoRemoveTrap = 110214 if findtype "drill" backpack as RemoveTrapTool10215 gumpresponse 7 73603807010216 wait 25010217 if insysmsg "You do not have any trap tools of that material"10218 gumpresponse 5 73603807010219 endif10220 @setvar! NeedtoRemoveTrap 010221 else 10222 if EnableOverheadMessages = 110223 overhead "I am out of trap removal tools!" 208610224 elseif EnableOverheadMessages = 210225 overhead "[ NO TRAP TOOLS! ]" 33710226 endif 10227 replay10228 endif10229 endif10230 10231 if insysmsg "successfully pick the lock" 10232 if EnableOverheadMessages != 010233 overhead "*click*" 2117 TargetDungeonChest10234 endif 10235 10236 if EnableOverheadMessages = 110237 overhead "Bingo! That does it..." 208610238 endif 10239 10240 settimer "ChestRadar" 010241 wait 50010242 clearsysmsg 10243 replay 10244 endif 10245 wait 50010246 endwhile10247 endfor 10248 else 10249 if timer "TargetTimer" > 4000 10250 if EnableOverheadMessages = 110251 overhead "This one is already empty..." 208610252 endif 10253 settimer "TargetTimer" 010254 endif 10255 endif 10256 @setvar! NeedtoSecureLoot 110257 replay10258 endif10259 endwhile10260 replay 10261 endif 10262 replay10263elseif dead10264 if EnableOverheadMessages != 010265 overhead "[ R.I.P. ]" 33710266 endif 10267 wait 150010268 settimer "TargetTimer" 010269 settimer "NoTargetTimer" 400010270 settimer "InventoryTimer" 010271 while dead10272 @setvar! DEAD 110273 10274 if EnableResetLoadoutAfterDeath = 110275 @setvar! ResetLoadout 110276 else 10277 @setvar! ResetLoadout 010278 endif 10279 wait 50010280 10281 if timer "NoTargetTimer" > 4000 and EnableOverheadMessages != 010282 overhead "[ FIND A HEALER! ]" 010283 settimer "NoTargetTimer" 010284 endif 10285 10286 if findtype "blue moongate|30528|moongate" ground -1 -1 12 as EscapeGate and EnableOverheadMessages != 010287 if timer "TargetTimer" > 100010288 overhead " � " 253 EscapeGate10289 settimer "TargetTimer" 010290 endif 10291 endif10292 10293 while gumpexists 377319980010294 gumpresponse 1610295 wait 50010296 waitforgump 377319980010297 gumpresponse 210298 if EnableOverheadMessages = 110299 overhead "[ GATING TO TOWN... ]" 8810300 endif 10301 break10302 endwhile 10303 10304 while gumpexists 295781022510305 if EnableOverheadMessages = 110306 overhead "[ HEALED! ]" 8410307 endif10308 gumpresponse 110309 wait 100010310 gumpclose 295781022510311 10312 if EnableDressAfterRessurection = 110313 wait 100010314 if skill "Mining" >= 50 and EnableMining = 110315 dress 'Miner'10316 elseif skill "Lumberjacking" >= 50 and EnableLumberjacking = 110317 dress 'Lumberjack'10318 elseif skill "Fishing" >= 50 and EnableFishing = 110319 dress 'Fisherman'10320 elseif skill "Lockpicking" >= 50 and EnableDungeonPicker = 110321 dress 'Scavenger'10322 endif10323 wait 50010324 while queued10325 wait 10010326 endwhile10327 wait 100010328 if skill "Mining" >= 50 and EnableMining = 110329 dress 'Miner'10330 elseif skill "Lumberjacking" >= 50 and EnableLumberjacking = 110331 dress 'Lumberjack'10332 elseif skill "Fishing" >= 50 and EnableFishing = 110333 dress 'Fisherman'10334 elseif skill "Lockpicking" >= 50 and EnableDungeonPicker = 110335 dress 'Scavenger'10336 endif10337 endif10338 10339 wait 50010340 dclick backpack10341 10342 if EnableRecallAfterRessurection = 110343 @setvar! TimeToGo 110344 @setvar! ResThenTimeToGo 110345 wait 100010346 replay 10347 else10348 wait 250010349 overhead "[ STOPPING SCRIPT ]" 8410350 stop10351 endif10352 endwhile 10353 endwhile10354endif10355replay10356 10357 10358////////////////10359// THE END! //10360////////////////10361 10362 10363 