Razor script
DanStock's ULTIMATE LUMBER AUTO PILOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!)
by danstock._98439 · 4379 lines
DanStock's ULTIMATE LUMBER AUTO PILOT UO OUTLANDS RAZOR SCRIPT - Last Updated Nov 28, 2024 LUMBER AUTOBOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!) Compiled by DanStock. - Email any bug reports/tips to dan@danstockman.com…
GatheringCombatMagicMeditationHidingTracking
DanStocks ULTIMATE LUMBER AUTO PILOT DEXXER MAGE ANDOR SUMMONER w AUTO RECALL MORE.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/fd65da44-0eeb-4efa-8dc2-0c05be2078cb for latest2# Automation by Jaseowns3## Script: DanStock's ULTIMATE LUMBER AUTO PILOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!)4## Created by: danstock._98439#05#############################################6 7/////////8//////// DanStock's ULTIMATE LUMBER AUTO PILOT UO OUTLANDS RAZOR SCRIPT - Last Updated Nov 28, 20249///////10////// LUMBER AUTOBOT (DEXXER, MAGE AND/OR SUMMONER w/ AUTO RECALL & MORE!) 11///// 12//// Compiled by DanStock. - Email any bug reports/tips to dan@danstockman.com13/// Inspired by & learned from many scripts found on https://outlands.uorazorscripts.com/14// 15 16 17 ##########################################################################################################18 #### PLEASE READ SCRIPT DETAILS BELOW FOR IMPORTANT COOLDOWN, FILTER AND VARIABLE INSTRUCTIONS! ####19 #### Most features are turned OFF by default and can be enabled below. ####20 ##########################################################################################################21 22 23 24 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////25 ///// ANYTIME YOU NEED TO RESET OR CHANGE PERMANENT VARIABLES (ie. ESCAPE RUNEBOOKS, TREASURE CHEST, INGOT AND BOARD BAGS) ///// 26 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////27 // //28 // //29 // Run script once with this SCRIPTRESET set to 1 to clear ALL variables. //30 // Then reset SCRIPTRESET back to 0 and restart script to prompt for new targets! //31 // //32 @setvar! SCRIPTRESET 033 // // 34 // This will reset the script to it's "first run" status if something goes wrong in the initial setup! //35 // //36 // - DanStock. //37 // (aka. Pax Augustus of Terran) //38 // //39 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////40 41 42# Required (or suggested *) inventory items:43 44 # Hatchet45 # A blessed escape runebook (charged w/ recall scrolls if no Magery skill)46 # Trapped pouches 47 # Healing, Cure and Refresh potions (Resist and Strength pots too *)48 # Skinning knife *49 # Bandages * 50 # Adventurer's rope *51 # Tool Kit *52 # Potion Satchel *53 # Wizard's Satchel (w/ regs) *54 # Magic Mushrooms *55 # Harvest Aspect weapon of choice (script supports Swords, Macing or Spellbook) *56 # Harvest Aspect armour of choice *57 58 59# IMPORTANT: Please add the following COOLDOWNS (case sensitive) in UO client under Options -> Cooldowns:60 61 // Healing Potion62 // Cure Potion63 // Refresh Potion64 // Travel65 // Target Timer66 // Move Timer67 // Weight Timer68 // Inventory Timer69 // Satchel Timer70 // Gold Radar71 // Ore Vacuum72 // Gold Vacuum73 // HarmCD74 // WeakenCD75 // CurseCD76 // MindblastCD77 // MagicArrowCD78 // FireballCD79 // LightningCD80 // ExplosionCD81 // EnergyBoltCD82 // FlamestrikeCD83 // MeteorSwarmCD84 // ChainLightningCD85 // Spirit Speak86 // Mushroom87 // Magic Shield88 // Spell Fail (w/ overhead text trigger of "The spell fizzles" and a 2 second default cooldown)89 90 91# Use the following optional organizer agents (or swap for your own):92 93 # Organizer Agent-01 hotbag (for boards, logs, seeds, etc.)94 # Organizer Agent-02 hotbag (for main LUMBER inventory items)95 96 # Organizer Agent-05 hotbag * (optional - for unloading at HOME or INN ROOM - Turn on EnableOrganizerAgents below)97 // See Shared Variables section below to turn on or off the use of Resource Stockpile, Storage Shelf, Bank Safe and Magic Item Recycler in lieu of Organizer Agent-05!98 99 // Use the following optional agents to unload non-stockpile or shelf items (Turn on EnableTreasureChest below):100 # Organizer Agent-06 hotbag * (optional - I use for unloading Tmaps, SS, orbs, RM, etc.)101 # Organizer Agent-07 hotbag * (optional - I use for unloading Runes)102 # Organizer Agent-08 hotbag * (optional - I use for unloading Black Goods, etc.)103 # Organizer Agent-09 hotbag * (optional - I use for unloading seeds, soil, grain, etc.)104 105 106# Optional system messages to TEXT FILTER in Razor for cleaner UI:107 108 // "What do you want to use this item on?" 109 // "You do not see any harvestable resources nearby"110 // "You cannot produce any wood from that"111 // "You hack at the tree"112 // "You chop some"113 // "You must wait"114 // "You shape the logs into boards"115 // "You do not see any"116 // "You do not have any"117 // "Lumberjacking skillgain"118 // "No one matching that"119 // "You will now hunt"120 // "Organize Agent"121 // "queue"122 // "Macro"123 // "Achievement"124 // "You have worn out your tool"125 // "You carve materials from the corpse"126 // "Target item to grab"127 // "There are no nearby corpses"128 // "item to satchel"129 // "You begin hunting"130 // "Container not set"131 // "Invalid or inaccessible item"132 133 134 135 #################################################136 // Shared Variables: //137 #################################################138 139@setvar! EnableRedAlertRecall 1140@setvar! EnableParalyzePouch 1141@setvar! EnableAutoAttackGreyMOB 1142 143@setvar! EnableHealPotion 1144@setvar! HealPotHP 45145 146@setvar! EnableCurePotion 1147@setvar! CurePotHP 85148 149@setvar! EnableRefreshPotion 1150@setvar! RefreshPotSPdiff 11151 152 // Enable for auto buff check and consumption during combat:153@setvar! EnableMagicResistPotion 0154@setvar! EnableStrengthPotion 0155@setvar! EnableAgilityPotion 0156 157@setvar! AllInventoryMessage 1158 // or159@setvar! YellowInventoryMessage 1160@setvar! OrangeInventoryMessage 1161@setvar! RedInventoryMessage 1162@setvar! WhiteInventoryMessage 0163@setvar! BlueInventoryMessage 0164@setvar! BlackInventoryMessage 0165@setvar! RopeInventoryMessage 0166 167@setvar! EnableAutoCarving 0168@setvar! EnableGoldVacuum 0169@setvar! EnableCheeseTimer 0170@setvar! EnableToolCountdown 0171@setvar! EnableRecycleTool 0172@setvar! EnableSatchels 0173@setvar! EnableWeaponWarning 0174 175 // Choose only one (or none) for AUTO RECALL destination:176@setvar! OwnerInnRecall 0 177@setvar! CoOwnerInnRecall 0178@setvar! HouseRecall 0179 180 # Use ">info" to ID your own house door:181@setvar! MyDoor 0x50F70A17182@setvar! HideAtHomeorInn 1183 184 # Script can use Razor Organizer Agents to organize or you can use Resource Stockpile, Storage Shelf, etc. instead:185@setvar! EnableOrganizerAgents 0186 // or187@setvar! EnableBankSafe 0188@setvar! EnableStockpile 0189@setvar! EnableStorageShelf 0190@setvar! EnableMagicRecycler 0191@setvar! EnableRepairBench 0192@setvar! EnableTreasureChest 0193 194 195 #################################################196 // Lumber Specific Variables: //197 #################################################198 199@setvar! LogsToBoards 1200 201@setvar! EnableBoardAutoRecall 1202@setvar! BoardRecallAmount 3000203 204@setvar! EnableBoardBag 1205@setvar! OpenBoardBag 0206 207@setvar! EnableWeightWarningMessage 1208@setvar! GreenWarningWeight 400209@setvar! YellowWarningWeight 430210@setvar! RedWeightLimit 449211 212 213 #################################################214 // Magery Specific Variables: //215 #################################################216 217 if skill "Magery" >= 50218 219 # Defensive:220@setvar! EnableCastRecall 1221@setvar! EnableMagicReflection 1222@setvar! EnableReactiveArmour 1223@setvar! EnableProtection 0224@setvar! EnableCastHeal 1225@setvar! EnableCastCure 1226@setvar! CastHealHPlowdiff 5227@setvar! CastHealHPmeddiff 25228@setvar! CastHealHPhighdiff 50229@setvar! EnableReagentSplitter 0230 231 # Offensive:232@setvar! EnableCastHarm 0233@setvar! HarmCooldown 30000234@setvar! EnableCastWeaken 0235@setvar! WeakenCooldown 30000236@setvar! EnableCastCurse 0237@setvar! CurseCooldown 30000238@setvar! EnableCastMindBlast 0239@setvar! MindblastCooldown 30000240@setvar! EnableCastMagicArrow 0241@setvar! MagicArrowCooldown 30000242@setvar! EnableCastFireball 0243@setvar! FireballCooldown 30000244@setvar! EnableCastLightning 1245@setvar! LightningCooldown 30000246@setvar! EnableCastExplosion 1247@setvar! ExplosionCooldown 10000248@setvar! EnableCastEnergyBolt 1249@setvar! EnergyBoltCooldown 10000250@setvar! EnableCastFlamestrike 1251@setvar! FlamestrikeCooldown 10000252@setvar! EnableCastMeteorSwarm 0253@setvar! MeteorSwarmCooldown 30000254@setvar! EnableCastChainLightning 0255@setvar! ChainLightningCooldown 30000256 257@setvar! EnableMagicMushroom 0258@setvar! MushroomCooldown 60000259@setvar! EnableMushroomMaker 0260@setvar! MakeMushroomAmount 5261 262 # Summons:263@setvar! EnableSummons 0264@setvar! NameSummonedPets 0265@setvar! TotalSummonCount 0266 267 // Number of summoned pets (0, 1 or 2 each - up to 4 total):268@setvar! SummonFireElemental 0269@setvar! SummonEarthElemental 0270@setvar! SummonAirElemental 0271@setvar! SummonWaterElemental 0272@setvar! SummonDemon 0273 274 275 // Add pet names to list below (must be unique):276 if NameSummonedPets = 1277 if not listexists petNameList278 createlist petNameList279 endif280 281 if list petNameList = 0282 pushlist petNameList "ExamplePetName1"283 pushlist petNameList "ExamplePetName2"284 pushlist petNameList "ExamplePetName3"285 pushlist petNameList "ExamplePetName4"286 pushlist petNameList "ExamplePetName5"287 pushlist petNameList "ExamplePetName6"288 pushlist petNameList "ExamplePetName7"289 pushlist petNameList "ExamplePetName8"290 pushlist petNameList "ExamplePetName9"291 pushlist petNameList "ExamplePetName10"292 endif293 else294 clearlist petNameList295 endif 296 297 298 299#### 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! ####300 301 302 303 /////////////////////////////////////////////304 ///////// SCRIPT STARTS HERE: ///////// 305 /////////////////////////////////////////////306 307 308if SCRIPTRESET = 1309 unsetvar lumber_runebook310 unsetvar boardbag311 unsetvar TreasureChest312 unsetvar DanStock.313 unsetvar FIRSTRUN314 unsetvar EASTEREGG315 clearlist petNameList316 overhead "All permanent script variables reset!" 84317 wait 500318 overhead "Reset SCRIPTRESET back to 0 and restart script to prompt for new targets..." 0319 sysmsg "Make sure to set SCRIPTRESET back to 0" 253320 wait 500321 sysmsg "Stopping script..." 0322 stop 323endif 324 325if not varexist DanStock.326 sysmsg "DanStock's Ultimate Harvest Auto Pilot Script" 77327 wait 500328 sysmsg "Version: 2.0.03"329 wait 500330 sysmsg "Last updated: Oct 18, 2024" 69331 wait 1000332 overhead "Thank you for trying my script! It appears this may be your first time running it..." 0333 wait 4000334 overhead "IMPT: Please make sure to setup all the required COOLDOWNS and VARIABLES!" 153335 wait 4500336 overhead "There is a LOT this script can do with the right configuration!" 0337 wait 3500338 overhead "Email any questions/bugs to: dan@danstockman.com" 0339 wait 2500340 overhead "[ HAPPY HARVESTING! ]" 2086341 wait 500342 setvar DanStock. 1343 sysmsg "Beginning initial Harvest Auto Pilot script setup...... " 0344 wait 1500345 sysmsg "Best done from inside your Home or Inn Room!" 253346 wait 500347 hotkey 'Cancel Current Target'348endif 349 350if EnableRedAlertRecall = 1351 if not varexist lumber_runebook352 wait 1000353 overhead "First off, please select your Escape Runebook..." 88354 wait 1500355 overhead "[ SELECT RUNEBOOK... ]" 253356 setvar lumber_runebook357 wft 500358 while targetexists359 wait 100360 endwhile361 overhead "[ RUNEBOOOK SELECTED! ]" 93362 wait 1500363 overhead "Script will use recall SCROLL (to first rune) or CAST recall (to 'default' rune)" 0364 wait 2500365 endif366endif 367 368if EnableBoardBag = 1369 if not varexist boardbag370 wait 1000371 overhead "Next, we'll set your lumber storage bag..." 88372 wait 1500373 overhead "[ SELECT BOARD BAG... ]" 253374 setvar boardbag375 wft 500376 while targetexists377 wait 100378 endwhile379 overhead "[ BOARD BAG SELECTED! ]" 93380 wait 1500381 overhead "Also set this bag as 'Organizer Agent-01'in Razor!" 0382 wait 3000383 endif 384endif385 386if EnableTreasureChest = 1387 if not varexist TreasureChest388 wait 1000389 sysmsg "Disable 'EnableTreasureChest' in script variables to turn off this feature!" 0390 overhead "Now, select a container (in your Home or Inn) to store your loot..." 88391 wait 1500392 overhead "[ SELECT LOOT CHEST... ]" 253393 setvar TreasureChest394 wft 500395 while targetexists 396 wait 100397 endwhile398 overhead "[ LOOT CHEST SELECTED! ]" 93399 wait 1500400 overhead "Setup additional Organizer Agents (06-09) within this container!" 0401 wait 3500402 403 endif404endif405 406if not varexist FIRSTRUN407 sysmsg "Verifying initial setup is complete.......... " 0408 wait 2500409 overhead "Ok, looks like you're good to go!" 0410 wait 3000411 overhead "Good luck out there and thanks again for trying my script!" 0412 setvar FIRSTRUN 1413 wait 3000414 sysmsg "DANSTOCK'S ULTIMATE HARVEST AUTO PILIOT SCRIPT SETUP COMPLETE!" 84415 wait 1500416 overhead "[ STARTING HARVEST SCRIPT.... ]" 2086417 wait 1500418endif419 420if hidden 421 overhead "[ HIDDEN... ]" 6422 wait 1000423 sysmsg "You cannot use this script while hidden! Please unhide and try again..." 0424 stop425endif426 427if EnableRedAlertRecall = 1428 if insysmsg "Now tracking" or insysmsg "Distance to destination"429 @setvar! TimeToGo 1430 endif431endif 432 433if insysmsg "Captcha successful"434 overhead "I guess you got the magic numbers correct??" 2086435 wait 1500436 if EnableSummons = 1 and followers > 1437 overhead "Umm... who are you speaking to, Master?" 44 myMainTankPet438 menu myMainTankPet 3439 clearsysmsg 440 wait 1500441 overhead "Nevermind that... let's get to work..." 2086442 else443 overhead "Alright, let's get to work..." 2086444 endif445endif446 447if insysmsg "You have unlocked a codex upgrade point"448 overhead "[ CODEX POINT UNLOCKED! ]" 2114449 if EnableSummons = 1 and followers > 1450 wait 1000451 overhead "Well done, Master..." 44 myMainTankPet452 menu myMainTankPet 3453 endif454endif 455 456if insysmsg "unlocked a point for your wizard's grimoire"457 overhead "[ GRIMOIRE POINT UNLOCKED! ]" 7458 if EnableSummons = 1 and followers > 1459 wait 1000460 overhead "You seem stronger, Master..." 44 myMainTankPet461 menu myMainTankPet 3462 endif463endif 464 465if insysmsg "enough experience to upgrade"466 overhead "[ ASPECT TIER UNLOCKED! ]" 2086467 if EnableSummons = 1 and followers > 1468 wait 500469 overhead "Time to spend some more gold, it would seem..." 44 myMainTankPet470 menu myMainTankPet 3471 wait 500472 endif473endif 474 475if 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 > 1476 overhead "Hmm.. I suddenly feel stronger!" 44 myMainTankPet477 menu myMainTankPet 3478 wait 500479 overhead "* cracks knuckles... *" 0 myMainTankPet480endif 481 482 483if insysmsg "something invisible out of the way"484 overhead "[ � SOMEONE HIDDEN! � ]" 6485 if EnableSummons = 1 and followers > 1486 wait 500487 overhead "There is a foul stench upon the air..." 44 myMainTankPet488 menu myMainTankPet 3489 wait 500490 endif491endif 492 493if paralyzed and EnableParalyzePouch = 1494 overhead "[[[[ POP ]]]]" 2117495 say "[pouch" 496 @setvar! TimeToGo 1497 if EnableSummons = 1 and followers > 1498 overhead "That was unwise, criminal..." 44 myMainTankPet499 menu myMainTankPet 3500 clearsysmsg 501 endif502endif503 504if EnableRedAlertRecall = 1 and TimeToGo = 1505 overhead "[[[[ RED ALERT ]]]]" 37506 overhead "Looks like trouble coming!" 2086507 508 if paralyzed 509 overhead "[[[[ POP ]]]]" 2117510 say "[pouch"511 wait 250 512 endif513 514 if skill 'Healing' > 50 and not bandaging and hits < maxhits515 hotkey "Bandage self"516 overhead '* applying bandages... *' 88517 wait 250518 endif 519 520 if diffhits > 25 and not cooldown "Healing Potion"521 if findtype "Yellow Potion" self as healpot522 overhead '* drinking heal potion... *' 253523 dclick healpot524 cooldown "Healing Potion" 10500525 wait 250526 else 527 overhead '[ NO HEAL POTS! ]' 337528 endif529 endif 530 531 if poisoned and not cooldown "Cure Potion"532 if findtype "Orange Potion" self as curepot533 overhead '* drinking cure potion... *' 44534 dclick curepot535 cooldown "Cure Potion" 10500536 wait 250537 else538 overhead [ NO CURE POTS! ]" 337539 endif540 endif541 542 if stam < maxstam and not cooldown "Refresh Potion"543 if findtype "Red Potion" self as refreshpot544 overhead '* drinking refresh potion... *' 34545 dclick refreshpot546 cooldown "Refresh Potion" 10500547 wait 250548 else 549 overhead '[ NO REFRESH POTS! ]' 337550 endif551 endif552 553 if skill "Magery" >= 60 and CastRecall = 1554 dclick lumber_runebook555 waitforgump 1551740969 556 gumpresponse 2557 wait 500 558 for 5559 wait 500560 if insysmsg 'Your concentration is disturbed'561 overhead 'Shit! Trying that again...' 2086562 dclick lumber_runebook563 waitforgump 1551740969 564 gumpresponse 2565 wait 500 566 clearsysmsg 567 endif568 endfor569 endif570 571 wait 1000572 overhead "Whew. I think we got away!" 2086573 if not varexist GuardComment574 @setvar! GuardComment 1575 endif576 if EnableSummons = 1 and GuardComment = 1 and followers > 1577 wait 1500578 overhead "Yes Master, that was a close one..." 44 myMainTankPet579 menu myMainTankPet 3580 clearsysmsg 581 @setvar! GuardComment 2582 wait 500583 elseif EnableSummons = 1 and GuardComment = 2 and followers > 1584 wait 1500585 overhead "Yes Master, your script is truly God-like..." 44 myMainTankPet586 menu myMainTankPet 3587 clearsysmsg 588 @setvar! GuardComment 3589 wait 500590 elseif EnableSummons = 1 and GuardComment = 3 and followers > 1591 wait 1500592 overhead "Yes Master, these red humans are quite annoying..." 44 myMainTankPet593 menu myMainTankPet 3594 clearsysmsg 595 @setvar! GuardComment 4596 wait 500597 elseif EnableSummons = 1 and GuardComment = 4 and followers > 1598 wait 1500599 overhead "I think we could have taken them..." 44 myMainTankPet600 menu myMainTankPet 3601 clearsysmsg 602 @setvar! GuardComment 5603 wait 500604 elseif EnableSummons = 1 and GuardComment = 5 and followers > 1605 wait 1500606 overhead "I've worked for that human before... total prick..." 44 myMainTankPet607 menu myMainTankPet 3608 clearsysmsg 609 @setvar! GuardComment 6610 wait 500611 elseif EnableSummons = 1 and GuardComment = 6 and followers > 1612 wait 1500613 overhead "I don't think tonight is our night, Master.." 44 myMainTankPet614 menu myMainTankPet 3615 clearsysmsg 616 @setvar! GuardComment 1617 wait 500618 endif619 @setvar! TimeToGo 0620 sysmsg "Auto Recall trigger condition reset!" 0621 622 if skill "Mace Fighting" > 50 and not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" hand and findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" backpack as weapon623 getlabel weapon WeaponLabel624 for 5625 if "unidentified" in WeaponLabel626 ignore weapon627 if not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" hand and findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" self as weapon628 getlabel weapon WeaponLabel629 else630 overhead "[ NO WEAPON! ]" 337631 break632 endif633 endif634 endfor635 dclick weapon 636 endif 637 638 if skill "Swordsmanship" > 50 and not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" hand and findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" backpack as weapon639 getlabel weapon WeaponLabel640 for 5641 if "unidentified" in WeaponLabel642 ignore weapon643 if not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" hand and findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" self as weapon644 getlabel weapon WeaponLabel645 else646 overhead "[ NO WEAPON! ]" 337647 break648 endif649 endif650 endfor651 dclick weapon 652 endif 653 654 if skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook655 getlabel myspellbook SpellbookLabel656 for 5657 wait 100658 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel659 ignore myspellbook 660 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook661 getlabel myspellbook SpellbookLabel662 else 663 overhead "[ NO SPELLBOOK! ]" 337664 break665 endif666 endif 667 endfor668 dclick myspellbook669 endif 670 671 wait 1000672 673 if HouseRecall = 1674 wait 1500675 if find MyDoor ground -1 -1 2 676 dclick MyDoor 677 overhead "* door slams! *" 0 MyDoor678 wait 500679 endif680 endif 681 682 if OwnerInnRecall = 1683 wait 2000684 say "Innkeeper, I need a room!"685 waitforgump 2393832411686 gumpresponse 4687 wait 3000688 endif689 690 if CoOwnerInnRecall = 1691 wait 2000692 say "Innkeeper, I need a room!"693 waitforgump 2393832411694 gumpresponse 5695 wait 2000696 gumpresponse 100697 wait 2000698 endif699 700 if HideAtHomeorInn = 1701 useskill "Hiding"702 wait 250703 endif704 705 if OpenIngotBag = 1 706 dclick ingotbag707 wait 250708 endif709 710 if OpenBoardBag = 1 711 dclick boardbag712 wait 250713 endif714 715 for 11716 if findtype 'log%s' backpack and LogsToBoards = 1 717 wait 500718 overhead '* making boards... *' 0719 dclicktype 'log%s' 720 wait 250721 hotkey 'Organizer Agent-01'722 wait 1500723 endif724 endfor 725 726 if EnableOrganizerAgents = 1727 if findtype "cut up leather|iron ingot%s|board%s|feather%s|seed of renewal|shaft%s|blank scroll%s%|gold coin" backpack728 overhead "* storing boards... *" 37729 hotkey "Organizer Agent-05"730 wait 3500731 if findtype "cut up leather|iron ingot%s|board%s|feather%s|seed of renewal|shaft%s|blank scroll%s%|gold coin" backpack732 hotkey "Organizer Agent-05"733 wait 3500734 endif735 if findtype "cut up leather|iron ingot%s|board%s|feather%s|seed of renewal|shaft%s|blank scroll%s%|gold coin" backpack736 hotkey "Organizer Agent-05"737 wait 500738 endif739 endif740 endif741 742 if EnableBankSafe = 1743 if findtype "bank deposit safe" ground -1 -1 2 as safe744 while findtype "gold coin" self as gold745 lift gold 60000746 overhead "* depositing gold... *" 149747 drop safe -1 -1 -1748 wait 1000749 endwhile750 while findtype 2539 self as dubs751 lift dubs 60000752 drop safe -1 -1 -1753 overhead "* depositing doubloons... *" 149754 wait 1000755 endwhile756 else757 overhead "[ NO BANK SAFE FOUND ]" 337758 sysmsg "Disable 'EnableBankSafe' in script variables to turn off this feature!" 0759 endif760 endif761 762 if EnableStockpile = 1763 if findtype "resource container" ground -1 -1 2 as resource764 menu resource 0765 wft 500766 target self767 overhead "* unloading resources... *" 84768 wait 1000769 else770 overhead "[ NO RESOURCE STOCKPILE FOUND ]" 337771 sysmsg "Disable 'EnableStockpile' in script variables to turn off this feature!" 0772 endif773 endif774 775 if EnableStorageShelf = 1776 if findtype "storage shelf" ground -1 -1 2 as shelf777 menu shelf 0778 wft 500779 target self780 overhead "* restocking... *" 37781 wait 1000782 gumpclose 3232825965783 else784 overhead "[ NO STORAGE SHELF FOUND ]" 337785 sysmsg "Disable 'EnableStorageShelf' in script variables to turn off this feature!" 0786 endif 787 if findtype "storage shelf" ground -1 -1 2 as shelf788 menu shelf 1789 wft 500790 target self 791 overhead "* resupplying... *" 93792 wait 1000793 endif794 endif795 796 if EnableRepairBench = 1797 if findtype "repair bench" ground -1 -1 2 as RepairBench798 clearsysmsg 799 dclick RepairBench800 wait 1000801 if insysmsg "You do not have any items equipped or in your backpack in need of repairs."802 overhead "* nothing to repair! *" 0803 else804 settimer RepairTimer 0805 while timer RepairTimer <= 5000 806 if insysmsg "Repair"807 break808 endif809 endwhile810 overhead "* all items repaired! *" 0811 overhead "Repair took: {{RepairTimer}}ms" 149812 removetimer RepairTimer813 endif814 wait 500815 else816 overhead "[ NO REPAIR BENCH FOUND ]" 337817 sysmsg "Disable 'EnableRepairBench' in script variables to turn off this feature!" 0818 endif819 endif820 821 if EnableMagicRecycler = 1822 if findtype "ornate elven chest|magic item recycler" ground -1 -1 2 as recycler823 menu recycler 1824 wait 1000825 if insysmsg "0 recyclable"826 overhead "* nothing to recycle! *" 6827 else828 overhead "* recycling magic items... *" 6829 wait 500830 endif831 else832 overhead "[ NO MAGIC ITEM RECYCLER FOUND ]" 337833 sysmsg "Disable 'EnableMagicRecycler' in script variables to turn off this feature!" 0834 endif835 endif836 837 if EnableTreasureChest = 1 838 if findtype "black market goods|seed of renewal|dirt patch|bag of seeds|void orb|rune|scroll of calling|bottle|dye bottle|map" self839 dclick TreasureChest840 overhead "* storing loot... *" 69841 wait 250842 hotkey "Organizer Agent-06"843 wait 250844 hotkey "Organizer Agent-07"845 wait 250846 hotkey "Organizer Agent-08"847 wait 250848 hotkey "Organizer Agent-09"849 wait 1000850 851 if findtype "black market goods|seed of renewal|dirt patch|bag of seeds|void orb|rune|scroll of calling|bottle|dye bottle|map" self852 wait 1000853 hotkey "Organizer Agent-06"854 wait 250855 hotkey "Organizer Agent-07"856 wait 250857 hotkey "Organizer Agent-08"858 wait 250859 hotkey "Organizer Agent-09"860 endif 861 endif 862 endif863 864 if EnableReagentSplitter = 1865 // This section uses a Reg Splitter script I adapted from dennozz' script found here: https://outlands.uorazorscripts.com/script/d8f50c97-3d9c-468b-9114-0a0623003e19 // 866 if findtype "reagent satchel" self as MyWizardBag 867 sysmsg "Disable 'EnableReagentSplitter' in script variables to turn off this feature!" 0 868 dclick MyWizardBag869 overhead "* splitting reagents... *" 112870 @setvar! amount 0871 @setvar! regsID 3981872 @setvar! myCounter 0873 874 while findtype regsID self as r 875 @setvar! myCounter index876 @ignore r877 endwhile878 879 @clearignore880 881 if counttype regsID self <= 15882 @setvar! amount 2883 elseif counttype regsID self <= 30884 @setvar! amount 4 885 elseif counttype regsID self <= 50886 @setvar! amount 10 887 elseif counttype regsID self <= 100888 @setvar! amount 20 889 elseif counttype regsID self <= 150890 @setvar! amount 30891 elseif counttype regsID self <= 200892 @setvar! amount 40893 else 894 @setvar! amount 50895 endif896 897 while findtype regsID self as regs898 @setvar! moveRegs 0 899 900 if myCounter = 0901 @setvar! moveRegs 1902 elseif myCounter != 0 and not find regs MyWizardBag903 @setvar! moveRegs 1904 endif905 906 # Spider Silk907 if moveRegs = 1 908 if index = 0909 lift regs amount910 drop MyWizardBag 44 65 0 911 wait 150 912 elseif index = 1913 lift regs amount914 drop MyWizardBag 68 65 0 915 wait 150 916 elseif index = 2917 lift regs amount918 drop MyWizardBag 96 65 0 919 wait 150 920 elseif index = 3921 lift regs amount922 drop MyWizardBag 121 65 0 923 wait 150 924 else925 lift regs amount926 drop MyWizardBag 142 65 0 927 wait 150 928 endif929 endif930 931 @ignore regs 932 933 if moveRegs = 1934 wait 500935 endif936 endwhile937 938 @setvar! regsID 3962939 @setvar! myCounter 0940 941 while findtype regsID self as r 942 @setvar! myCounter index943 @ignore r944 endwhile945 946 @clearignore947 948 if counttype regsID self <= 10949 @setvar! amount 2950 elseif counttype regsID self <= 20951 @setvar! amount 4 952 elseif counttype regsID self <= 50953 @setvar! amount 10 954 elseif counttype regsID self <= 100955 @setvar! amount 20 956 elseif counttype regsID self <= 150957 @setvar! amount 30958 elseif counttype regsID self <= 200959 @setvar! amount 40960 else 961 @setvar! amount 50962 endif963 964 while findtype regsID self as regs965 @setvar! moveRegs 0 966 967 if myCounter = 0968 @setvar! moveRegs 1969 elseif myCounter != 0 and not find regs MyWizardBag970 @setvar! moveRegs 1971 endif972 973 # Black Pearl974 if moveRegs = 1 975 if index = 0976 lift regs amount977 drop MyWizardBag 44 76 0 978 wait 150 979 elseif index = 1980 lift regs amount981 drop MyWizardBag 68 76 0 982 wait 150 983 elseif index = 2984 lift regs amount985 drop MyWizardBag 96 76 0 986 wait 150 987 elseif index = 3988 lift regs amount989 drop MyWizardBag 121 76 0 990 wait 150 991 else992 lift regs amount993 drop MyWizardBag 142 76 0 994 wait 150 995 endif996 endif997 998 @ignore regs 999 1000 if moveRegs = 11001 wait 5001002 endif1003 endwhile1004 1005 @setvar! regsID 39761006 @setvar! myCounter 01007 1008 while findtype regsID self as r 1009 @setvar! myCounter index1010 @ignore r1011 endwhile1012 @clearignore1013 1014 if counttype regsID self <= 101015 @setvar! amount 21016 elseif counttype regsID self <= 201017 @setvar! amount 4 1018 elseif counttype regsID self <= 501019 @setvar! amount 10 1020 elseif counttype regsID self <= 1001021 @setvar! amount 20 1022 elseif counttype regsID self <= 1501023 @setvar! amount 301024 elseif counttype regsID self <= 2001025 @setvar! amount 401026 else 1027 @setvar! amount 501028 endif1029 1030 while findtype regsID self as regs1031 @setvar! moveRegs 0 1032 1033 if myCounter = 01034 @setvar! moveRegs 11035 elseif myCounter != 0 and not find regs MyWizardBag1036 @setvar! moveRegs 11037 endif1038 1039 # Nightshade1040 if moveRegs = 1 1041 if index = 01042 lift regs amount1043 drop MyWizardBag 44 88 0 1044 wait 150 1045 elseif index = 11046 lift regs amount1047 drop MyWizardBag 68 88 0 1048 wait 150 1049 elseif index = 21050 lift regs amount1051 drop MyWizardBag 96 88 0 1052 wait 150 1053 elseif index = 31054 lift regs amount1055 drop MyWizardBag 121 88 0 1056 wait 150 1057 else1058 lift regs amount1059 drop MyWizardBag 142 88 0 1060 wait 150 1061 endif1062 endif1063 1064 @ignore regs 1065 1066 if moveRegs = 11067 wait 5001068 endif1069 1070 endwhile1071 1072 @setvar! regsID 39741073 @setvar! myCounter 01074 1075 while findtype regsID self as r 1076 @setvar! myCounter index1077 @ignore r1078 endwhile1079 @clearignore1080 1081 if counttype regsID self <= 101082 @setvar! amount 21083 elseif counttype regsID self <= 201084 @setvar! amount 4 1085 elseif counttype regsID self <= 501086 @setvar! amount 10 1087 elseif counttype regsID self <= 1001088 @setvar! amount 20 1089 elseif counttype regsID self <= 1501090 @setvar! amount 301091 elseif counttype regsID self <= 2001092 @setvar! amount 401093 else 1094 @setvar! amount 501095 endif1096 1097 while findtype regsID self as regs1098 @setvar! moveRegs 0 1099 1100 if myCounter = 01101 @setvar! moveRegs 11102 elseif myCounter != 0 and not find regs MyWizardBag1103 @setvar! moveRegs 11104 endif1105 1106 # Mandrake root1107 if moveRegs = 1 1108 if index = 01109 lift regs amount1110 drop MyWizardBag 44 100 0 1111 wait 150 1112 elseif index = 11113 lift regs amount1114 drop MyWizardBag 68 100 0 1115 wait 150 1116 elseif index = 21117 lift regs amount1118 drop MyWizardBag 96 100 0 1119 wait 150 1120 elseif index = 31121 lift regs amount1122 drop MyWizardBag 121 100 0 1123 wait 150 1124 else1125 lift regs amount1126 drop MyWizardBag 142 100 0 1127 wait 150 1128 endif1129 endif1130 1131 @ignore regs 1132 1133 if moveRegs = 11134 wait 5001135 endif1136 endwhile1137 1138 @setvar! regsID 39801139 @setvar! myCounter 01140 1141 while findtype regsID self as r 1142 @setvar! myCounter index1143 @ignore r1144 endwhile1145 @clearignore1146 1147 if counttype regsID self <= 101148 @setvar! amount 21149 elseif counttype regsID self <= 201150 @setvar! amount 4 1151 elseif counttype regsID self <= 501152 @setvar! amount 10 1153 elseif counttype regsID self <= 1001154 @setvar! amount 20 1155 elseif counttype regsID self <= 1501156 @setvar! amount 301157 elseif counttype regsID self <= 2001158 @setvar! amount 401159 else 1160 @setvar! amount 501161 endif1162 1163 while findtype regsID self as regs1164 @setvar! moveRegs 0 1165 1166 if myCounter = 01167 @setvar! moveRegs 11168 elseif myCounter != 0 and not find regs MyWizardBag1169 @setvar! moveRegs 1 1170 endif1171 1172 # Sulphurous Ash1173 if moveRegs = 1 1174 if index = 01175 lift regs amount1176 drop MyWizardBag 44 112 01177 wait 150 1178 elseif index = 1 1179 lift regs amount1180 drop MyWizardBag 68 112 0 1181 wait 150 1182 elseif index = 21183 lift regs amount1184 drop MyWizardBag 96 112 0 1185 wait 150 1186 elseif index = 31187 lift regs amount1188 drop MyWizardBag 121 112 0 1189 wait 150 1190 else1191 lift regs amount1192 drop MyWizardBag 142 112 0 1193 wait 150 1194 endif1195 endif1196 1197 @ignore regs 1198 1199 if moveRegs = 11200 wait 5001201 endif1202 endwhile1203 1204 @setvar! regsID 39731205 @setvar! myCounter 01206 1207 while findtype regsID self as r 1208 @setvar! myCounter index1209 @ignore r1210 endwhile1211 @clearignore1212 1213 if counttype regsID self <= 101214 @setvar! amount 21215 elseif counttype regsID self <= 201216 @setvar! amount 4 1217 elseif counttype regsID self <= 501218 @setvar! amount 10 1219 elseif counttype regsID self <= 1001220 @setvar! amount 20 1221 elseif counttype regsID self <= 1501222 @setvar! amount 301223 elseif counttype regsID self <= 2001224 @setvar! amount 401225 else 1226 @setvar! amount 501227 endif1228 1229 while findtype regsID self as regs1230 @setvar! moveRegs 0 1231 1232 if myCounter = 01233 @setvar! moveRegs 11234 elseif myCounter != 0 and not find regs MyWizardBag1235 @setvar! moveRegs 11236 endif1237 1238 # Ginseng1239 if moveRegs = 1 1240 if index = 01241 lift regs amount1242 drop MyWizardBag 44 124 0 1243 wait 150 1244 elseif index = 11245 lift regs amount1246 drop MyWizardBag 68 124 01247 wait 150 1248 elseif index = 21249 lift regs amount1250 drop MyWizardBag 96 124 0 1251 wait 150 1252 elseif index = 31253 lift regs amount1254 drop MyWizardBag 121 124 0 1255 wait 150 1256 else1257 lift regs amount1258 drop MyWizardBag 142 124 0 1259 wait 150 1260 endif1261 endif1262 1263 @ignore regs 1264 1265 if moveRegs = 11266 wait 5001267 endif1268 endwhile1269 1270 @setvar! regsID 39631271 @setvar! myCounter 01272 1273 while findtype regsID self as r 1274 @setvar! myCounter index1275 @ignore r1276 endwhile1277 @clearignore1278 1279 if counttype regsID self <= 101280 @setvar! amount 21281 elseif counttype regsID self <= 201282 @setvar! amount 4 1283 elseif counttype regsID self <= 501284 @setvar! amount 10 1285 elseif counttype regsID self <= 1001286 @setvar! amount 20 1287 elseif counttype regsID self <= 1501288 @setvar! amount 301289 elseif counttype regsID self <= 2001290 @setvar! amount 401291 else 1292 @setvar! amount 501293 endif1294 1295 while findtype regsID self as regs1296 @setvar! moveRegs 0 1297 1298 # Bloodmoss1299 if myCounter = 01300 @setvar! moveRegs 11301 elseif myCounter != 0 and not find regs MyWizardBag1302 @setvar! moveRegs 11303 endif1304 1305 if moveRegs = 1 1306 if index = 01307 lift regs amount1308 drop MyWizardBag 44 136 0 1309 wait 150 1310 elseif index = 11311 lift regs amount1312 drop MyWizardBag 68 136 0 1313 wait 150 1314 elseif index = 21315 lift regs amount1316 drop MyWizardBag 96 136 0 1317 wait 150 1318 elseif index = 31319 lift regs amount1320 drop MyWizardBag 121 136 0 1321 wait 150 1322 else1323 lift regs amount1324 drop MyWizardBag 142 136 0 1325 wait 150 1326 endif1327 endif1328 1329 @ignore regs 1330 1331 if moveRegs = 11332 wait 5001333 endif1334 endwhile1335 1336 @setvar! regsID 39721337 @setvar! myCounter 01338 1339 while findtype regsID self as r 1340 @setvar! myCounter index1341 @ignore r1342 endwhile1343 @clearignore1344 1345 if counttype regsID self <= 101346 @setvar! amount 21347 elseif counttype regsID self <= 201348 @setvar! amount 4 1349 elseif counttype regsID self <= 501350 @setvar! amount 10 1351 elseif counttype regsID self <= 1001352 @setvar! amount 20 1353 elseif counttype regsID self <= 1501354 @setvar! amount 301355 elseif counttype regsID self <= 2001356 @setvar! amount 401357 else 1358 @setvar! amount 501359 endif1360 1361 while findtype regsID self as regs1362 @setvar! moveRegs 0 1363 1364 if myCounter = 01365 @setvar! moveRegs 11366 elseif myCounter != 0 and not find regs MyWizardBag1367 @setvar! moveRegs 11368 endif1369 1370 # Garlic 1371 if moveRegs = 1 1372 if index = 01373 lift regs amount1374 drop MyWizardBag 44 148 0 1375 wait 150 1376 elseif index = 11377 lift regs amount1378 drop MyWizardBag 68 148 0 1379 wait 150 1380 elseif index = 21381 lift regs amount1382 drop MyWizardBag 96 148 0 1383 wait 150 1384 elseif index = 31385 lift regs amount1386 drop MyWizardBag 121 148 0 1387 wait 150 1388 else1389 lift regs amount1390 drop MyWizardBag 142 148 0 1391 wait 150 1392 endif1393 endif1394 @ignore regs 1395 1396 if moveRegs = 11397 wait 5001398 endif1399 endwhile1400 1401 @setvar! regsID 80121402 @setvar! myCounter 01403 1404 while findtype regsID self as r 1405 @setvar! myCounter index1406 @ignore r1407 endwhile1408 @clearignore1409 1410 if counttype regsID self <= 51411 @setvar! amount 11412 elseif counttype regsID self <= 101413 @setvar! amount 2 1414 elseif counttype regsID self <= 201415 @setvar! amount 4 1416 elseif counttype regsID self <= 401417 @setvar! amount 8 1418 else 1419 @setvar! amount 151420 endif1421 1422 while findtype regsID self as regs1423 @setvar! moveRegs 0 1424 1425 if myCounter = 01426 @setvar! moveRegs 11427 elseif myCounter != 0 and not find regs MyWizardBag1428 @setvar! moveRegs 11429 endif1430 1431 #Scrolls1432 if moveRegs = 1 1433 if index = 01434 lift regs amount1435 drop MyWizardBag 44 160 0 1436 wait 150 1437 elseif index = 11438 lift regs amount1439 drop MyWizardBag 68 160 0 1440 wait 150 1441 elseif index = 21442 lift regs amount1443 drop MyWizardBag 96 160 0 1444 wait 150 1445 elseif index = 31446 lift regs amount1447 drop MyWizardBag 121 160 0 1448 wait 150 1449 else1450 lift regs amount1451 drop MyWizardBag 142 160 0 1452 wait 150 1453 endif1454 endif1455 1456 @ignore regs 1457 1458 if moveRegs = 11459 wait 5001460 endif1461 endwhile1462 wait 15001463 overhead "Fuck thieves!" 20861464 wait 5001465 else 1466 overhead "[ NO WIZARD BAG! ]" 3371467 endif1468 endif 1469 hotkey "Organizer Agent-04"1470 wait 1001471 hotkey "Organizer Agent-02" 1472 wait 10001473 overhead "[ SCRIPT COMPLETE! ]" 371474 stop 1475endif1476 1477if EnableRedAlertRecall = 11478 if skill 'Tracking' > 50 and not findbuff 'tracking'1479 overhead 'I should keep an eye out for trouble...' 20861480 while not gumpexists 42674676591481 useskill 'tracking'1482 wait 2501483 endwhile1484 if gumpexists 42674676591485 while not insysmsg "You will now hunt all hostile players."1486 gumpresponse 8 42674676591487 waitforgump 4267467659 50001488 endwhile1489 gumpresponse 6 42674676591490 wait 10001491 clearsysmsg 1492 endif1493 gumpclose 42674676591494 overhead "[ AUTO RECALL ACTIVATED! ]" 3341495 endif 1496endif1497 1498if skill 'Healing' > 50 1499 if not bandaging and hits < maxhits1500 overhead '* applying bandages... *' 881501 hotkey "Bandage Self"1502 endif1503 1504 if counttype 'clean bandage%s%' < 5 and not cooldown "Inventory Timer"1505 overhead "[ RESTOCK BANDAGES! ]" 3371506 cooldown "Inventory Timer" 150001507 endif 1508endif1509 1510if EnableCastHeal = 11511 if skill 'Magery' >= 40 and diffhits > CastHealHPmeddiff and diffhits < CastHealHPhighdiff and mana >= 41512 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1513 getlabel myspellbook SpellbookLabel1514 for 51515 wait 1001516 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1517 ignore myspellbook 1518 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1519 getlabel myspellbook SpellbookLabel1520 else 1521 overhead "[ NO SPELLBOOK! ]" 3371522 break1523 endif1524 endif 1525 endfor1526 dclick myspellbook1527 wait 2501528 endif1529 cast 'Heal'1530 wait 1001531 while not casting 1532 if targetexists1533 hotkey 'cancel current target'1534 endif1535 cast 'Heal'1536 wait 1001537 endwhile 1538 wft 15001539 target 'self' 1540 wait 250 1541 1542 elseif skill 'Magery' >= 60 and diffhits > CastHealHPhighdiff and mana >= 111543 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1544 getlabel myspellbook SpellbookLabel1545 for 51546 wait 1001547 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1548 ignore myspellbook 1549 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1550 getlabel myspellbook SpellbookLabel1551 else 1552 overhead "[ NO SPELLBOOK! ]" 3371553 break1554 endif1555 endif 1556 endfor1557 dclick myspellbook1558 wait 2501559 endif1560 cast 'Greater Heal'1561 wait 1001562 while not casting 1563 if targetexists1564 hotkey 'cancel current target'1565 endif1566 cast 'Greater Heal'1567 wait 1001568 endwhile 1569 wft 15001570 target 'self' 1571 wait 250 1572 1573 elseif skill 'Magery' >= 40 and diffhits > CastHealHPhighdiff and mana >= 4 and mana < 111574 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1575 getlabel myspellbook SpellbookLabel1576 for 51577 wait 1001578 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1579 ignore myspellbook 1580 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1581 getlabel myspellbook SpellbookLabel1582 else 1583 overhead "[ NO SPELLBOOK! ]" 3371584 break1585 endif1586 endif 1587 endfor1588 dclick myspellbook1589 wait 2501590 endif1591 cast 'Heal'1592 wait 1001593 while not casting 1594 if targetexists1595 hotkey 'cancel current target'1596 endif1597 cast 'Heal'1598 wait 1001599 endwhile 1600 wft 15001601 target 'self' 1602 wait 250 1603 endif1604endif 1605 1606if EnableCastCure = 11607 if poisoned and skill 'Magery' >= 40 and mana >= 61608 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1609 getlabel myspellbook SpellbookLabel1610 for 51611 wait 1001612 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1613 ignore myspellbook 1614 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1615 getlabel myspellbook SpellbookLabel1616 else 1617 overhead "[ NO SPELLBOOK! ]" 3371618 break1619 endif1620 endif 1621 endfor1622 dclick myspellbook1623 wait 2501624 endif1625 cast 'Cure'1626 wait 1001627 while not casting 1628 if targetexists1629 hotkey 'cancel current target'1630 endif1631 cast 'Cure' 1632 wait 1001633 endwhile 1634 wft 15001635 target 'self' 1636 wait 250 1637 endif 1638endif1639 1640if EnableCurePotion = 11641 if poisoned and not cooldown "Cure Potion" and hits < CurePotHP1642 if findtype "Orange Potion" self as curepot1643 overhead '* drinking cure potion... *' 441644 dclick curepot1645 cooldown "Cure Potion" 105001646 else1647 overhead "[ NO CURE POTS! ]" 3371648 endif1649 endif1650endif 1651 1652if EnableHealPotion = 11653 if hits < HealPotHP and not cooldown "Healing Potion"1654 if findtype "Yellow Potion" self as healpot1655 overhead '* drinking heal potion... *' 2531656 dclick healpot1657 cooldown "Healing Potion" 105001658 else 1659 overhead '[ NO HEAL POTS! ]' 3371660 endif1661 endif1662endif 1663 1664if EnableRefreshPotion = 11665 if diffstam >= RefreshPotSPdiff and not cooldown "Refresh Potion"1666 if findtype "Red Potion" self as refreshpot1667 overhead '* drinking refresh potion... *' 341668 dclick refreshpot1669 cooldown "Refresh Potion" 105001670 else 1671 overhead '[ NO REFRESH POTS! ]' 3371672 endif1673 endif1674endif1675 1676if EnableMagicReflection = 1 1677 if skill 'Magery' >= 60 and not findbuff 'Magic Reflection' and not cooldown "Magic Shield" and mana > 14 and TimeToGo = 0 1678 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1679 getlabel myspellbook SpellbookLabel1680 for 51681 wait 1001682 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1683 ignore myspellbook 1684 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1685 getlabel myspellbook SpellbookLabel1686 else 1687 overhead "[ NO SPELLBOOK! ]" 3371688 break1689 endif1690 endif 1691 endfor1692 dclick myspellbook1693 wait 2501694 endif1695 for 101696 cast 'Magic Reflection' 1697 waitfortarget 15001698 hotkey 'Target Self'1699 wait 10001700 if insysmsg "That spell will not adhere"1701 cooldown "Magic Shield" 300001702 overhead "Too soon for a new shield. Give me a sec..." 20861703 replay1704 endif 1705 if cooldown "Spell Fail"1706 wait 10001707 overhead "Let me try that again..." 20861708 wait 10001709 else1710 break1711 endif 1712 endfor 1713 wait 5001714 overhead "[ MAGIC REFLECT ACTIVE! ]" 101715 wait 15001716 replay1717 endif 1718endif 1719 1720if EnableReactiveArmour = 1 1721 if skill 'Magery' >= 30 and not findbuff 'Reactive Armor' and mana >= 4 and TimeToGo = 01722 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1723 getlabel myspellbook SpellbookLabel1724 for 51725 wait 1001726 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1727 ignore myspellbook 1728 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1729 getlabel myspellbook SpellbookLabel1730 else 1731 overhead "[ NO SPELLBOOK! ]" 3371732 break1733 endif1734 endif 1735 endfor1736 dclick myspellbook1737 wait 2501738 endif1739 for 101740 cast 'Reactive Armor' 1741 waitfortarget 15001742 hotkey 'Target Self'1743 wait 10001744 if insysmsg "That spell will not adhere"1745 cooldown "Magic Armor" 300001746 overhead "Too soon for a new magic armor. Give me a sec..." 20861747 replay1748 endif 1749 if cooldown "Spell Fail"1750 wait 5001751 overhead "Let me try that again..." 20861752 wait 5001753 else1754 break1755 endif 1756 endfor 1757 wait 5001758 overhead "[ REACTIVE ARMOR ACTIVE! ]" 771759 wait 10001760 replay1761 endif 1762endif 1763 1764if EnableGoldVacuum = 11765 if findtype "gold coin" ground -1 -1 15 as droppedmoney and not cooldown "Gold Radar" 1766 overhead "[ $ ]" 149 droppedmoney 1767 overhead "�" 149 droppedmoney1768 cooldown "Gold Radar" 35001769 endif1770 1771 if findtype "gold coin" ground -1 -1 2 as droppedmoney and not cooldown "Gold Vacuum"1772 overhead "[ CLEANUP... ]" 1491773 hotkey "Grab Item"1774 wft 25001775 target droppedmoney1776 wait 2501777 if insysmsg "Invalid or inaccessible item"1778 overhead "I can't get to that!" 20861779 wait 5001780 @ignore droppedmoney1781 endif 1782 cooldown "Gold Vacuum" 5001783 endif1784endif 1785 1786if skill "Spirit Speak" >= 80 and not cooldown "Spirit Speak"1787 if findtype "corpse" ground -1 -1 12 as batteries1788 useskill "spiritspeak"1789 @ignore batteries1790 cooldown "Spirit Speak" 110001791 wait 10001792 endif 1793endif1794 1795if EnableAutoCarving = 11796 if findtype 'Elven SpellBlade' self 1797 if findtype "corpse" ground -1 -1 2 as deadbody1798 dclicktype "Elven Spellblade"1799 waitfortarget 15001800 target 'self'1801 wait 7501802 if insysmsg "You don't see anything"1803 @ignore deadbody1804 replay1805 else 1806 overhead "* skinning corpse... *" 3371807 @ignore deadbody1808 endif1809 endif 1810 else1811 if not cooldown "Inventory Timer"1812 overhead "[ NO SKINNING KNIFE! ]" 3371813 sysmsg "Disable EnableAutoCarving in script variables to turn off this overhead message!" 01814 cooldown "Inventory Timer" 150001815 endif1816 wait 5001817 endif 1818endif1819 1820if skill 'Magery' >= 80 and skill 'Spirit Speak' >= 80 and EnableSummons = 1 and TotalSummonCount > 01821 1822 if followers = 01823 @setvar! NeedtoSummon 11824 elseif followers = 1 and TotalSummonCount > 01825 @setvar! NeedtoSummon 1 1826 1827 elseif followers = 2 and TotalSummonCount = 11828 @setvar! NeedtoSummon 0 1829 elseif followers = 2 and TotalSummonCount = 21830 @setvar! NeedtoSummon 11831 elseif followers = 2 and TotalSummonCount = 31832 @setvar! NeedtoSummon 11833 elseif followers = 2 and TotalSummonCount = 41834 @setvar! NeedtoSummon 11835 1836 elseif followers = 3 and TotalSummonCount = 11837 @setvar! NeedtoSummon 0 1838 elseif followers = 3 and TotalSummonCount = 21839 @setvar! NeedtoSummon 01840 elseif followers = 3 and TotalSummonCount = 31841 @setvar! NeedtoSummon 11842 elseif followers = 3 and TotalSummonCount = 41843 @setvar! NeedtoSummon 11844 1845 elseif followers = 4 and TotalSummonCount = 11846 @setvar! NeedtoSummon 0 1847 elseif followers = 4 and TotalSummonCount = 21848 @setvar! NeedtoSummon 01849 elseif followers = 4 and TotalSummonCount = 31850 @setvar! NeedtoSummon 01851 elseif followers = 4 and TotalSummonCount = 41852 @setvar! NeedtoSummon 1 1853 elseif followers = 51854 @setvar! NeedtoSummon 01855 endif1856 1857 if NeedtoSummon = 11858 1859 removelist summonList1860 createlist summonList1861 1862 if not varexist myMainTankPet1863 @setvar! myMainTankPet 01864 endif1865 if not varexist fireOne1866 @setvar! fireOne 01867 endif 1868 if not varexist fireTwo1869 @setvar! fireTwo 01870 endif1871 if not varexist earthOne1872 @setvar! earthOne 01873 endif1874 if not varexist earthTwo1875 @setvar! earthTwo 01876 endif1877 if not varexist demonOne1878 @setvar! demonOne 01879 endif1880 if not varexist demonTwo1881 @setvar! demonTwo 01882 endif1883 if not varexist airOne1884 @setvar! airOne 01885 endif1886 if not varexist airTwo1887 @setvar! airTwo 01888 endif1889 if not varexist waterOne1890 @setvar! waterOne 01891 endif1892 if not varexist waterTwo1893 @setvar! waterTwo 01894 endif1895 1896 overhead "* summoning a bodyguard... *" 121897 wait 10001898 overhead "I call upon the power of the elements..." 20861899 1900 if SummonEarthElemental > 01901 if dead earthOne or not find earthOne ground -1 -1 18 1902 pushlist summonList "Earth Elemental"1903 @setvar! earthOne 11904 endif1905 if SummonEarthElemental > 11906 if dead earthTwo or not find earthTwo ground -1 -1 181907 pushlist summonList "Earth Elemental"1908 @setvar! earthTwo 11909 endif1910 endif1911 endif1912 1913 if SummonFireElemental > 01914 if dead fireOne or not find fireOne ground -1 -1 18 1915 pushlist summonList "Fire Elemental"1916 @setvar! fireOne 11917 endif1918 if SummonFireElemental > 11919 if dead fireTwo or not find fireTwo ground -1 -1 181920 pushlist summonList "Fire Elemental"1921 @setvar! fireTwo 11922 endif1923 endif1924 endif1925 1926 if SummonDemon > 01927 if dead demonOne or not find demonOne ground -1 -1 181928 pushlist summonList "Earth Elemental"1929 @setvar! demonOne 11930 endif1931 if SummonDemon > 11932 if dead demonTwo or not find demonTwo ground -1 -1 181933 pushlist summonList "Earth Elemental"1934 @setvar! demonTwo 11935 endif1936 endif1937 endif1938 1939 if SummonAirElemental > 01940 if dead airOne or not find airOne ground -1 -1 181941 pushlist summonList "Air Elemental"1942 @setvar! airOne 11943 endif1944 if SummonAirElemental > 11945 if dead airTwo or not find airTwo ground -1 -1 181946 pushlist summonList "Air Elemental"1947 @setvar! airTwo 11948 endif1949 endif1950 endif1951 1952 if SummonWaterElemental > 01953 if dead waterOne or not find waterOne ground -1 -1 181954 pushlist summonList "Water Elemental"1955 @setvar! waterOne 11956 endif1957 if SummonWaterElemental > 11958 if dead waterTwo or not find waterTwo ground -1 -1 181959 pushlist summonList "Water Elemental"1960 @setvar! waterTwo 11961 endif1962 endif1963 endif 1964 1965 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook1966 getlabel myspellbook SpellbookLabel1967 wait 2501968 for 51969 wait 2501970 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel1971 ignore myspellbook 1972 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook1973 getlabel myspellbook SpellbookLabel1974 wait 2501975 else 1976 overhead "[ NO SPELLBOOK! ]" 3371977 break1978 endif1979 endif 1980 endfor1981 dclick myspellbook1982 endif1983 1984 foreach summon in summonList1985 1986 while mana < 501987 if diffhits >= 501988 replay1989 endif1990 wait 5001991 if not findbuff "Actively Meditating"1992 useskill "meditation"1993 overhead "* meditating... *" 101994 endif1995 wait 10001996 endwhile 1997 1998 cast summon1999 wft 5002000 if targetexists 2001 hotkey "Target Self"2002 wait 2002003 endif2004 2005 wait 5002006 if SummonName = 22007 overhead "I summon thee, Protector of Harvesters!" 20862008 elseif SummonName = 32009 overhead "I require another protector!" 20862010 elseif SummonName = 42011 overhead "There's still room in the back!" 20862012 else2013 overhead "Send me a worthy protector!" 20862014 endif 2015 2016 while casting 2017 wait 502018 endwhile2019 2020 if diffhits >= 402021 overhead "Hang on, I need a heal!" 20862022 hotkey '> Interrupt'2023 replay2024 endif2025 wait 250 2026 2027 @setvar! myFreshlySummonedPet 02028 2029 if summon = "Earth Elemental" and findtype 14 ground -1 -1 2 as myPet2030 @setvar! myFreshlySummonedPet myPet2031 if earthOne = 12032 @setvar! earthOne myPet2033 elseif earthTwo = 12034 @setvar! earthTwo myPet2035 endif2036 2037 elseif summon = "Fire Elemental" and findtype 15 ground -1 -1 2 as myPet 2038 @setvar! myFreshlySummonedPet myPet2039 if fireOne = 12040 @setvar! fireOne myPet2041 elseif fireTwo = 12042 @setvar! fireTwo myPet2043 endif2044 2045 elseif summon = "Summon Daemon" and findtype 9 ground -1 -1 2 as myPet2046 @setvar! myFreshlySummonedPet myPet2047 if demonOne = 12048 @setvar! demonOne myPet2049 elseif demonTwo = 12050 @setvar! demonTwo myPet2051 endif2052 2053 elseif summon = "Water Elemental" and findtype 16 ground -1 -1 2 as myPet2054 @setvar! myFreshlySummonedPet myPet2055 if waterOne = 12056 @setvar! waterOne myPet2057 elseif waterTwo = 12058 @setvar! waterTwo myPet2059 endif2060 2061 elseif summon = "Air Elemental" and findtype 13 ground -1 -1 2 as myPet2062 @setvar! myFreshlySummonedPet myPet2063 if airOne = 12064 @setvar! airOne myPet2065 elseif airTwo = 12066 @setvar! airTwo myPet2067 endif2068 endif2069 2070 if myFreshlySummonedPet = 02071 overhead "I don't see my elemental..." 20862072 wait 5002073 break2074 endif 2075 2076 if NameSummonedPets = 02077 wait 20002078 overhead "{{summon}} will protect you now...." 1909 myFreshlySummonedPet2079 menu myFreshlySummonedPet 32080 @ignore myFreshlySummonedPet 2081 wait 5002082 poplist summonList "front"2083 cooldown "Guard Timer" 600002084 break2085 endif2086 2087 if NameSummonedPets = 1 and list petNameList > 02088 for 22089 if SummonName = 12090 wait 20002091 overhead "What is your name, minion?" 20862092 wait 2502093 foreach petName in petNameList2094 rename myFreshlySummonedPet petName2095 wait 2502096 if insysmsg "That name is unacceptable"2097 sysmsg "Unable to name summon: {{petName}}" 342098 clearsysmsg 2099 poplist petNameList "front"2100 wait 5002101 else 2102 break2103 endif2104 endfor2105 wait 10002106 overhead "You may call me {{petName}}, Master." 1909 myFreshlySummonedPet2107 wait 25002108 overhead "{{petName}} will protect you now...." 1909 myFreshlySummonedPet2109 @setvar! NameOne petName2110 menu myFreshlySummonedPet 32111 @ignore myFreshlySummonedPet2112 cooldown "Guard Timer" 600002113 2114 if followers = 02115 @setvar! NeedtoSummon 12116 elseif followers = 1 and TotalSummonCount > 02117 @setvar! NeedtoSummon 1 2118 2119 elseif followers = 2 and TotalSummonCount = 12120 @setvar! NeedtoSummon 0 2121 @setvar! SummonName 12122 elseif followers = 2 and TotalSummonCount = 22123 @setvar! NeedtoSummon 12124 elseif followers = 2 and TotalSummonCount = 32125 @setvar! NeedtoSummon 12126 elseif followers = 2 and TotalSummonCount = 42127 @setvar! NeedtoSummon 12128 2129 elseif followers = 3 and TotalSummonCount = 12130 @setvar! NeedtoSummon 0 2131 @setvar! SummonName 12132 elseif followers = 3 and TotalSummonCount = 22133 @setvar! NeedtoSummon 02134 @setvar! SummonName 12135 elseif followers = 3 and TotalSummonCount = 32136 @setvar! NeedtoSummon 12137 elseif followers = 3 and TotalSummonCount = 42138 @setvar! NeedtoSummon 12139 2140 elseif followers = 4 and TotalSummonCount = 12141 @setvar! NeedtoSummon 0 2142 @setvar! SummonName 12143 elseif followers = 4 and TotalSummonCount = 22144 @setvar! NeedtoSummon 02145 @setvar! SummonName 12146 elseif followers = 4 and TotalSummonCount = 32147 @setvar! NeedtoSummon 02148 @setvar! SummonName 12149 elseif followers = 4 and TotalSummonCount = 42150 @setvar! NeedtoSummon 1 2151 elseif followers = 52152 @setvar! NeedtoSummon 02153 @setvar! SummonName 12154 endif2155 2156 if NeedtoSummon = 02157 @setvar! SummonName 12158 wait 5002159 overhead "It's harvesting time!" 20862160 wait 5002161 elseif NeedtoSummon = 12162 wait 5002163 overhead "Thank you, {{petName}}, but you'll need some help..." 20862164 wait 10002165 @setvar! SummonName 22166 poplist petNameList front2167 else 2168 poplist petNameList front2169 break2170 endif2171 poplist petNameList front2172 break2173 2174 elseif SummonName = 22175 wait 15002176 overhead "Welcome aboard! Name and rank?" 20862177 wait 2502178 foreach petName in petNameList2179 rename myFreshlySummonedPet petName2180 wait 2502181 if insysmsg "That name is unacceptable"2182 sysmsg "Unable to name summon: {{petName}}" 342183 clearsysmsg 2184 poplist petNameList "front"2185 wait 5002186 else 2187 break2188 endif2189 endfor2190 wait 20002191 overhead "I am {{petName}}, Master." 1909 myFreshlySummonedPet2192 wait 25002193 overhead "{{petName}} is yours to command..." 1909 myFreshlySummonedPet2194 @setvar! NameTwo petName2195 menu myFreshlySummonedPet 32196 @ignore myFreshlySummonedPet2197 poplist petNameList front2198 cooldown "Guard Timer" 600002199 2200 if followers = 02201 @setvar! NeedtoSummon 12202 elseif followers = 1 and TotalSummonCount > 02203 @setvar! NeedtoSummon 1 2204 2205 elseif followers = 2 and TotalSummonCount = 12206 @setvar! NeedtoSummon 0 2207 @setvar! SummonName 12208 elseif followers = 2 and TotalSummonCount = 22209 @setvar! NeedtoSummon 12210 elseif followers = 2 and TotalSummonCount = 32211 @setvar! NeedtoSummon 12212 elseif followers = 2 and TotalSummonCount = 42213 @setvar! NeedtoSummon 12214 2215 elseif followers = 3 and TotalSummonCount = 12216 @setvar! NeedtoSummon 0 2217 @setvar! SummonName 12218 elseif followers = 3 and TotalSummonCount = 22219 @setvar! NeedtoSummon 02220 @setvar! SummonName 12221 elseif followers = 3 and TotalSummonCount = 32222 @setvar! NeedtoSummon 12223 elseif followers = 3 and TotalSummonCount = 42224 @setvar! NeedtoSummon 12225 2226 elseif followers = 4 and TotalSummonCount = 12227 @setvar! NeedtoSummon 0 2228 @setvar! SummonName 12229 elseif followers = 4 and TotalSummonCount = 22230 @setvar! NeedtoSummon 02231 @setvar! SummonName 12232 elseif followers = 4 and TotalSummonCount = 32233 @setvar! NeedtoSummon 02234 @setvar! SummonName 12235 elseif followers = 4 and TotalSummonCount = 42236 @setvar! NeedtoSummon 1 2237 elseif followers = 52238 @setvar! NeedtoSummon 02239 @setvar! SummonName 12240 endif2241 2242 if NeedtoSummon = 02243 @setvar! SummonName 12244 wait 15002245 overhead "Alright team, let's do this!" 20862246 elseif NeedtoSummon = 12247 wait 5002248 overhead "Hmm... I think we should bring even more..."2249 wait 5002250 @setvar! SummonName 32251 poplist petNameList front2252 else 2253 poplist petNameList front2254 break2255 endif2256 poplist petNameList front2257 break2258 2259 elseif SummonName = 32260 wait 15002261 overhead "Introduce yourself to the team..." 20862262 wait 2502263 foreach petName in petNameList2264 rename myFreshlySummonedPet petName2265 wait 2502266 if insysmsg "That name is unacceptable"2267 sysmsg "Unable to name summon: {{petName}}" 342268 clearsysmsg 2269 poplist petNameList "front"2270 wait 5002271 else 2272 break2273 endif2274 endfor2275 wait 10002276 overhead "{{petName}} is what they call me..." 1909 myFreshlySummonedPet2277 wait 20002278 overhead "{{petName}} will kill for you." 1909 myFreshlySummonedPet2279 @setvar! NameThree petName2280 menu myFreshlySummonedPet 32281 @ignore myFreshlySummonedPet2282 poplist petNameList front2283 cooldown "Guard Timer" 600002284 2285 if followers = 02286 @setvar! NeedtoSummon 12287 elseif followers = 1 and TotalSummonCount > 02288 @setvar! NeedtoSummon 1 2289 2290 elseif followers = 2 and TotalSummonCount = 12291 @setvar! NeedtoSummon 0 2292 @setvar! SummonName 12293 elseif followers = 2 and TotalSummonCount = 22294 @setvar! NeedtoSummon 12295 elseif followers = 2 and TotalSummonCount = 32296 @setvar! NeedtoSummon 12297 elseif followers = 2 and TotalSummonCount = 42298 @setvar! NeedtoSummon 12299 2300 elseif followers = 3 and TotalSummonCount = 12301 @setvar! NeedtoSummon 0 2302 @setvar! SummonName 12303 elseif followers = 3 and TotalSummonCount = 22304 @setvar! NeedtoSummon 02305 @setvar! SummonName 12306 elseif followers = 3 and TotalSummonCount = 32307 @setvar! NeedtoSummon 12308 elseif followers = 3 and TotalSummonCount = 42309 @setvar! NeedtoSummon 12310 2311 elseif followers = 4 and TotalSummonCount = 12312 @setvar! NeedtoSummon 0 2313 @setvar! SummonName 12314 elseif followers = 4 and TotalSummonCount = 22315 @setvar! NeedtoSummon 02316 @setvar! SummonName 12317 elseif followers = 4 and TotalSummonCount = 32318 @setvar! NeedtoSummon 02319 @setvar! SummonName 12320 elseif followers = 4 and TotalSummonCount = 42321 @setvar! NeedtoSummon 1 2322 elseif followers = 52323 @setvar! NeedtoSummon 02324 @setvar! SummonName 12325 endif2326 2327 if NeedtoSummon = 02328 @setvar! SummonName 12329 wait 15002330 overhead "That's what I like to hear! Time to work..." 20862331 elseif NeedtoSummon = 12332 @setvar! SummonName 42333 wait 5002334 overhead "Hmm.. I think see room for one more...." 20862335 wait 5002336 poplist petNameList front2337 else 2338 poplist petNameList front2339 break2340 endif2341 poplist petNameList front2342 break2343 2344 elseif SummonName = 42345 wait 15002346 overhead "Do you have a name?" 20862347 wait 2502348 foreach petName in petNameList2349 rename myFreshlySummonedPet petName2350 wait 2502351 if insysmsg "That name is unacceptable"2352 sysmsg "Unable to name summon: {{petName}}" 342353 clearsysmsg 2354 poplist petNameList "front"2355 wait 5002356 else 2357 break2358 endif2359 endfor2360 wait 10002361 overhead "Yes, I am {{petName}}, Master." 1909 myFreshlySummonedPet2362 wait 20002363 overhead "{{petName}} will protect you now...." 1909 myFreshlySummonedPet2364 @setvar! NameFour petName2365 menu myFreshlySummonedPet 32366 @ignore myFreshlySummonedPet2367 poplist petNameList front2368 cooldown "Guard Timer" 600002369 @setvar! SummonName 12370 wait 15002371 overhead "Alright team, let's do this!" 20862372 break2373 else 2374 @setvar! SummonName 12375 endif 2376 endfor 2377 endif 2378 if followers = 02379 @setvar! NeedtoSummon 12380 elseif followers = 1 and TotalSummonCount > 02381 @setvar! NeedtoSummon 1 2382 2383 elseif followers = 2 and TotalSummonCount = 12384 @setvar! NeedtoSummon 0 2385 @setvar! SummonName 12386 break2387 elseif followers = 2 and TotalSummonCount = 22388 @setvar! NeedtoSummon 12389 elseif followers = 2 and TotalSummonCount = 32390 @setvar! NeedtoSummon 12391 elseif followers = 2 and TotalSummonCount = 42392 @setvar! NeedtoSummon 12393 2394 elseif followers = 3 and TotalSummonCount = 12395 @setvar! NeedtoSummon 0 2396 @setvar! SummonName 12397 break2398 elseif followers = 3 and TotalSummonCount = 22399 @setvar! NeedtoSummon 02400 @setvar! SummonName 12401 break2402 elseif followers = 3 and TotalSummonCount = 32403 @setvar! NeedtoSummon 12404 elseif followers = 3 and TotalSummonCount = 42405 @setvar! NeedtoSummon 12406 2407 elseif followers = 4 and TotalSummonCount = 12408 @setvar! NeedtoSummon 0 2409 @setvar! SummonName 12410 break2411 elseif followers = 4 and TotalSummonCount = 22412 @setvar! NeedtoSummon 02413 @setvar! SummonName 12414 break2415 elseif followers = 4 and TotalSummonCount = 32416 @setvar! NeedtoSummon 02417 @setvar! SummonName 12418 break2419 elseif followers = 4 and TotalSummonCount = 42420 @setvar! NeedtoSummon 1 2421 elseif followers = 52422 @setvar! NeedtoSummon 02423 @setvar! SummonName 12424 break2425 endif2426 endfor2427 replay2428 endif2429endif2430 2431if EnableSummons = 1 2432 if dead myMainTankPet2433 if not dead earthOne2434 @setvar! myMainTankPet earthOne2435 elseif not dead earthTwo2436 @setvar! myMainTankPet earthTwo2437 elseif not dead waterOne2438 @setvar! myMainTankPet waterOne2439 elseif not dead waterTwo2440 @setvar! myMainTankPet waterTwo2441 elseif not dead demonOne2442 @setvar! myMainTankPet demonOne2443 elseif not dead demonTwo2444 @setvar! myMainTankPet demonTwo2445 elseif not dead fireOne2446 @setvar! myMainTankPet fireOne2447 elseif not dead fireTwo2448 @setvar! myMainTankPet fireTwo2449 elseif not dead airOne2450 @setvar! myMainTankPet airOne2451 elseif not dead airTwo2452 @setvar! myMainTankPet airTwo2453 endif2454 else 2455 if not cooldown "Guard Timer" 2456 if GuardComment = 12457 overhead "* guarding... *" 2114 myMainTankPet2458 menu myMainTankPet 32459 @setvar! GuardComment 22460 wait 5002461 cooldown "Guard Timer" 1200002462 elseif GuardComment = 22463 overhead "* looks around menacingly... *" 2114 myMainTankPet2464 menu myMainTankPet 32465 @setvar! GuardComment 32466 wait 5002467 cooldown "Guard Timer" 1200002468 elseif GuardComment = 32469 overhead "* cracks knuckles... *" 2114 myMainTankPet2470 menu myMainTankPet 32471 @setvar! GuardComment 42472 wait 5002473 cooldown "Guard Timer" 1200002474 elseif GuardComment = 42475 overhead "* scanning for threats... *" 2114 myMainTankPet2476 menu myMainTankPet 32477 wait 5002478 @setvar! GuardComment 52479 cooldown "Guard Timer" 1200002480 elseif GuardComment = 52481 overhead "* growls... *" 2114 myMainTankPet2482 menu myMainTankPet 32483 @setvar! GuardComment 62484 wait 5002485 cooldown "Guard Timer" 1200002486 elseif GuardComment = 62487 overhead "This isn't very exciting, is it?" 44 myMainTankPet2488 menu myMainTankPet 32489 @setvar! GuardComment 12490 wait 5002491 cooldown "Guard Timer" 1200002492 else 2493 overhead "I think we've already passed that tree today..." 44 myMainTankPet2494 menu myMainTankPet 32495 @setvar! GuardComment 12496 wait 5002497 cooldown "Guard Timer" 120000 2498 endif 2499 endif2500 endif 2501 2502if EnableWeaponWarning = 12503 if skill "Mace Fighting" > 50 and not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" self and not cooldown "Inventory Timer"2504 overhead "[ NO WEAPON! ]" 3372505 cooldown "Inventory Timer" 100002506 sysmsg "Disable 'EnableWeaponWarning' in script variables to turn off this feature!" 0 2507 endif 2508 2509 if skill "Swordsmanship" > 50 and not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" self and not cooldown "Inventory Timer"2510 overhead "[ NO WEAPON! ]" 3372511 cooldown "Inventory Timer" 100002512 sysmsg "Disable 'EnableWeaponWarning' in script variables to turn off this feature!" 0 2513 endif2514 2515 if skill "Magery" > 80 and findtype "spellbook" self as myspellbook and not cooldown "Inventory Timer"2516 getlabel myspellbook SpellbookLabel2517 wait 250 2518 for 52519 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel2520 ignore myspellbook 2521 if findtype "spellbook" self as myspellbook2522 getlabel myspellbook SpellbookLabel2523 elseif not cooldown "Inventory Timer"2524 overhead "[ NO SPELLBOOK! ]" 3372525 cooldown "Inventory Timer" 100002526 sysmsg "Disable 'EnableWeaponWarning' in script variables to turn off this feature!" 02527 break2528 endif2529 endif 2530 endfor2531 endif 2532endif2533 2534if AllInventoryMessage = 1 and not cooldown "Inventory Timer"2535 if counttype "Yellow Potion" self = 0 and YellowInventoryMessage = 12536 overhead "[ RESTOCK HEAL POTS! ]" 2532537 cooldown "Inventory Timer" 100002538 sysmsg "Disable YellowInventoryMessage in script variables to turn off this overhead message!" 02539 endif 2540 2541 if counttype "Orange Potion" self = 0 and OrangeInventoryMessage = 12542 overhead "[ RESTOCK CURE POTS! ]" 442543 cooldown "Inventory Timer" 100002544 sysmsg "Disable OrangeInventoryMessage in script variables to turn off this overhead message!" 02545 endif 2546 2547 if counttype "Red Potion" self = 0 and RedInventoryMessage = 12548 overhead "[ RESTOCK REFRESH POTS! ]" 372549 cooldown "Inventory Timer" 100002550 sysmsg "Disable RedInventoryMessage in script variables to turn off this overhead message!" 02551 endif 2552 2553 if counttype "White Potion" self = 0 and WhiteInventoryMessage = 1 2554 overhead "[ RESTOCK STRENGTH POTS! ]" 9562555 cooldown "Inventory Timer" 100002556 sysmsg "Disable WhiteInventoryMessage in script variables to turn off this overhead message!" 02557 endif 2558 2559 if counttype "Blue Potion" self = 0 and BlueInventoryMessage = 12560 overhead "[ RESTOCK AGILITY POTS! ]" 932561 cooldown "Inventory Timer" 100002562 sysmsg "Disable BlueInventoryMessage in script variables to turn off this overhead message!" 02563 endif 2564 2565 if counttype "Black Potion" self = 0 and BlackInventoryMessage = 12566 overhead "[ RESTOCK MAGIC RESIST POTS! ]" 02567 cooldown "Inventory Timer" 100002568 sysmsg "Disable BlackInventoryMessage in script variables to turn off this overhead message!" 02569 endif 2570 2571 if counttype "rope" self = 0 and RopeInventoryMessage = 12572 overhead "[ RESTOCK ROPE! ]" 27992573 cooldown "Inventory Timer" 100002574 sysmsg "Disable RopeInventoryMessage in script variables to turn off this overhead message!" 02575 endif 2576endif2577 2578@setvar! PaytheMan 12579 2580if PaytheMan = 1 and not cooldown "Inventory Timer"2581 if find '0x6C0A02' 'ground' -1 -1 10 as VENDOR and not varexist EASTEREGG2582 overhead "Hey! I loooove your Harvest script!" 2532583 wait 10002584 overhead "It makes me so much money, I should spend it all here!" 2532585 wait 20002586 overhead ":)" 2086 VENDOR2587 wait 5002588 overhead "Well, thank you!" 2086 VENDOR2589 wait 20002590 overhead "I'd be happy to take any donations! The chest beside me is public (shhh!) and master loves gifts!" 2086 VENDOR2591 wait 45002592 overhead "Sign the guestbook!" 2086 VENDOR2593 wait 5002594 if find '0x4A38A441' 'ground' -1 -1 15 as DONATIONS2595 wait 5002596 overhead "(in this chest!)" 0 DONATIONS2597 endif2598 wait 25002599 overhead "Good luck out there! Fuck PKs & thieves! :)" 2086 VENDOR2600 setvar EASTEREGG 12601 else 2602 cooldown "Inventory Timer" 40002603 if find '0x4A38A441' 'ground' -1 -1 15 as DONATIONS2604 overhead "DONATIONS!" 253 DONATIONS2605 overhead "�" 253 DONATIONS2606 endif2607 endif 2608endif2609 2610if EnableMushroomMaker = 12611 if skill "Magery" >= 80 and counttype "mushroom" self = 0 2612 2613 if skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook2614 getlabel myspellbook SpellbookLabel2615 for 52616 wait 2502617 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel2618 ignore myspellbook 2619 if skill "Magery" > 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook2620 getlabel myspellbook SpellbookLabel2621 endif2622 endif 2623 endfor2624 dclick myspellbook2625 wait 2502626 endif 2627 2628 overhead "Hang on, I need to make some shrooms..." 20862629 wait 1000 2630 for 1002631 if counttype "Ginseng" self > 0 and counttype "Garlic" self > 0 and counttype "Mandrake Root%s%" self > 0 and mana >= 42632 cast "create food"2633 wait 1002634 while casting 2635 wait 502636 endwhile2637 if counttype "mushroom" self >= MakeMushroomAmount2638 break2639 endif2640 else2641 overhead "...I'm out of regs!" 2086 2642 @setvar! TimeToGo 12643 replay2644 endif2645 endfor2646 overhead "There, that's better!" 20862647 wait 5002648 endif2649 else 2650 if not cooldown "Inventory Timer"2651 overhead "Disable EnableMushroomMaker in script variables to turn off this feature!" 02652 cooldown "Inventory Timer" 100002653 endif2654 endif2655endif2656 2657if EnableCheeseTimer = 12658 if not findbuff 'food satisfaction' and findtype "wedge%s% of cheese|fish steak%s%" self2659 overhead "Hold on, I shouldn't do this on an empty stomach..." 20862660 wait 5002661 if findtype "wedge%s% of cheese|fish steak%s%" backpack as food2662 overhead "* eating food... *" 02663 dclick food2664 wait 15002665 overhead "Ok, I'm ready to get to work!" 20862666 endif2667 endif 2668endif 2669 2670if EnableEatFood = 12671 if not findbuff 'food satisfaction' and findtype "tray" self2672 overhead "Hold on, I'm hungry..." 20862673 wait 10002674 if findtype "tray" backpack as food2675 overhead "* eating food... *" 02676 dclick food2677 wait 15002678 overhead "Ok, I'm ready to get to work!" 20862679 endif2680 endif 2681endif 2682 2683if EnableToolCountdown = 12684 if findtype 'pickaxe|hatchet' hand as MyAxe2685 getlabel MyAxe AxeLabel2686 if '(5 uses' in AxeLabel or '(4 uses' in AxeLabel or '(3 uses' in AxeLabel or '(2 uses' in AxeLabel or '(1 use' in AxeLabel2687 if EnableRecycleTool = 02688 sysmsg "YOUR TOOL IS ABOUT TO BREAK....." 1532689 endif 2690 if EnableRecycleTool = 12691 sysmsg "YOUR TOOL IS ABOUT TO BE RECYCLED....." 932692 endif 2693 endif 2694 endif 2695endif2696 2697if EnableRecycleTool = 12698 if findtype 'tool kit' self as ToolKit2699 if findtype 'pickaxe|hatchet' hand as MyAxe2700 getlabel MyAxe AxeLabel2701 if '(2 use' in AxeLabel2702 overhead "[ RECYCLING TOOL! ]" 932703 clearhands both2704 wait 2502705 if not gumpexists 949095101 2706 dclick ToolKit2707 waitforgump 949095101 20002708 endif 2709 2710 for 52711 gumpresponse 3 9490951012712 wait 2502713 if insysmsg "Target an individual item"2714 target MyAxe2715 wait 2502716 gumpclose 9490951012717 wait 10002718 overhead "Every little bit counts..." 20862719 hotkey 'Organizer Agent-03' 2720 replay2721 else2722 gumpresponse 22723 wait 2502724 endfor 2725 endif 2726 endif 2727 endif 2728 endif2729 2730 if not findtype 'tool kit' self and not cooldown "Inventory Timer"2731 overhead "[ NO TOOL KIT! ]" 3372732 cooldown "Inventory Timer" 150002733 sysmsg "Disable 'EnableRecycleTool' in script variables to turn off this overhead message!" 02734 endif2735endif 2736 2737if insysmsg "As the owner" or insysmsg "Your house and its contents"2738 wait 10002739 if find MyDoor ground -1 -1 22740 overhead "* door slams! *" 0 MyDoor2741 dclick MyDoor 2742 wait 5002743 endif2744endif2745 2746clearsysmsg2747hotkey 'Cancel Current Target'2748 2749if EnableAutoAttackGreyMOB = 1 2750 if warmode2751 overhead "* cracks knuckles... *" 21282752 2753 if skill "Mace Fighting" > 50 and not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" hand and findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" backpack as weapon2754 getlabel weapon WeaponLabel2755 for 52756 wait 1002757 if "unidentified" in WeaponLabel2758 ignore weapon2759 if skill "Mace Fighting" > 50 and not findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" hand and findtype "sledgehammer|giant club|flail|cudgel|quarter staff|war mace|maul|war axe|mace|hammer pick" backpack as weapon2760 getlabel weapon WeaponLabel2761 endif2762 endif 2763 endfor2764 dclick weapon 2765 wait 1002766 endif 2767 2768 if skill "Swordsmanship" > 50 and not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" hand and findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" backpack as weapon2769 getlabel weapon WeaponLabel2770 for 52771 wait 1002772 if "unidentified" in WeaponLabel2773 ignore weapon2774 if skill "Swordsmanship" > 50 and not findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" hand and findtype "double axe|two handed axe|battle axe|halberd|katana|bardiche|cutlass|broadsword|scimitar|viking sword|longsword" backpack as weapon2775 getlabel weapon WeaponLabel2776 endif2777 endif 2778 endfor2779 dclick weapon 2780 wait 1002781 endif 2782 2783 if skill "Magery" >= 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as spellbook2784 getlabel spellbook SpellbookLabel2785 for 52786 wait 1002787 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel2788 ignore spellbook 2789 if skill "Magery" > 80 and not findtype "spellbook" hand and findtype "spellbook" backpack as spellbook2790 getlabel spellbook SpellbookLabel2791 endif2792 endif 2793 endfor2794 dclick spellbook2795 wait 1002796 endif 2797 2798 clearsysmsg2799 for 10002800 hotkey 'Target Closest Non-Friendly Monster'2801 wait 5002802 2803 if insysmsg "No one matching that was found" 2804 hotkey 'Cancel Current Target' 2805 @setvar CurrentTarget 02806 wait 7502807 overhead "Is there no one else??" 20862808 wait 20002809 overhead "Alright then, I guess it's back to work..." 20862810 hotkey 'Toggle Peace Only'2811 hotkey 'Clear Target Queue'2812 clearsysmsg 2813 replay 2814 endif 2815 2816 2817 @setvar CurrentTarget lasttarget 2818 getlabel CurrentTarget TargetDesc2819 2820 2821 while not dead CurrentTarget2822 if EnableRedAlertRecall = 12823 if insysmsg "Now tracking" or insysmsg "Distance to destination"2824 @setvar! TimeToGo 12825 hotkey 'Toggle Peace Only'2826 hotkey 'Clear Target Queue'2827 clearsysmsg 2828 replay2829 endif2830 endif 2831 2832 if not cooldown "Target Timer"2833 if "Paragon" in TargetDesc2834 overhead " � PARAGON! � " 12 CurrentTarget 2835 cooldown "Target Timer" 40002836 else 2837 overhead " � TARGET � " 253 CurrentTarget 2838 cooldown "Target Timer" 40002839 endif 2840 endif2841 2842 if not warmode 2843 overhead "I don't have time for this shit..." 20862844 wait 10002845 replay2846 endif2847 2848 // DEFENSIVE LOOP: 2849 2850 if skill 'Healing' > 50 and not bandaging and hits < maxhits2851 overhead '* applying bandages... *' 882852 hotkey "Bandage Self"2853 wait 2502854 endif2855 2856 if EnableCurePotion = 12857 if poisoned and not cooldown "Cure Potion" and hits < CurePotHP2858 if findtype "Orange Potion" self as curepot2859 overhead '* drinking cure potion... *' 442860 dclick curepot2861 cooldown "Cure Potion" 105002862 wait 2502863 else2864 overhead "[ NO CURE POTS! ]" 3372865 endif2866 endif2867 endif 2868 2869 if EnableHealPotion = 12870 if hits < HealPotHP and not cooldown "Healing Potion"2871 if findtype "Yellow Potion" self as healpot2872 overhead '* drinking heal potion... *' 2532873 dclick healpot2874 cooldown "Healing Potion" 105002875 wait 2502876 else 2877 overhead '[ NO HEAL POTS! ]' 3372878 endif2879 endif2880 endif 2881 2882 if EnableRefreshPotion = 12883 if diffstam >= RefreshPotSPdiff and not cooldown "Refresh Potion"2884 if findtype "Red Potion" self as refreshpot2885 overhead '* drinking refresh potion... *' 342886 dclick refreshpot2887 cooldown "Refresh Potion" 105002888 wait 2502889 else 2890 overhead '[ NO REFRESH POTS! ]' 3372891 endif2892 endif2893 endif2894 2895 if EnableMagicResistPotion = 12896 if not findbuff "Magic Resist Potion"2897 if findtype "Black Potion" self as magicresistpot2898 overhead '* drinking resist potion... *' 02899 dclick magicresistpot2900 wait 2502901 else 2902 overhead '[ NO RESIST POTS! ]' 3372903 wait 5002904 endif2905 wait 10002906 endif2907 endif2908 2909 if EnableStrengthPotion = 12910 if not findbuff "Strength"2911 if findtype "White Potion" self as strengthpot2912 overhead '* drinking strength potion... *' 9562913 dclick strengthpot2914 wait 2502915 else 2916 overhead '[ NO STRENGTH POTS! ]' 3372917 wait 5002918 endif2919 wait 10002920 endif2921 endif2922 2923 if EnableAgilityPotion = 12924 if not findbuff "Agility"2925 if findtype "Blue Potion" self as agilitypot2926 overhead '* drinking agility potion... *' 932927 dclick agilitypot2928 wait 2502929 else 2930 overhead '[ NO AGILITY POTS! ]' 3372931 wait 5002932 endif2933 wait 10002934 endif2935 endif2936 2937 if EnableCastHeal = 12938 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook2939 getlabel myspellbook SpellbookLabel2940 for 52941 wait 1002942 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel2943 ignore myspellbook 2944 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook2945 getlabel myspellbook SpellbookLabel2946 else 2947 overhead "[ NO SPELLBOOK! ]" 3372948 break2949 endif2950 endif 2951 endfor2952 dclick myspellbook2953 wait 2502954 endif2955 2956 if skill 'Magery' >= 40 and diffhits > CastHealHPmeddiff and diffhits < CastHealHPhighdiff and mana >= 42957 cast 'Heal'2958 wait 1002959 while not casting 2960 if targetexists2961 hotkey 'cancel current target'2962 endif2963 cast 'Heal'2964 wait 1002965 endwhile 2966 wft 15002967 target 'self' 2968 wait 2502969 2970 elseif skill 'Magery' >= 60 and diffhits > CastHealHPhighdiff and mana >= 112971 cast 'Greater Heal'2972 wait 1002973 while not casting 2974 if targetexists2975 hotkey 'cancel current target'2976 endif2977 cast 'Greater Heal'2978 wait 1002979 endwhile 2980 wft 15002981 target 'self' 2982 wait 2502983 2984 elseif skill 'Magery' >= 40 and diffhits > CastHealHPhighdiff and mana >= 4 and mana < 112985 cast 'Heal'2986 wait 1002987 while not casting 2988 if targetexists2989 hotkey 'cancel current target'2990 endif2991 cast 'Heal'2992 wait 1002993 endwhile 2994 wft 15002995 target 'self' 2996 wait 2502997 endif2998 endif2999 3000 if EnableCastCure = 13001 if poisoned and skill 'Magery' >= 40 and mana >= 63002 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook3003 getlabel myspellbook SpellbookLabel3004 for 53005 wait 1003006 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel3007 ignore myspellbook 3008 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3009 getlabel myspellbook SpellbookLabel3010 else 3011 overhead "[ NO SPELLBOOK! ]" 3373012 break3013 endif3014 endif 3015 endfor3016 dclick myspellbook3017 wait 2503018 endif3019 cast 'Cure'3020 wait 1003021 while not casting 3022 if targetexists3023 hotkey 'cancel current target'3024 endif3025 cast 'Cure' 3026 wait 1003027 endwhile 3028 wft 15003029 target 'self' 3030 wait 100 3031 endif 3032 endif 3033 3034 if paralyzed and EnableParalyzePouch = 13035 overhead "[[[[ POP ]]]]" 21173036 say "[pouch" 3037 @setvar! TimeToGo 13038 replay3039 endif3040 3041 if EnableProtection = 13042 if skill 'Magery' >= 40 and not findbuff 'Protection' and mana >= 903043 for 33044 cast 'Protection' 3045 wait 1003046 while casting 3047 wait 503048 endwhile3049 if cooldown "Spell Fail"3050 overhead "Shit, let me try that again..." 20863051 wait 5003052 else3053 break3054 endif 3055 endfor 3056 overhead "[ PROTECTION ACTIVE! ]" 773057 wait 2503058 endif 3059 endif 3060 3061 3062 // OFFENSIVE LOOP:3063 3064 if skill "Mace Fighting" or skill "Swordsmanship" > 503065 attack CurrentTarget 3066 wait 5003067 endif3068 3069 if skill "Magery" >= 703070 if EnableMagicMushroom = 13071 if not timerexists MushroomTimer3072 settimer MushroomTimer MushroomCooldown3073 endif3074 3075 if mana < 50 and timer MushroomTimer >= MushroomCooldown and findtype "mushroom" backpack as magicmushroom3076 overhead "* eating shrooms... *" 313077 dclick magicmushroom3078 wait 5003079 if insysmsg "You consume a magic mushroom and restore some mana."3080 settimer MushroomTimer 0 3081 elseif insysmsg "before you may consume another magic mushroom" or insysmsg "been in combat with another"3082 settimer MushroomTimer 300003083 endif3084 cooldown "Mushroom" MushroomCooldown3085 endif3086 endif3087 3088 if not findtype "spellbook" hand and findtype "spellbook" backpack as myspellbook3089 getlabel myspellbook SpellbookLabel3090 for 53091 wait 1003092 if "unidentified" in SpellbookLabel or "[blessed" in SpellbookLabel3093 ignore myspellbook 3094 if not findtype "spellbook" hand and findtype "spellbook" self as myspellbook3095 getlabel myspellbook SpellbookLabel3096 else 3097 overhead "[ NO SPELLBOOK! ]" 3373098 break3099 endif3100 endif 3101 endfor3102 dclick myspellbook3103 wait 2503104 endif3105 3106 wait 5003107 3108 if not find CurrentTarget ground -1 -1 153109 if not cooldown "Move Timer"3110 overhead "Did we get it??" 20863111 wait 5003112 if EnableSummons = 1 and followers > 13113 wait 10003114 overhead "I believe that was MY kill, Master..." 1909 myMainTankPet3115 wait 5003116 endif3117 cooldown "Move Timer" 50003118 endif3119 else3120 if mana >= 4 and EnableCastWeaken = 1 and not cooldown "WeakenCD"3121 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303122 hotkey '> Interrupt'3123 break3124 else3125 cast 'weaken'3126 wait 1003127 while casting 3128 wait 503129 endwhile3130 endif 3131 wft 25003132 target CurrentTarget3133 wait 2503134 if insysmsg "cannot be seen" 3135 overhead "I can't see that!" 20863136 wait 5003137 else 3138 cooldown WeakenCD WeakenCooldown3139 endif 3140 3141 elseif mana >= 4 and EnableCastMagicArrow = 1 and not cooldown "MagicArrowCD"3142 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303143 hotkey '> Interrupt'3144 break3145 else3146 cast 'magic arrow'3147 wait 1003148 while casting 3149 wait 503150 endwhile3151 endif 3152 wft 25003153 target CurrentTarget3154 wait 2503155 if insysmsg "cannot be seen" 3156 overhead "I can't see that!" 20863157 wait 5003158 else 3159 cooldown MagicArrowCD MagicArrowCooldown3160 endif3161 3162 elseif mana >= 6 and EnableCastHarm = 1 and not cooldown "HarmCD"3163 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303164 hotkey '> Interrupt'3165 break3166 else3167 cast 'harm'3168 wait 1003169 while casting 3170 wait 503171 endwhile3172 endif 3173 wft 25003174 target CurrentTarget3175 wait 2503176 if insysmsg "cannot be seen" 3177 overhead "I can't see that!" 20863178 wait 5003179 else 3180 cooldown HarmCD HarmCooldown3181 endif 3182 3183 elseif mana >= 11 and EnableCastCurse = 1 and not cooldown "CurseCD"3184 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303185 hotkey '> Interrupt'3186 break3187 else3188 cast 'curse'3189 wait 1003190 while casting 3191 wait 503192 endwhile3193 endif 3194 wft 25003195 target CurrentTarget3196 wait 2503197 if insysmsg "cannot be seen" 3198 overhead "I can't see that!" 20863199 wait 5003200 else 3201 cooldown CurseCD CurseCooldown3202 endif 3203 3204 elseif mana >= 20 and EnableCastExplosion = 1 and not cooldown "ExplosionCD"3205 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303206 hotkey '> Interrupt'3207 break3208 else3209 cast 'Explosion'3210 wait 1003211 while casting 3212 wait 503213 endwhile3214 endif 3215 wft 25003216 target CurrentTarget3217 wait 2503218 if insysmsg "cannot be seen" 3219 overhead "I can't see that!" 20863220 wait 5003221 else 3222 cooldown ExplosionCD ExplosionCooldown3223 endif3224 3225 elseif mana >= 20 and EnableCastEnergyBolt = 1 and not cooldown "EnergyBoltCD"3226 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303227 hotkey '> Interrupt'3228 break3229 else3230 cast 'Energy Bolt'3231 wait 1003232 while casting 3233 wait 503234 endwhile3235 endif 3236 wft 25003237 target CurrentTarget3238 wait 2503239 if insysmsg "cannot be seen" 3240 overhead "I can't see that!" 20863241 wait 5003242 else 3243 cooldown EnergyBoltCD EnergyBoltCooldown3244 endif3245 3246 elseif mana >= 14 and EnableCastMindblast = 1 and not cooldown "MindblastCD"3247 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303248 hotkey '> Interrupt'3249 break3250 else3251 cast 'mindblast'3252 wait 1003253 while casting 3254 wait 503255 endwhile3256 endif 3257 wft 25003258 target CurrentTarget3259 wait 2503260 if insysmsg "cannot be seen" 3261 overhead "I can't see that!" 20863262 wait 5003263 else 3264 cooldown MindblastCD MindblastCooldown3265 endif 3266 3267 elseif mana >= 11 and EnableCastLightning = 1 and not cooldown "LightningCD"3268 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303269 hotkey '> Interrupt'3270 break3271 else3272 cast 'Lightning'3273 wait 1003274 while casting 3275 wait 503276 endwhile3277 endif 3278 wft 25003279 target CurrentTarget3280 wait 2503281 if insysmsg "cannot be seen" 3282 overhead "I can't see that!" 20863283 wait 5003284 else 3285 cooldown LightningCD LightningCooldown3286 endif3287 3288 elseif mana >= 40 and EnableCastFlamestrike = 1 and not cooldown "FlamestrikeCD"3289 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303290 hotkey '> Interrupt'3291 break3292 else3293 cast 'flamestrike'3294 wait 1003295 while casting 3296 wait 503297 endwhile3298 endif 3299 wft 25003300 target CurrentTarget3301 wait 2503302 if insysmsg "cannot be seen" 3303 overhead "I can't see that!" 20863304 wait 5003305 else 3306 cooldown FlamestrikeCD FlamestrikeCooldown3307 endif3308 3309 elseif mana >= 9 and EnableCastFireball = 1 and not cooldown "FireballCD"3310 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303311 hotkey '> Interrupt'3312 break3313 else3314 cast 'fireball'3315 wait 1003316 while casting 3317 wait 503318 endwhile3319 endif 3320 wft 25003321 target CurrentTarget3322 wait 2503323 if insysmsg "cannot be seen" 3324 overhead "I can't see that!" 20863325 wait 5003326 else 3327 cooldown FireballCD FireballCooldown3328 endif3329 3330 elseif mana >= 40 and EnableCastMeteorSwarm = 1 and not cooldown "MeteorSwarmCD"3331 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303332 hotkey '> Interrupt'3333 break3334 else3335 cast 'meteor swarm'3336 wait 1003337 while casting 3338 wait 503339 endwhile3340 endif 3341 wft 25003342 target CurrentTarget3343 wait 2503344 if insysmsg "cannot be seen" 3345 overhead "I can't see that!" 20863346 wait 5003347 else 3348 cooldown MeteorSwarmCD MeteorSwarmCooldown3349 endif3350 3351 elseif mana >= 40 and EnableCastChainLightning = 1 and not cooldown "ChainLightningCD"3352 if not find CurrentTarget ground -1 -1 15 or diffhits >= 303353 hotkey '> Interrupt'3354 break3355 else3356 cast 'chain lightning'3357 wait 1003358 while casting 3359 wait 503360 endwhile3361 endif 3362 wft 25003363 target CurrentTarget3364 wait 2503365 if insysmsg "cannot be seen" 3366 overhead "I can't see that!" 20863367 wait 5003368 else 3369 cooldown ChainLightningCD ChainLightningCooldown3370 endif3371 endif 3372 wait 5003373 endif 3374 endif3375 endwhile3376 wait 5003377 3378 if insysmsg "You have gained"3379 overhead "Did you see that?? I just killed {{TargetDesc}}!" 20863380 hotkey 'Cancel Current Target'3381 @setvar CurrentTarget 03382 wait 5003383 3384 if skill "Spirit Speak" >= 80 and not cooldown "Spirit Speak"3385 useskill "spiritspeak"3386 cooldown "Spirit Speak" 105003387 wait 5003388 endif3389 endif3390 3391 if findtype 'Elven SpellBlade' backpack and EnableAutoCarving = 13392 if findtype "corpse" ground -1 -1 2 as corpse3393 hotkey 'Cancel Current Target'3394 dclicktype "Elven Spellblade"3395 wft 15003396 target self3397 overhead "* skinning {{TargetDesc}}... *" 3393398 @ignore corpse3399 endif 3400 endif 3401 3402 if insysmsg "You have unlocked a codex upgrade point"3403 overhead "[ CODEX POINT UNLOCKED! ]" 21143404 if EnableSummons = 1 and followers > 13405 wait 10003406 overhead "Well done, Master..." 44 myMainTankPet3407 menu myMainTankPet 33408 endif3409 endif 3410 3411 if insysmsg "unlocked a point for your wizard's grimoire"3412 overhead "[ GRIMOIRE POINT UNLOCKED! ]" 73413 if EnableSummons = 1 and followers > 13414 wait 10003415 overhead "You seem stronger, Master..." 44 myMainTankPet3416 menu myMainTankPet 33417 endif3418 endif 3419 3420 if insysmsg "enough experience to upgrade"3421 overhead "[ ASPECT TIER UNLOCKED! ]" 20863422 if EnableSummons = 1 and followers > 13423 wait 5003424 overhead "Time to spend some more gold, it would seem..." 44 myMainTankPet3425 menu myMainTankPet 33426 wait 5003427 endif3428 endif 3429 3430 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 > 13431 overhead "Hmm.. I suddenly feel stronger!" 44 myMainTankPet3432 menu myMainTankPet 33433 wait 5003434 overhead "* cracks knuckles... *" 0 myMainTankPet3435 endif 3436 3437 3438 if insysmsg "something invisible out of the way"3439 overhead "[ � SOMEONE HIDDEN! � ]" 63440 if EnableSummons = 1 and followers > 13441 wait 5003442 overhead "There is a foul stench upon the air..." 44 myMainTankPet3443 menu myMainTankPet 33444 wait 5003445 endif3446 endif 3447 3448 if paralyzed and EnableParalyzePouch = 13449 overhead "[[[[ POP ]]]]" 21173450 say "[pouch" 3451 @setvar! TimeToGo 13452 if EnableSummons = 1 and followers > 13453 overhead "That was unwise, criminal..." 44 myMainTankPet3454 menu myMainTankPet 33455 clearsysmsg 3456 endif3457 endif3458 3459 if skill "Spirit Speak" >= 80 and not cooldown "Spirit Speak"3460 useskill "spiritspeak"3461 cooldown "Spirit Speak" 105003462 wait 5003463 endif3464 3465 if not findbuff "Actively Meditating" and mana < 30 and diffhits < 303466 clearhands both3467 hotkey "Meditation"3468 wait 1003469 while mana < 503470 if EnableRedAlertRecall = 13471 if insysmsg "Now tracking" or insysmsg "Distance to destination"3472 @setvar! TimeToGo 13473 hotkey 'Toggle Peace Only'3474 hotkey 'Clear Target Queue'3475 clearsysmsg 3476 replay3477 endif3478 endif3479 3480 if diffhits > 30 3481 break3482 elseif not cooldown "Move Timer"3483 overhead "* meditating... *" 123484 cooldown "Move Timer" 40003485 endif3486 3487 if not warmode 3488 overhead "I need to get back to work..." 20863489 wait 10003490 replay3491 endif3492 endwhile3493 endif 3494 endfor 3495 3496 hotkey 'Cancel Current Target'3497 @setvar! TimeToGo 13498 replay 3499 3500 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" self3501 overhead "I can't fight without a weapon!" 20863502 hotkey 'Toggle Peace Only'3503 hotkey 'Cancel Current Target'3504 @setvar! TimeToGo 13505 replay 3506 endif 3507 hotkey 'Cancel Current Target'3508 hotkey 'Toggle Peace Only'3509 replay3510 endif3511endif3512 3513if not dead and skill "Lumberjacking" > 49.9 and EnableLumberjacking = 1 and not cooldown "Travel"3514 3515if counttype "board%s" > BoardRecallAmount and EnableBoardAutoRecall = 13516 overhead "I'd hate to lose all this hard work..." 20863517 wait 25003518 overhead "I'm going to go unload before it's too late!" 20863519 sysmsg "Disable 'EnableBoardAutoRecall' in script variables to turn off this feature!" 03520 wait 20003521 @setvar! TimeToGo 13522 replay3523endif 3524 3525if not findtype 'hatchet' self3526 overhead "I can't work with no hatchet!" 20863527 wait 15003528 @setvar! TimeToGo 13529 replay3530endif3531 3532if not findtype 'hatchet' hand and findtype 'hatchet' backpack3533 dclicktype 'hatchet' backpack3534 wait 2503535endif3536 3537if EnableWeightWarningMessage = 1 and not cooldown "Weight Timer"3538 if weight > GreenWarningWeight and weight < YellowWarningWeight3539 overhead "[ WEIGHT WARNING! ]" 773540 cooldown "Weight Timer" 35003541 endif3542 3543 if weight > YellowWarningWeight and weight < RedWeightLimit3544 overhead "[ TIME TO UNLOAD! ]" 1493545 cooldown "Weight Timer" 35003546 endif 3547 3548 if weight > RedWeightLimit3549 overhead "[ WEIGHT LIMIT REACHED!!! ]" 3373550 wait 20003551 overhead "Please reduce weight in order to continue..." 03552 cooldown "Weight Timer" 30003553 replay3554 endif3555endif3556 3557hotkey 'Use item in hand' 3558waitfortarget 15003559hotkey 'Target Self' 3560wait 5503561 3562 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 13563 @setvar! TimeToGo 13564 replay 3565 3566 elseif insysmsg 'world is saving' 3567 for 403568 wait 1003569 if insysmsg 'world save complete' 3570 wait 1003571 overhead '[ SAVE COMPLETE! ]' 253 3572 clearsysmsg 3573 endif 3574 endfor 3575 clearsysmsg 3576 3577 elseif insysmsg 'Harvesting is not allowed' 3578 overhead 'You need to leave town...' 0 3579 wait 5000 3580 replay 3581 3582 elseif insysmsg 'You broke your axe' 3583 overhead "My axe broke!" 20863584 wait 15003585 replay 3586 3587 elseif insysmsg "must wait 59"3588 cooldown "Travel" 590003589 overhead "I'm tired from travelling..." 20863590 wait 1500 3591 overhead "Just give me a minute to recover!" 20863592 clearsysmsg 3593 replay 3594 elseif insysmsg "must wait 58"3595 cooldown "Travel" 580003596 overhead "I'm tired from travelling..." 20863597 wait 1500 3598 overhead "Just give me a minute to recover!" 20863599 clearsysmsg 3600 replay 3601 elseif insysmsg "must wait 57"3602 cooldown "Travel" 570003603 overhead "I'm tired from travelling..." 20863604 wait 1500 3605 overhead "Just give me a minute to recover!" 20863606 clearsysmsg 3607 replay 3608 elseif insysmsg "must wait 56"3609 cooldown "Travel" 560003610 overhead "I'm tired from travelling..." 20863611 wait 1500 3612 overhead "Just give me a minute to recover!" 20863613 clearsysmsg 3614 replay 3615 elseif insysmsg "must wait 55"3616 cooldown "Travel" 550003617 overhead "I'm tired from travelling..." 20863618 wait 1500 3619 overhead "Just give me a minute to recover!" 20863620 clearsysmsg 3621 replay 3622 elseif insysmsg "must wait 54"3623 cooldown "Travel" 540003624 overhead "I'm tired from travelling..." 20863625 wait 1500 3626 overhead "Just give me a minute to recover!" 20863627 clearsysmsg 3628 replay 3629 elseif insysmsg "must wait 53"3630 cooldown "Travel" 530003631 overhead "I'm tired from travelling..." 20863632 wait 1500 3633 overhead "Just give me a minute to recover!" 20863634 clearsysmsg 3635 replay 3636 elseif insysmsg "must wait 52"3637 cooldown "Travel" 520003638 overhead "I'm tired from travelling..." 20863639 wait 1500 3640 overhead "Just give me a minute to recover!" 20863641 clearsysmsg 3642 replay 3643 elseif insysmsg "must wait 51"3644 cooldown "Travel" 510003645 overhead "I'm tired from travelling..." 20863646 wait 1500 3647 overhead "Just give me a minute to recover!" 20863648 clearsysmsg 3649 replay 3650 elseif insysmsg "must wait 50"3651 cooldown "Travel" 500003652 overhead "I'm tired from travelling..." 20863653 wait 1500 3654 overhead "Just give me a minute to recover!" 20863655 clearsysmsg 3656 replay 3657 elseif insysmsg "must wait 49"3658 cooldown "Travel" 490003659 overhead "I'm tired from travelling..." 20863660 wait 1500 3661 overhead "Just give me a minute to recover!" 20863662 clearsysmsg 3663 replay 3664 elseif insysmsg "must wait 48"3665 cooldown "Travel" 480003666 overhead "I'm tired from travelling..." 20863667 wait 1500 3668 overhead "Just give me a minute to recover!" 20863669 clearsysmsg 3670 replay 3671 elseif insysmsg "must wait 47"3672 cooldown "Travel" 470003673 overhead "I'm tired from travelling..." 20863674 wait 1500 3675 overhead "Just give me a minute to recover!" 20863676 clearsysmsg 3677 replay 3678 elseif insysmsg "must wait 46"3679 cooldown "Travel" 460003680 overhead "I'm tired from travelling..." 20863681 wait 1500 3682 overhead "Just give me a minute to recover!" 20863683 clearsysmsg 3684 replay 3685 elseif insysmsg "must wait 45"3686 cooldown "Travel" 450003687 overhead "I'm tired from travelling..." 20863688 wait 1500 3689 overhead "Just give me a minute to recover!" 20863690 clearsysmsg 3691 replay 3692 elseif insysmsg "must wait 44"3693 cooldown "Travel" 440003694 overhead "I'm tired from travelling..." 20863695 wait 1500 3696 overhead "Just give me a minute to recover!" 20863697 clearsysmsg 3698 replay 3699 elseif insysmsg "must wait 43"3700 cooldown "Travel" 430003701 overhead "I'm tired from travelling..." 20863702 wait 1500 3703 overhead "Just give me a minute to recover!" 20863704 clearsysmsg 3705 replay 3706 elseif insysmsg "must wait 42"3707 cooldown "Travel" 420003708 overhead "I'm tired from travelling..." 20863709 wait 1500 3710 overhead "Just give me a minute to recover!" 20863711 clearsysmsg 3712 replay 3713 elseif insysmsg "must wait 41"3714 cooldown "Travel" 410003715 overhead "I'm tired from travelling..." 20863716 wait 1500 3717 overhead "Just give me a minute to recover!" 20863718 clearsysmsg 3719 replay 3720 elseif insysmsg "must wait 40"3721 cooldown "Travel" 400003722 overhead "I'm tired from travelling..." 20863723 wait 1500 3724 overhead "Just give me a bit to recover!" 20863725 clearsysmsg 3726 replay 3727 elseif insysmsg "must wait 39"3728 cooldown "Travel" 390003729 overhead "I'm tired from travelling..." 20863730 wait 1500 3731 overhead "Just give me a bit to recover!" 20863732 clearsysmsg 3733 replay 3734 elseif insysmsg "must wait 38"3735 cooldown "Travel" 380003736 overhead "I'm tired from travelling..." 20863737 wait 1500 3738 overhead "Just give me a bit to recover!" 20863739 clearsysmsg 3740 replay 3741 elseif insysmsg "must wait 37"3742 cooldown "Travel" 370003743 overhead "I'm tired from travelling..." 20863744 wait 1500 3745 overhead "Just give me a bit to recover!" 20863746 clearsysmsg 3747 replay 3748 elseif insysmsg "must wait 36"3749 cooldown "Travel" 360003750 overhead "I'm tired from travelling..." 20863751 wait 1500 3752 overhead "Just give me a bit to recover!" 20863753 clearsysmsg 3754 replay 3755 elseif insysmsg "must wait 35"3756 cooldown "Travel" 350003757 overhead "I'm tired from travelling..." 20863758 wait 1500 3759 overhead "Just give me a bit to recover!" 20863760 clearsysmsg 3761 replay 3762 elseif insysmsg "must wait 34"3763 cooldown "Travel" 340003764 overhead "I'm tired from travelling..." 20863765 wait 1500 3766 overhead "Just give me a bit to recover!" 20863767 clearsysmsg 3768 replay 3769 elseif insysmsg "must wait 33"3770 cooldown "Travel" 330003771 overhead "I'm tired from travelling..." 20863772 wait 1500 3773 overhead "Just give me a bit to recover!" 20863774 clearsysmsg 3775 replay 3776 elseif insysmsg "must wait 32"3777 cooldown "Travel" 320003778 overhead "I'm tired from travelling..." 20863779 wait 1500 3780 overhead "Just give me a bit to recover!" 20863781 clearsysmsg 3782 replay 3783 elseif insysmsg "must wait 31"3784 cooldown "Travel" 310003785 overhead "I'm tired from travelling..." 20863786 wait 1500 3787 overhead "Just give me a bit to recover!" 20863788 clearsysmsg 3789 replay 3790 elseif insysmsg "must wait 30"3791 cooldown "Travel" 300003792 overhead "I'm tired from travelling..." 20863793 wait 1500 3794 overhead "Just give me a bit to recover!" 20863795 clearsysmsg 3796 replay 3797 elseif insysmsg "must wait 29"3798 cooldown "Travel" 290003799 overhead "I'm tired from travelling..." 20863800 wait 1500 3801 overhead "Just give me a bit to recover!" 20863802 clearsysmsg 3803 replay 3804 elseif insysmsg "must wait 28"3805 cooldown "Travel" 280003806 overhead "I'm tired from travelling..." 20863807 wait 1500 3808 overhead "Just give me a bit to recover!" 20863809 clearsysmsg 3810 replay 3811 elseif insysmsg "must wait 27"3812 cooldown "Travel" 270003813 overhead "I'm tired from travelling..." 20863814 wait 1500 3815 overhead "Just give me a bit longer to recover!" 20863816 clearsysmsg 3817 replay 3818 elseif insysmsg "must wait 26"3819 cooldown "Travel" 260003820 overhead "I'm tired from travelling..." 20863821 wait 1500 3822 overhead "Just give me a bit longer to recover!" 20863823 clearsysmsg 3824 replay 3825 elseif insysmsg "must wait 25"3826 cooldown "Travel" 250003827 overhead "I'm tired from travelling..." 20863828 wait 1500 3829 overhead "Just give me a bit longer to recover!" 20863830 clearsysmsg 3831 replay 3832 elseif insysmsg "must wait 24"3833 cooldown "Travel" 240003834 overhead "I'm tired from travelling..." 20863835 wait 1500 3836 overhead "Just give me a bit longer to recover!" 20863837 clearsysmsg 3838 replay 3839 elseif insysmsg "must wait 23"3840 cooldown "Travel" 230003841 overhead "I'm tired from travelling..." 20863842 wait 1500 3843 overhead "Just give me a bit longer to recover!" 20863844 clearsysmsg 3845 replay 3846 elseif insysmsg "must wait 22"3847 cooldown "Travel" 220003848 overhead "I'm tired from travelling..." 20863849 wait 1500 3850 overhead "Just give me a bit longer to recover!" 20863851 clearsysmsg 3852 replay 3853 elseif insysmsg "must wait 21"3854 cooldown "Travel" 210003855 overhead "I'm tired from travelling..." 20863856 wait 1500 3857 overhead "Just give me a bit longer to recover!" 20863858 clearsysmsg 3859 replay 3860 elseif insysmsg "must wait 20"3861 cooldown "Travel" 200003862 overhead "I'm tired from travelling..." 20863863 wait 1500 3864 overhead "Just give me a bit longer to recover!" 20863865 clearsysmsg 3866 replay 3867 elseif insysmsg "must wait 19"3868 cooldown "Travel" 190003869 overhead "I'm tired from travelling..." 20863870 wait 1500 3871 overhead "Just give me a bit longer to recover!" 20863872 clearsysmsg 3873 replay 3874 elseif insysmsg "must wait 18"3875 cooldown "Travel" 180003876 overhead "I'm tired from travelling..." 20863877 wait 1500 3878 overhead "Just give me a bit longer to recover!" 20863879 clearsysmsg 3880 replay 3881 elseif insysmsg "must wait 17"3882 cooldown "Travel" 170003883 overhead "I'm tired from travelling..." 20863884 wait 1500 3885 overhead "Just give me a minute to recover!" 20863886 clearsysmsg 3887 replay 3888 elseif insysmsg "must wait 16"3889 cooldown "Travel" 160003890 overhead "I'm tired from travelling..." 20863891 wait 1500 3892 overhead "Just give me a bit longer to recover!" 20863893 clearsysmsg 3894 replay 3895 elseif insysmsg "must wait 15"3896 cooldown "Travel" 150003897 overhead "I'm tired from travelling..." 20863898 wait 1500 3899 overhead "Just give me a little bit longer to recover!" 20863900 clearsysmsg 3901 replay 3902 elseif insysmsg "must wait 14"3903 cooldown "Travel" 140003904 overhead "I'm tired from travelling..." 20863905 wait 1500 3906 overhead "Just give me a little bit longer to recover!" 20863907 clearsysmsg 3908 replay 3909 elseif insysmsg "must wait 13"3910 cooldown "Travel" 130003911 overhead "I'm tired from travelling..." 20863912 wait 1500 3913 overhead "Just give me a little bit longer to recover!" 20863914 clearsysmsg 3915 replay 3916 elseif insysmsg "must wait 12"3917 cooldown "Travel" 120003918 overhead "I'm tired from travelling..." 20863919 wait 1500 3920 overhead "Just give me a little bit longer to recover!" 20863921 clearsysmsg 3922 replay 3923 elseif insysmsg "must wait 11"3924 cooldown "Travel" 110003925 overhead "I'm tired from travelling..." 20863926 wait 1500 3927 overhead "Just give me a little bit longer to recover!" 20863928 clearsysmsg 3929 replay 3930 elseif insysmsg "must wait 10"3931 cooldown "Travel" 100003932 overhead "I'm tired from travelling..." 20863933 wait 1500 3934 overhead "Just give me a few more seconds to recover!" 20863935 clearsysmsg 3936 replay 3937 elseif insysmsg "must wait 9"3938 cooldown "Travel" 90003939 overhead "I'm tired from travelling..." 20863940 wait 1500 3941 overhead "Just give me a few more seconds to recover!" 20863942 clearsysmsg 3943 replay 3944 elseif insysmsg "must wait 8"3945 cooldown "Travel" 80003946 overhead "I'm tired from travelling..." 20863947 wait 1500 3948 overhead "Just give me a few more seconds to recover!" 20863949 clearsysmsg 3950 replay 3951 elseif insysmsg "must wait 7"3952 cooldown "Travel" 70003953 overhead "I'm tired from travelling..." 20863954 wait 1500 3955 overhead "Just give me a few more seconds to recover!" 20863956 clearsysmsg 3957 replay 3958 elseif insysmsg "must wait 6"3959 cooldown "Travel" 60003960 overhead "I'm tired from travelling..." 20863961 wait 1500 3962 overhead "Just give me a few more seconds to recover!" 20863963 clearsysmsg 3964 replay 3965 elseif insysmsg "must wait 5"3966 cooldown "Travel" 50003967 overhead "I'm tired from travelling..." 20863968 wait 1500 3969 overhead "Just give me a few more seconds to recover!" 20863970 clearsysmsg 3971 replay 3972 elseif insysmsg "must wait 4"3973 cooldown "Travel" 40003974 overhead "I'm tired from travelling..." 20863975 wait 1500 3976 overhead "Just give me a few more seconds to recover!" 20863977 clearsysmsg 3978 replay 3979 elseif insysmsg "must wait 3"3980 cooldown "Travel" 30003981 overhead "I'm tired from travelling..." 20863982 wait 1500 3983 overhead "Just give me a few more seconds to recover!" 20863984 clearsysmsg 3985 replay 3986 elseif insysmsg "must wait 2"3987 cooldown "Travel" 20003988 overhead "I'm tired from travelling..." 20863989 wait 1500 3990 overhead "Just give me a couple more seconds to recover!" 20863991 clearsysmsg 3992 replay 3993 elseif insysmsg "must wait 1"3994 cooldown "Travel" 10003995 overhead "I'm tired from travelling..." 20863996 wait 1500 3997 overhead "Just give me a second to recover!" 20863998 clearsysmsg 3999 replay4000 elseif insysmsg "You must wait"4001 clearsysmsg 4002 replay4003 4004 elseif insysmsg 'You do not see any' or insysmsg 'You cannot produce any' 4005 if MOVE = 14006 if not cooldown "Move Timer"4007 overhead "[ KEEP MOVING... ]" 21284008 cooldown "Move Timer" 25004009 @setvar! MOVE 04010 endif4011 4012 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 14013 @setvar! TimeToGo 14014 replay4015 endif4016 4017 if paralyzed and EnableParalyzePouch = 14018 overhead "[[[[ POP ]]]]" 21174019 say "[pouch" 4020 @setvar! TimeToGo 14021 replay4022 endif4023 4024 if EnableSatchels = 14025 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 MyWizardBag4026 if not cooldown "Satchel Timer"4027 menu MyWizardBag 04028 wait 2504029 cooldown "Satchel Timer" 300004030 endif4031 endif4032 4033 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag4034 if not cooldown "Satchel Timer" 4035 menu MyPotBag 04036 wait 2504037 cooldown "Satchel Timer" 300004038 endif4039 endif 4040 endif4041 4042 if insysmsg "As the owner" or insysmsg "Your house and its contents"4043 wait 15004044 if find MyDoor ground -1 -1 24045 overhead "* door slams! *" 0 MyDoor4046 dclick MyDoor 4047 wait 5004048 endif4049 endif4050 4051 for 104052 if findtype 'log%s' backpack and LogsToBoards = 14053 overhead '* making boards... *' 04054 dclicktype 'log%s' 4055 wait 5004056 endif4057 endfor4058 4059 hotkey 'Organizer Agent-01'4060 wait 2504061 hotkey 'Organizer Agent-02'4062 replay4063 endif 4064 4065 if MOVE = 14066 if not cooldown "Move Timer"4067 @setvar! MOVE 04068 overhead "[ KEEP MOVING... ]" 1534069 cooldown "Move Timer" 25004070 endif4071 4072 if EnableSatchels = 14073 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 MyWizardBag4074 if not cooldown "Satchel Timer"4075 menu MyWizardBag 04076 wait 2504077 cooldown "Satchel Timer" 600004078 endif4079 endif4080 4081 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag4082 if not cooldown "Satchel Timer" 4083 menu MyPotBag 04084 wait 2504085 cooldown "Satchel Timer" 600004086 endif4087 endif 4088 endif4089 4090 if insysmsg "Being perfectly rested" 4091 overhead "Outta my way! I've got a hatchet and know how to use it..." 20864092 if EnableSummons = 1 and followers > 14093 wait 15004094 overhead "Shall we incinerate them, master?" 44 myMainTankPet4095 menu myMainTankPet 34096 endif4097 endif4098 4099 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 14100 @setvar! TimeToGo 14101 replay4102 endif4103 4104 if paralyzed and EnableParalyzePouch = 14105 overhead "[[[[ POP ]]]]" 21174106 say "[pouch" 4107 @setvar! TimeToGo 14108 replay4109 endif4110 4111 for 104112 if findtype 'log%s' backpack and LogsToBoards = 14113 overhead '* making boards... *' 04114 dclicktype 'log%s' 4115 wait 5004116 endif4117 endfor4118 4119 hotkey 'Organizer Agent-01'4120 wait 2504121 hotkey 'Organizer Agent-02'4122 replay4123 endif4124 4125 if MOVE = 04126 if not cooldown "Move Timer"4127 overhead "[ KEEP MOVING... ]" 444128 cooldown "Move Timer" 25004129 @setvar! MOVE 14130 endif4131 4132 if EnableSatchels = 14133 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 MyWizardBag4134 if not cooldown "Satchel Timer"4135 menu MyWizardBag 04136 wait 2504137 cooldown "Satchel Timer" 600004138 endif4139 endif4140 4141 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag4142 if not cooldown "Satchel Timer" 4143 menu MyPotBag 04144 wait 2504145 cooldown "Satchel Timer" 600004146 endif4147 endif 4148 endif4149 4150 if insysmsg "Being perfectly rested" 4151 overhead "Move it! I've got work to do" 20864152 if EnableSummons = 1 and followers > 14153 wait 10004154 overhead "* growls... *" 44 myMainTankPet4155 menu myMainTankPet 34156 endif 4157 endif4158 4159 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 14160 @setvar! TimeToGo 14161 replay4162 endif4163 4164 if paralyzed and EnableParalyzePouch = 14165 overhead "[[[[ POP ]]]]" 21174166 say "[pouch" 4167 @setvar! TimeToGo 14168 replay4169 endif 4170 4171 for 104172 if findtype 'log%s' backpack and LogsToBoards = 14173 overhead '* making boards... *' 04174 dclicktype 'log%s' 4175 wait 5004176 endif4177 endfor4178 4179 hotkey 'Organizer Agent-01'4180 wait 2504181 hotkey 'Organizer Agent-02'4182 replay4183 endif 4184 4185 clearsysmsg4186 @setvar! MOVE 14187 replay 4188 endif 4189 4190 overhead '* chopping wood... *' 21284191 4192 if insysmsg "Lumberjacking skillgain" 4193 if skill 'Lumberjacking' > 100.0 and skill 'Lumberjacking' < 119.94194 sysmsg "Hmm... this tree will really test my skills..." 844195 4196 elseif skill 'Lumberjacking' = 119.94197 overhead "THIS COULD BE IT......" 20864198 sysmsg "Hmm... there is something special about this tree..." 844199 4200 elseif skill 'Lumberjacking' = 120.04201 overhead "FINALLY!!!" 20864202 wait 20004203 overhead "We made it!" 20864204 wait 15004205 clearsysmsg 4206 overhead "[ TIME FOR A WELL DESERVED BREAK! ]" 3374207 stop4208 endif4209 endif4210 4211 wait 38004212 4213 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 14214 @setvar! TimeToGo 14215 replay4216 4217 elseif insysmsg 'world is saving' 4218 for 404219 wait 1004220 if insysmsg 'world save complete' 4221 wait 1004222 overhead '[ SAVE COMPLETE! ]' 253 4223 clearsysmsg 4224 endif 4225 endfor 4226 clearsysmsg 4227 4228 elseif insysmsg "You hack"4229 overhead '* fail... *' 3374230 replay 4231 4232 elseif insysmsg "You chop some logs" 4233 overhead '* you harvest logs *' 3494234 replay4235 4236 elseif insysmsg "You chop some dullwood logs" 4237 overhead '* you harvest dullwood *' 24194238 replay4239 4240 elseif insysmsg "You chop some shadowwood logs" 4241 overhead '* you harvest shadowwood *' 24064242 replay4243 4244 elseif insysmsg "You chop some copperwood logs" 4245 overhead '* you harvest copperwood *' 24134246 replay4247 4248 elseif insysmsg "You chop some bronzewood logs" 4249 overhead '* you harvest bronzewood *' 24184250 replay4251 4252 elseif insysmsg "You chop some goldenwood logs" 4253 overhead '* you harvest goldenwood! *' 22134254 replay4255 4256 elseif insysmsg "You chop some rosewood logs" 4257 overhead '* you harvest rosewood! *' 24254258 replay4259 4260 elseif insysmsg "You chop some verewood logs" 4261 overhead '* you harvest verewood!! *' 22074262 replay4263 4264 elseif insysmsg "You chop some valewood logs" 4265 overhead '* you harvest valewood!! *' 22194266 replay4267 4268 elseif insysmsg "You chop some avarwood logs" 4269 overhead '* you harvest avarwood!!! *' 17634270 replay4271 4272 elseif insysmsg "travel"4273 replay4274 endif 4275 replay4276endif4277 4278 4279 ////////////////////////////////4280 // REST/SKILL/DEATH LOOP: //4281 ////////////////////////////////4282 4283if dead 4284 wait 25004285 overhead "Well... shit..." 20864286 wait 15004287 overhead '[ STOPPING SCRIPT... ]' 3374288 stop4289endif4290 4291if not cooldown "Travel" 4292 wait 5004293 overhead "Train skill to 50.0 at NPC and then restart script!" 04294 wait 25004295 overhead '[ STOPPING SCRIPT... ]' 3374296 stop 4297else 4298 if not cooldown "Move Timer" 4299 overhead "* resting... *" 04300 cooldown "Move Timer" 60004301 if EnableSummons = 1 and not cooldown "Guard Timer" and followers > 14302 wait 25004303 overhead "* yawns... *" 2117 myMainTankPet4304 menu myMainTankPet 34305 cooldown "Guard Timer" 300004306 endif 4307 endif4308 4309 if EnableSatchels = 14310 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 MyWizardBag4311 if not cooldown "Satchel Timer"4312 menu MyWizardBag 04313 wait 2504314 cooldown "Satchel Timer" 600004315 endif4316 endif4317 4318 if findtype "Yellow Potion|Orange Potion|Red Potion|White Potion|Blue Potion|Black Potion|" backpack and findtype 31262 self as MyPotBag4319 if not cooldown "Satchel Timer" 4320 menu MyWizardBag 04321 wait 2504322 cooldown "Satchel Timer" 600004323 endif4324 endif 4325 endif4326 4327 if insysmsg "Being perfectly rested" 4328 overhead "Leave me alone, I'm tryin to rest here..." 20864329 wait 5004330 if EnableSummons = 1 and not cooldown "Guard Timer" and followers > 14331 wait 25004332 overhead "* growls... *" 2117 myMainTankPet4333 menu myMainTankPet 34334 cooldown "Guard Timer" 600004335 endif 4336 clearsysmsg 4337 endif4338 4339 if insysmsg "Now tracking" or insysmsg "Distance to destination" and EnableRedAlertRecall = 14340 @setvar! TimeToGo 14341 replay4342 endif4343 4344 if paralyzed and EnableParalyzePouch = 14345 overhead "[[[[ POP ]]]]" 21174346 say "[pouch" 4347 @setvar! TimeToGo 14348 replay4349 endif 4350 4351 if insysmsg "As the owner" or insysmsg "Your house and its contents"4352 wait 15004353 if find MyDoor ground -1 -1 24354 overhead "* door slams! *" 0 MyDoor4355 dclick MyDoor 4356 wait 5004357 endif4358 endif 4359 4360 for 104361 if findtype 'log%s' backpack and LogsToBoards = 14362 overhead '* making boards... *' 04363 dclicktype 'log%s' 4364 wait 5004365 endif4366 endfor 4367 hotkey 'Organizer Agent-01'4368 wait 2504369 hotkey 'Organizer Agent-02'4370 wait 2504371 replay4372endif 4373replay4374 4375 4376 //////////////4377 // THE END! //4378 //////////////4379 