Map-Trap Script by Bapeth July 5th 2026 - Fixed bug with various gump responses, Added support for Gate charges for users with 80 magery (make sure your rune book has gate charges) "What it does": Digs for treasure Uses explorer pack…
MagicMagery
Bapeths Map-Trap Script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/e0d2f166-f84c-4890-83a6-bbb585689984 for latest2# Automation by Jaseowns3## Script: Bapeths Map-Trap Script4## Created by: barryroser#05#############################################6 7# Map-Trap Script by Bapeth8#9# July 5th 2026 - Fixed bug with various gump responses, Added support for Gate charges for users with 80 magery (make sure your rune book has gate charges)10#11# "What it does":12# Digs for treasure13# Uses explorer pack14# Places initial trap15# Summons an Earth Elemental16# Uses both "Harvest/Fortune and Gadget" aspect to maximize damage and loot/xp17# Uses up to three mastery chains - one for "Trap Damage", one for "Special/Rare Loot Chance" (optional), and one for T8 "Link Dumping" (optional)18# Swaps to your preferred Aspect Spell Book for XP gain (optional)19# Auto opens treasure chests (Reagent Satchel and Quiver can be used to hold regs/arrows/bolts to reduce weight)20# Auto equips a looted link from a T8 chest21# Auto Gate Travels to users house/inn if there is too much gold to carry22# Auto demolishes chest when empty23#24# "Full variable reset"25# If an error has occurred while the script is setting mastery chains, go into "WARMODE + Open the Party Menu", then play the script to wipe all variable memory and start fresh26#27# "REQUIRED": <---------- "Important information!"28# User must create five cooldowns named:29#30# "Aspect Armor"31# Type: Regular32# Trigger: Overhead Message33# Trigger Text: aspect armor activated34# -------------- Cooldown : 3035# 36# "Aspect Book"37# Type: Regular38# Trigger: Overhead Message39# Trigger Text: aspect activated40# -------------- Cooldown : 3041# 42# "Aspect Proc"43# Type: Regular44# Trigger: Overhead Message45# Trigger Text: *innovation*46# -------------- Cooldown : 3047# 48# "Chain Swap"49# Type: Regular50# Trigger: N/A51# Trigger Text: N/A52# -------------- Cooldown : N/A53#54# "Fortune/Harvest" <--- This is a timer for the recent aspect swap nerf55# Type: Regular56# Trigger: Sys Message57# Trigger Text: Fortune loot and experience bonuses will become58# Trigger Text: Harvest skill and yield bonuses become59# -------------- Cooldown : 6060#61# Cooldowns can be found in the in-game options menu62#63# "Spell Book Aspect Swapping"64# The script can now swap your aspect spellbook from Gadget to any aspect you would like to gain XP on65# This part if the script is activated during the "Lockpicking Phase"66# See the list of aspects below to set your preferred aspect for XP gain67#68# "Default Aspect Armor"69# The user may select from "Harvest or Fortune" as the aspect to open the chest with70# See below for settings71#72# "HOW TO USE":73#74# Items needed in backpack - Shovel, T-map, Explorer Pack (if user has carto skill), Ground Traps, Lockpicks, Trap Kit, Mastery Chain, Empty Pouch75# Items needed equipped - Set of armor, Spellbook76#77# "PEACEMODE" (Gadget / Trap Chain)78# In peacemode play the script while looking for treasure - The script will ensure you are in Gadget aspect and your Trap Chain is equipped79# When a chest is found, an elemental will be summoned, a trap placed, and the explorers pack used80#81# The script will stop once the chest has been fully dug up to allow for the player to manually kill all monsters82# It is best to stay the elemental(s) in the direct center of the trap and wait for the mobs to move into range83# Use a wall of stone strategically to gather ranged/caster mobs within the trap square84# Detonate the trap and ready another trap if needed ---> repeat as needed85#86# "WARMODE" (Harvest / Loot Chain)87# In warmode play the script when all monsters are dead - The script will ensure you are in Harvest/Fortune aspect and your Loot Chain is equipped88# At this time an optional spell book aspect swap will take place89# Mastery chain cooldown is 30 seconds which is longer than low-level maps will take to open - the user should wait 10 seconds before approaching the chest (loot monster corpses during this time)90# Approach the chest (within 1 tile) and the script will automatically cast invis on the user and begin picking91# When the user is done looting the script will switch back to Gadget aspect and equip the Trap Chain (This can be disabled below)92# If the gold is too heavy to carry, the script will use gate travel (Read below)93# When the chest is empty, the script will auto delete the empty chest94#95# You are now ready to go do another T-map!96#97# "Auto-Gate Travel"98# If there is too much gold within the treasure chest for the player to carry, the auto-gate travel routine will activate99# The script will gate to a rune named "House" or a rune named "Inn" within the users runebook/tome100# If a "Bank Deposit Safe" is nearby, the script will use it otherwise, it will drop gold pouch at the users feet101# Ensure you have a rune in your runebook/tome marked for and named "House" or "Inn" <---------- "Important information!"102# To select between a House or Inn see below - Default is House103# This routine requires an empty pouch in the users backpack104#105# "Notes":106#107# If you would like to add a script to quickly recall, dump/sort loot, and restock your character see the link below108# "Bapeths One Tile Item Dump & Restock" link : https://outlands.uorazorscripts.com/script/fc599b28-5594-483a-ae25-b48b33967eec109# This script can be tied into the Map-Trap script by simply downloading it, setting it up, and naming -EXACTLY- as you see here110#111#~~"Recommended Build"~~112#113# "Trapper Mapper"114# Alchemy -------120115# Detect Hidden -120116# Tinkering -----120117# Magery --------100118# Lockpicking ---101 <-- Minimum skill req to begin picking level 8 chest with avarite tools while harvest/chain are waiting to activate119# Cartography ---79120# Spirit Speak --80121#122#########################################################################################################################################123#124# "SCRIPT SETTINGS"125#126# Set your "Home Type" for the Auto-Gate Travel feature choose either "House" or "Inn" and set the value to 1127# One of these must always be set to 1 - do not set both to 1!128#129# HOME TYPE SETTINGS130@setvar! "House" 1131@setvar! "Inn" 0132#133#########################################################################################################################################134#135# Set the "follower cap" for your earth elementals to a value of 1 or 2136# Setting it to 1 will block summoning en elemental if you already have one137# Setting it to 2 will summon an additional elemental if you already have one138# Default is set to 1 - no extra elemental is summoned139#140# EARTH ELEMENTAL SETTING141@setvar! "Summon Earth" 2142#143#########################################################################################################################################144#145# Set your lockpicking phase "Armor Aspect" choose either Harvest or Fortune and set the value to 1146# One of these must always be set to 1 - do not set both to 1!147#148# WARMODE ARMOR SETTINGS149@setvar! "Harvest Armor" 1150@setvar! "Fortune Armor" 0151#152#########################################################################################################################################153#154# To disable Gadget Armor Swap set the value to 1, to keep it on set the value to 0155#156# DISABLE GADGET ARMOR157@setvar! "Disable Gadget" 0158#159#########################################################################################################################################160#161# Set your Spellbook Aspect for "Chest XP Gain" during the lockpicking phase162# Choose one aspect below and change the value from 0 to 1 (Default is Gadget)163# One of these must always be set to 1 - do not set more than one to 1!164# 165# WARMODE SPELLBOOK SETTINGS166@setvar! "Agorawave Aspect Spellbook" 0167@setvar! "Air Aspect Spellbook" 0168@setvar! "Arcane Aspect Spellbook" 0169@setvar! "Artisan Aspect Spellbook" 0170@setvar! "Blood Aspect Spellbook" 0171@setvar! "Command Aspect Spellbook" 0172@setvar! "Death Aspect Spellbook" 0173@setvar! "Discipline Aspect Spellbook" 0174@setvar! "Earth Aspect Spellbook" 0175@setvar! "Eldritch Aspect Spellbook" 0176@setvar! "Fire Aspect Spellbook" 0177@setvar! "Fortune Aspect Spellbook" 0178@setvar! "Frost Aspect Spellbook" 0179@setvar! "Gadget Aspect Spellbook" 1180@setvar! "Harvest Aspect Spellbook" 0181@setvar! "Holy Aspect Spellbook" 0182@setvar! "Lightning Aspect Spellbook" 0183@setvar! "Lyric Aspect Spellbook" 0184@setvar! "Madness Aspect Spellbook" 0185@setvar! "Poison Aspect Spellbook" 0186@setvar! "Shadow Aspect Spellbook" 0187@setvar! "Temporal Aspect Spellbook" 0188@setvar! "Void Aspect Spellbook" 0189@setvar! "Water Aspect Spellbook" 0190#191############################################################################################################################################192#193# Set your Spellbook Aspect for "Mob XP Gain" during the digging/fighting phase194# Choose one aspect below and change the value from 0 to 1195# Default is set to Gadget in order to proc the Gadget special *innovation*196# Setting the below setting to anything but Gadget will stop *innovation* from occuring during combat197# One of these must always be set to 1 - do not set more than one to 1!198#199# PEACEMODE SPELLBOOK SETTINGS200@setvar! "Combat Agorawave Aspect Spellbook" 0201@setvar! "Combat Air Aspect Spellbook" 0202@setvar! "Combat Arcane Aspect Spellbook" 0203@setvar! "Combat Artisan Aspect Spellbook" 0204@setvar! "Combat Blood Aspect Spellbook" 0205@setvar! "Combat Command Aspect Spellbook" 0206@setvar! "Combat Death Aspect Spellbook" 0207@setvar! "Combat Discipline Aspect Spellbook" 0208@setvar! "Combat Earth Aspect Spellbook" 0209@setvar! "Combat Eldritch Aspect Spellbook" 0210@setvar! "Combat Fire Aspect Spellbook" 0211@setvar! "Combat Fortune Aspect Spellbook" 0212@setvar! "Combat Frost Aspect Spellbook" 0213@setvar! "Combat Gadget Aspect Spellbook" 1214@setvar! "Combat Harvest Aspect Spellbook" 0215@setvar! "Combat Holy Aspect Spellbook" 0216@setvar! "Combat Lightning Aspect Spellbook" 0217@setvar! "Combat Lyric Aspect Spellbook" 0218@setvar! "Combat Madness Aspect Spellbook" 0219@setvar! "Combat Poison Aspect Spellbook" 0220@setvar! "Combat Shadow Aspect Spellbook" 0221@setvar! "Combat Temporal Aspect Spellbook" 0222@setvar! "Combat Void Aspect Spellbook" 0223@setvar! "Combat Water Aspect Spellbook" 0224#225##############################################################################################################################################226#227//Do not edit below this line unless you know what you are doing!228// Context Menu Get Varible Routine229if not find "FirstSummon" ground and findtype "Bapith" ground as bapsummon 230 @setvar! "FirstSummon" bapsummon231endif232if not find "SecondSummon" ground and findtype "Bapath" ground as bapsummon 233 @setvar! "SecondSummon" bapsummon234endif235if not find "ThirdSummon" ground and findtype "Baphet" ground as bapsummon 236 @setvar! "ThirdSummon" bapsummon237endif238if not find "FourthSummon" ground and findtype "Bapesh" ground as bapsummon 239 @setvar! "FourthSummon" bapsummon240endif241if not find "FifthSummon" ground and findtype "Bapet" ground as bapsummon 242 @setvar! "FifthSummon" bapsummon243endif244if not find "SixthSummon" ground and findtype "Bapat" ground as bapsummon 245 @setvar! "SixthSummon" bapsummon246endif247if not find "SeventhSummon" ground and findtype "Bapit" ground as bapsummon 248 @setvar! "SeventhSummon" bapsummon249endif250// Endof Context Menu Get Varible Routine251if warmode and gumpexists 3527489586252 warmode off253 gumpclose 3527489586254 overhead "VARIBLE RESET..." 38255 if varexist "OneChain"256 @unsetvar "OneChain"257 endif258 if varexist "TwoChain"259 @unsetvar "TwoChain"260 endif 261 if varexist "TrapChain"262 @unsetvar "TrapChain"263 endif264 if varexist "LootChain"265 @unsetvar "LootChain"266 endif267 if varexist "linkdumpchain"268 @unsetvar "linkdumpchain"269 endif270 if varexist "enabledlinkdump"271 @unsetvar "enabledlinkdump"272 endif273 overhead "MEMORY WIPED..." 38274 pause 2000275endif276 277if not findtype "wooden chest|metal chest" ground -1 -1 1278 removetimer OTunlockedchest279endif280 281if not varexist "OneChain" and not varexist "TwoChain"282 overhead "Are you using 1 or 2 Mastery Chains?" 56283 pause 1200284 hotkey "Set Last Target"285 wft 500286� � while targetexists287� � � � if not timerexists chainselect288� � � � � � createtimer chainselect289� � � � � � settimer chainselect 4500290� � � � elseif timer chainselect >= 4500291� � � � � � settimer chainselect 0292 overhead "Select trap kit for 2 chains" 88293 overhead "Select backpack for 1 chain" 78294� � � � endif295� � endwhile296 getlabel lasttarget desc297 if "trap kit" in desc298 @setvar "TwoChain" lasttarget 299 overhead "I have selected for Two Chains" 88300 elseif "backpack" in desc301 @setvar "OneChain" lasttarget 302 overhead "I have selected for One Chain" 78303 endif304 if timerexists chainselect305 removetimer chainselect306 endif307 pause 2000308endif309 310if varexist "TwoChain"311 if not varexist "TrapChain"312 hotkey "Set Last Target" 313 wft 500314 � � while targetexists315 � � � � if not timerexists chainselect316 � � � � � � createtimer chainselect317 � � � � � � settimer chainselect 4500318 � � � � elseif timer chainselect >= 4500319 � � � � � � settimer chainselect 0320 overhead "Set Trap Chain..." 88321 � � � � endif322 � � endwhile323 @setvar "TrapChain" lasttarget 324 overhead "Trap Chain Set..." 88325 overhead "Trap Chain Set..." 88 "TrapChain"326 pause 1500327 endif328 if timerexists chainselect329 removetimer chainselect330 endif331 if not varexist "LootChain"332 hotkey "Set Last Target" 333 wft 500334 � � while targetexists335 � � � � if not timerexists chainselect336 � � � � � � createtimer chainselect337 � � � � � � settimer chainselect 4500338 � � � � elseif timer chainselect >= 4500339 � � � � � � settimer chainselect 0340 overhead "Set Loot Chain..." 78341 � � � � endif342 � � endwhile343 @setvar "LootChain" lasttarget 344 overhead "Loot Chain Set..." 78345 overhead "Loot Chain Set..." 78 "LootChain"346 pause 1500347 endif348endif349if timerexists chainselect350 removetimer chainselect351endif352 353if not varexist "linkdumpchain"354 hotkey "Cancel Current Target"355 hotkey "Set Last Target"356 wft 500357 while targetexists358 if not timerexists lootcontainerselect359 createtimer lootcontainerselect360 settimer lootcontainerselect 4500361 elseif timer lootcontainerselect >= 4500362 settimer lootcontainerselect 0363 overhead "Set Chain to Dump Links" 96364 overhead "This is for T8 looted links" 96365 overhead "Select Backpack if none..." 45366 endif367 endwhile368 getlabel lasttarget desc369 if "backpack" in desc370 @setvar "linkdumpchain" lasttarget371 else372 @setvar "linkdumpchain" lasttarget373 @setvar "enabledlinkdump" 0374 overhead "Link Dump Chain Set!" 96375 overhead "Link Dump Chain Set!" 96 "linkdumpchain"376 pause 1500377 endif378endif379 380if skill "Cartography" >= 10 and findtype "adventure pack" backpack as advpack381 @setvar! "bappack" advpack382endif383 384if skill "Tinkering" >= 80 and findtype "metal trap" backpack as btrap385 @setvar! "baptrap" btrap386endif387if not warmode and not timerexists checkforgadget388 createtimer checkforgadget389 removetimer checkforharvest 390elseif warmode and not timerexists checkforharvest391 createtimer checkforharvest392 removetimer checkforgadget 393endif394if timerexists bchestopen395 removetimer bchestopen396endif397if timerexists fullchaincheck398 removetimer fullchaincheck399endif400 401if not targetexists and not casting and not findbuff "Food Satisfaction"402 if findtype 2429|28885|29774|29773|28880|28888|28881|28883|28886|28879 backpack as food403 while queued404 //donothing405 endwhile406 dclick food407 pause 500408 getlabel backpack ping409 endif410endif411 412if not warmode413 @clearignore414 if varexist "TwoChain"415 getlabel "TrapChain" chaindesc416 if "active" in chaindesc417 //donothing418 else 419 menu "TrapChain" 0420 getlabel backpack ping421 overhead "Trap Chain Activated" 2669422 overhead "Trap Chain Activated" 2669 "TrapChain"423 cooldown "Chain Swap" 30000424 endif425 endif426 if timerexists checkforgadget427 if "Disable Gadget" = 0 and findlayer self innertorso as chestarmor428 getlabel chestarmor desc429 if "gadget" in desc430 //donothing431 else432 if not cooldown "Aspect Armor" and not cooldown "Aspect Proc"433 say "[AspectArmor Gadget"434 getlabel backpack ping435 endif436 endif437 endif438 if not cooldown "Aspect Book" and not cooldown "Aspect Proc" and findlayer self righthand as bookinhand439 getlabel bookinhand righthanddesc440 if "Combat Agorawave Aspect Spellbook" = 1441 if "agorawave" in righthanddesc442 //donothing443 else 444 say "[AspectSpellbook Agorawave"445 getlabel backpack ping446 endif447 elseif "Combat Air Aspect Spellbook" = 1448 if "air" in righthanddesc449 //donothing450 else 451 say "[AspectSpellbook Air"452 getlabel backpack ping453 endif454 elseif "Combat Arcane Aspect Spellbook" = 1455 if "arcane" in righthanddesc456 //donothing457 else 458 say "[AspectSpellbook Arcane"459 getlabel backpack ping460 endif461 elseif "Combat Artisan Aspect Spellbook" = 1462 if "artisan" in righthanddesc463 //donothing464 else 465 say "[AspectSpellbook Artisan"466 getlabel backpack ping467 endif468 elseif "Combat Blood Aspect Spellbook" = 1469 if "blood" in righthanddesc470 //donothing471 else 472 say "[AspectSpellbook Blood"473 getlabel backpack ping474 endif475 elseif "Combat Command Aspect Spellbook" = 1476 if "command" in righthanddesc477 //donothing478 else 479 say "[AspectSpellbook Command"480 getlabel backpack ping481 endif482 elseif "Combat Death Aspect Spellbook" = 1483 if "death" in righthanddesc484 //donothing485 else 486 say "[AspectSpellbook Death"487 getlabel backpack ping488 endif489 elseif "Combat Discipline Aspect Spellbook" = 1490 if "discipline" in righthanddesc491 //donothing492 else 493 say "[AspectSpellbook Discipline"494 getlabel backpack ping495 endif496 elseif "Combat Earth Aspect Spellbook" = 1497 if "earth" in righthanddesc498 //donothing499 else 500 say "[AspectSpellbook Earth"501 getlabel backpack ping502 endif503 elseif "Combat Eldritch Aspect Spellbook" = 1504 if "eldritch" in righthanddesc505 //donothing506 else 507 say "[AspectSpellbook Eldritch"508 getlabel backpack ping509 endif510 elseif "Combat Fire Aspect Spellbook" = 1511 if "fire" in righthanddesc512 //donothing513 else 514 say "[AspectSpellbook Fire"515 getlabel backpack ping516 endif517 elseif "Combat Fortune Aspect Spellbook" = 1518 if "fortune" in righthanddesc519 //donothing520 else 521 say "[AspectSpellbook Fortune"522 getlabel backpack ping523 endif524 elseif "Combat Frost Aspect Spellbook" = 1525 if "frost" in righthanddesc526 //donothing527 else 528 say "[AspectSpellbook Frost"529 getlabel backpack ping530 endif531 elseif "Combat Gadget Aspect Spellbook" = 1532 if "gadget" in righthanddesc533 //donothing534 else 535 say "[AspectSpellbook Gadget"536 getlabel backpack ping537 endif538 elseif "Combat Harvest Aspect Spellbook" = 1539 if "harvest" in righthanddesc540 //donothing541 else 542 say "[AspectSpellbook Harvest"543 getlabel backpack ping544 endif545 elseif "Combat Holy Aspect Spellbook" = 1546 if "holy" in righthanddesc547 //donothing548 else 549 say "[AspectSpellbook Holy"550 getlabel backpack ping551 endif552 elseif "Combat Lightning Aspect Spellbook" = 1553 if "lightning" in righthanddesc554 //donothing555 else 556 say "[AspectSpellbook Lightning"557 getlabel backpack ping558 endif559 elseif "Combat Lyric Aspect Spellbook" = 1560 if "lyric" in righthanddesc561 //donothing562 else 563 say "[AspectSpellbook Lyric"564 getlabel backpack ping565 endif566 elseif "Combat Madness Aspect Spellbook" = 1567 if "madness" in righthanddesc568 //donothing569 else 570 say "[AspectSpellbook Madness"571 getlabel backpack ping572 endif573 elseif "Combat Poison Aspect Spellbook" = 1574 if "poison" in righthanddesc575 //donothing576 else 577 say "[AspectSpellbook Poison"578 getlabel backpack ping579 endif580 elseif "Combat Shadow Aspect Spellbook" = 1581 if "shadow" in righthanddesc582 //donothing583 else 584 say "[AspectSpellbook Shadow"585 getlabel backpack ping586 endif587 elseif "Combat Temporal Aspect Spellbook" = 1588 if "temporal" in righthanddesc589 //donothing590 else 591 say "[AspectSpellbook Temporal"592 getlabel backpack ping593 endif594 elseif "Combat Void Aspect Spellbook" = 1595 if "void" in righthanddesc596 //donothing597 else 598 say "[AspectSpellbook Void"599 getlabel backpack ping600 endif601 elseif "Combat Water Aspect Spellbook" = 1602 if "water" in righthanddesc603 //donothing604 else 605 say "[AspectSpellbook Water"606 getlabel backpack ping607 endif608 endif609 endif610 endif611 if timerexists dugchest and not findtype "map" backpack612 removetimer dugchest613 elseif timerexists dugchest and findtype "map" backpack as checkmapprog614 getlabel checkmapprog mapdesc615 if "in progress" in mapdesc616 //donothing617 else 618 removetimer dugchest619 endif620 endif621 if not timerexists dugchest622 if findtype "map" backpack 0 -1 as BapMap623 getlabel BapMap Mapdesc624 if "in progress" in Mapdesc625 overhead "The chest has been dug up!" 45626 createtimer dugchest627 endif628 elseif findtype "map" backpack 2091 -1 as BapMap629 if "in progress" in Mapdesc630 overhead "The chest has been dug!" 45631 createtimer dugchest632 endif633 else634 overhead "I will need a treasure map..." 38635 stop636 endif637 endif638 if not findtype "shovel" backpack639 overhead "I will need a shovel..." 38640 stop641 endif642 if not timerexists dugchest and findtype "shovel" backpack as bshovel643 dclick bshovel644 pause 1200645 if insysmsg "Perhaps you should step outdoors."646 overhead "I should hunt outside..." 45647 pause 2000 648 replay649 elseif findbuff "Entangle"650 if mana >= 64 and not findbuff "Magic Reflection"651 cast "Magic Reflection"652 getlabel backpack ping653 if casting 654 while casting 655 //nothing656 endwhile657 pause 330658 endif659 endif660 if mana >= 54 and not findbuff "Reactive Armor"661 cast "Reactive Armor"662 getlabel backpack ping663 if casting 664 while casting 665 //nothing666 endwhile667 pause 330668 endif669 endif670 if "Summon Earth" = 1 and mana >= 50 and followers < 2671 cast "Earth Elemental"672 elseif "Summon Earth" = 2 and mana >= 50 and followers < 4673 cast "Earth Elemental"674 endif675 if varexist "bappack"676 dclick "bappack"677 endif678 getlabel backpack ping679 pause 500680 dclick "baptrap"681 while queued682 //donothing683 endwhile684 getlabel backpack ping685 pause 500686 if not findbuff "Strength" and findtype "white potion" self as wpot687 dclick wpot688 while queued689 //donothing690 endwhile691 getlabel backpack ping692 pause 500693 endif694 if not findbuff "Agility" and findtype "blue potion" self as bpot695 dclick bpot696 while queued697 //donothing698 endwhile699 getlabel backpack ping700 pause 500701 endif702 if not findbuff "Magic Resist Potion" and findtype "black potion" self as respot703 dclick respot704 while queued705 //donothing706 endwhile707 getlabel backpack ping708 pause 500709 endif710 while findbuff "Entangle"711 // Context Menu Get Varible Routine712 if not find "FirstSummon" ground and findtype "Bapith" ground as bapsummon 713 @setvar! "FirstSummon" bapsummon714 endif715 if not find "SecondSummon" ground and findtype "Bapath" ground as bapsummon 716 @setvar! "SecondSummon" bapsummon717 endif718 if not find "ThirdSummon" ground and findtype "Baphet" ground as bapsummon 719 @setvar! "ThirdSummon" bapsummon720 endif721 if not find "FourthSummon" ground and findtype "Bapesh" ground as bapsummon 722 @setvar! "FourthSummon" bapsummon723 endif724 if not find "FifthSummon" ground and findtype "Bapet" ground as bapsummon 725 @setvar! "FifthSummon" bapsummon726 endif727 if not find "SixthSummon" ground and findtype "Bapat" ground as bapsummon 728 @setvar! "SixthSummon" bapsummon729 endif730 if not find "SeventhSummon" ground and findtype "Bapit" ground as bapsummon 731 @setvar! "SeventhSummon" bapsummon732 endif733 // Endof Context Menu Get Varible Routine734 endwhile735 pause 1100736 overhead "Time to slay monsters!!!" 88737 stop738 endif739 endif740elseif warmode741 if varexist "TwoChain"742 getlabel "LootChain" chaindesc743 if "active" in chaindesc744 //donothing745 else 746 menu "LootChain" 0747 getlabel backpack ping748 if "Harvest Armor" = 1749 overhead "Loot Chain Activated" 2086750 overhead "Loot Chain Activated" 2086 "LootChain"751 elseif "Fortune Armor" = 1752 overhead "Loot Chain Activated" 2843753 overhead "Loot Chain Activated" 2843 "LootChain"754 endif755 cooldown "Chain Swap" 30000756 endif757 endif758 if timerexists checkforharvest759 if findlayer self innertorso as chestarmor760 getlabel chestarmor desc761 if "harvest" in desc762 if timerexists harvestspam763 removetimer harvestspam764 endif765 elseif "fortune" in desc766 if timerexists harvestspam767 removetimer harvestspam768 endif 769 else770 if cooldown "Aspect Armor"771 if not timerexists harvestspam772 createtimer harvestspam773 endif774 endif775 if cooldown "Aspect Proc"776 if not timerexists harvestspam777 createtimer harvestspam778 endif779 endif780 if not cooldown "Aspect Armor" and not cooldown "Aspect Proc"781 if "Harvest Armor" = 1782 say "[AspectArmor Harvest"783 elseif "Fortune Armor" = 1784 say "[AspectArmor Fortune"785 endif786 getlabel backpack ping787 endif788 endif789 endif790 if cooldown "Aspect Book"791 if not timerexists bookaspectspam792 createtimer bookaspectspam793 endif794 endif795 if cooldown "Aspect Proc"796 if not timerexists bookaspectspam797 createtimer bookaspectspam798 endif799 endif800 if not cooldown "Aspect Book" and not cooldown "Aspect Proc" and findlayer self righthand as bookinhand801 if timerexists bookaspectspam802 removetimer bookaspectspam803 endif804 if timerexists bookaspectspam805 removetimer bookaspectspam806 endif807 getlabel bookinhand bookdesc808 if "Agorawave Aspect Spellbook" = 1809 if "agorawave" in bookdesc810 //donothing811 else 812 say "[AspectSpellbook Agorawave"813 getlabel backpack ping814 endif815 elseif "Air Aspect Spellbook" = 1816 if "air" in bookdesc817 //donothing818 else 819 say "[AspectSpellbook Air"820 getlabel backpack ping821 endif822 elseif "Arcane Aspect Spellbook" = 1823 if "arcane" in bookdesc824 //donothing825 else 826 say "[AspectSpellbook Arcane"827 getlabel backpack ping828 endif829 elseif "Artisan Aspect Spellbook" = 1830 if "artisan" in bookdesc831 //donothing832 else 833 say "[AspectSpellbook Artisan"834 getlabel backpack ping835 endif836 elseif "Blood Aspect Spellbook" = 1837 if "blood" in bookdesc838 //donothing839 else 840 say "[AspectSpellbook Blood"841 getlabel backpack ping842 endif843 elseif "Command Aspect Spellbook" = 1844 if "command" in bookdesc845 //donothing846 else 847 say "[AspectSpellbook Command"848 getlabel backpack ping849 endif850 elseif "Death Aspect Spellbook" = 1851 if "death" in bookdesc852 //donothing853 else 854 say "[AspectSpellbook Death"855 getlabel backpack ping856 endif857 elseif "Discipline Aspect Spellbook" = 1858 if "discipline" in bookdesc859 //donothing860 else 861 say "[AspectSpellbook Discipline"862 getlabel backpack ping863 endif864 elseif "Earth Aspect Spellbook" = 1865 if "earth" in bookdesc866 //donothing867 else 868 say "[AspectSpellbook Earth"869 getlabel backpack ping870 endif871 elseif "Eldritch Aspect Spellbook" = 1872 if "eldritch" in bookdesc873 //donothing874 else 875 say "[AspectSpellbook Eldritch"876 getlabel backpack ping877 endif878 elseif "Fire Aspect Spellbook" = 1879 if "fire" in bookdesc880 //donothing881 else 882 say "[AspectSpellbook Fire"883 getlabel backpack ping884 endif885 elseif "Fortune Aspect Spellbook" = 1886 if "fortune" in bookdesc887 //donothing888 else 889 say "[AspectSpellbook Fortune"890 getlabel backpack ping891 endif892 elseif "Frost Aspect Spellbook" = 1893 if "frost" in bookdesc894 //donothing895 else 896 say "[AspectSpellbook Frost"897 getlabel backpack ping898 endif899 elseif "Gadget Aspect Spellbook" = 1900 if "gadget" in bookdesc901 //donothing902 else 903 say "[AspectSpellbook Gadget"904 getlabel backpack ping905 endif906 elseif "Harvest Aspect Spellbook" = 1907 if "harvest" in bookdesc908 //donothing909 else 910 say "[AspectSpellbook Harvest"911 getlabel backpack ping912 endif913 elseif "Holy Aspect Spellbook" = 1914 if "holy" in bookdesc915 //donothing916 else 917 say "[AspectSpellbook Holy"918 getlabel backpack ping919 endif920 elseif "Lightning Aspect Spellbook" = 1921 if "lightning" in bookdesc922 //donothing923 else 924 say "[AspectSpellbook Lightning"925 getlabel backpack ping926 endif927 elseif "Lyric Aspect Spellbook" = 1928 if "lyric" in bookdesc929 //donothing930 else 931 say "[AspectSpellbook Lyric"932 getlabel backpack ping933 endif934 elseif "Madness Aspect Spellbook" = 1935 if "madness" in bookdesc936 //donothing937 else 938 say "[AspectSpellbook Madness"939 getlabel backpack ping940 endif941 elseif "Poison Aspect Spellbook" = 1942 if "poison" in bookdesc943 //donothing944 else 945 say "[AspectSpellbook Poison"946 getlabel backpack ping947 endif948 elseif "Shadow Aspect Spellbook" = 1949 if "shadow" in bookdesc950 //donothing951 else 952 say "[AspectSpellbook Shadow"953 getlabel backpack ping954 endif955 elseif "Temporal Aspect Spellbook" = 1956 if "temporal" in bookdesc957 //donothing958 else 959 say "[AspectSpellbook Temporal"960 getlabel backpack ping961 endif962 else963 elseif "Void Aspect Spellbook" = 1964 if "void" in bookdesc965 //donothing966 else 967 say "[AspectSpellbook Void"968 getlabel backpack ping969 endif970 elseif "Water Aspect Spellbook" = 1971 if "water" in bookdesc972 //donothing973 else 974 say "[AspectSpellbook Water"975 getlabel backpack ping976 endif977 endif978 endif979 endif980 if findtype "wooden chest|metal chest" ground -1 -1 1 as bchest981 gumpclose 736038070982 if not timerexists OTunlockedchest983 createtimer OTunlockedchest984 dclick bchest985 endif986 for 10987 if findtype "quiver" self as bapquiver988 getlabel bapquiver desc989 if "blessed" in desc990 @ignore bapquiver991 else 992 break993 endif994 endif995 endfor996 if findtype "quiver" self as bapquiver997 if findtype 7163|3903 self as bapammo998 menu bapquiver 0999 @ignore bapammo1000 endif1001 endif1002 for 101003 if findtype "reagent satchel" self as bapregsatch1004 getlabel bapregsatch desc1005 if "blessed" in desc1006 @ignore bapregsatch1007 else 1008 break1009 endif1010 endif1011 endfor1012 if findtype "reagent satchel" self as bapregsatch1013 if findtype 3962|3963|3972|3973|3974|3976|3980|3981 self as bapregs1014 menu bapregsatch 01015 @ignore bapregs1016 endif1017 endif1018 getlabel backpack ping1019 if gumpexists 736038070 and ingump "Cleared Of Traps"1020 clearsysmsg 1021 while gumpexists 7360380701022 gumpresponse 4 7360380701023 waitforgump 736038070 5001024 if insysmsg "You attempt to pick the lock"1025 clearsysmsg1026 break1027 elseif insysmsg "You must rid the area"1028 overhead "I must kill these monsters first..." 881029 stop1030 endif1031 endwhile1032 overhead "*picking*" 1060 bchest1033 if followers >= 11034 hotkey "Cancel Current Target"1035 say "All Patrol" 451036 wft 5001037 target self1038 hotkey "Cancel Current Target"1039 endif1040 while not dead 1041 if insysmsg "Another player"1042 gumpclose 7360380701043 dclick bchest1044 waitforgump 736038070 10001045 gumpresponse 7 7360380701046 waitforgump 736038070 10001047 endif1048 if not hidden and mana >= 20 and skill "Hiding" < 501049 cast "Invisibility"1050 wft 50001051 target self1052 getlabel backpack ping1053 hotkey "Cancel Current Target"1054 elseif not hidden and skill "Hiding" > 501055 skill "Hiding"1056 getlabel backpack ping1057 warmode on1058 if not hidden1059 cast "Invisibility"1060 wft 50001061 target self1062 getlabel backpack ping1063 hotkey "Cancel Current Target"1064 endif1065 endif1066 if insysmsg "You successfully pick the lock"1067 break1068 endif1069 if not findtype "wooden chest|metal chest" ground -1 -1 21070 break1071 endif1072 if timerexists harvestspam and not cooldown "Aspect Proc" and not cooldown "Aspect Armor"1073 if findlayer self innertorso as chestarmor1074 getlabel chestarmor desc1075 if "harvest" in desc1076 if timerexists harvestspam1077 removetimer harvestspam1078 endif1079 elseif "fortune" in desc1080 if timerexists harvestspam1081 removetimer harvestspam1082 endif 1083 else1084 if "Harvest Armor" = 11085 say "[AspectArmor Harvest"1086 elseif "Fortune Armor" = 11087 say "[AspectArmor Fortune"1088 endif1089 getlabel backpack ping1090 endif1091 endif1092 endif1093 if timerexists bookaspectspam and not cooldown "Aspect Proc" and not cooldown "Aspect Book" and findlayer self righthand as bookinhand1094 getlabel bookinhand bookdesc1095 if "Agorawave Aspect Spellbook" = 11096 if "agorawave" in bookdesc1097 removetimer bookaspectspam1098 else 1099 say "[AspectSpellbook Agorawave"1100 getlabel backpack ping1101 endif1102 elseif "Air Aspect Spellbook" = 11103 if "air" in bookdesc1104 removetimer bookaspectspam1105 else 1106 say "[AspectSpellbook Air"1107 getlabel backpack ping1108 endif1109 elseif "Arcane Aspect Spellbook" = 11110 if "arcane" in bookdesc1111 removetimer bookaspectspam1112 else 1113 say "[AspectSpellbook Arcane"1114 getlabel backpack ping1115 endif1116 elseif "Artisan Aspect Spellbook" = 11117 if "artisan" in bookdesc1118 removetimer bookaspectspam1119 else 1120 say "[AspectSpellbook Artisan"1121 getlabel backpack ping1122 endif1123 elseif "Blood Aspect Spellbook" = 11124 if "blood" in bookdesc1125 removetimer bookaspectspam1126 else 1127 say "[AspectSpellbook Blood"1128 getlabel backpack ping1129 endif1130 elseif "Command Aspect Spellbook" = 11131 if "command" in bookdesc1132 removetimer bookaspectspam1133 else 1134 say "[AspectSpellbook Command"1135 getlabel backpack ping1136 endif1137 elseif "Death Aspect Spellbook" = 11138 if "death" in bookdesc1139 removetimer bookaspectspam1140 else 1141 say "[AspectSpellbook Death"1142 getlabel backpack ping1143 endif1144 elseif "Discipline Aspect Spellbook" = 11145 if "discipline" in bookdesc1146 removetimer bookaspectspam1147 else 1148 say "[AspectSpellbook Discipline"1149 getlabel backpack ping1150 endif1151 elseif "Earth Aspect Spellbook" = 11152 if "earth" in bookdesc1153 removetimer bookaspectspam1154 else 1155 say "[AspectSpellbook Earth"1156 getlabel backpack ping1157 endif1158 elseif "Eldritch Aspect Spellbook" = 11159 if "eldritch" in bookdesc1160 removetimer bookaspectspam1161 else 1162 say "[AspectSpellbook Eldritch"1163 getlabel backpack ping1164 endif1165 elseif "Fire Aspect Spellbook" = 11166 if "fire" in bookdesc1167 removetimer bookaspectspam1168 else 1169 say "[AspectSpellbook Fire"1170 getlabel backpack ping1171 endif1172 elseif "Fortune Aspect Spellbook" = 11173 if "fortune" in bookdesc1174 removetimer bookaspectspam1175 else 1176 say "[AspectSpellbook Fortune"1177 getlabel backpack ping1178 endif1179 elseif "Frost Aspect Spellbook" = 11180 if "frost" in bookdesc1181 removetimer bookaspectspam1182 else 1183 say "[AspectSpellbook Frost"1184 getlabel backpack ping1185 endif1186 elseif "Gadget Aspect Spellbook" = 11187 if "gadget" in bookdesc1188 removetimer bookaspectspam1189 else 1190 say "[AspectSpellbook Gadget"1191 getlabel backpack ping1192 endif1193 elseif "Harvest Aspect Spellbook" = 11194 if "harvest" in bookdesc1195 removetimer bookaspectspam1196 else 1197 say "[AspectSpellbook Harvest"1198 getlabel backpack ping1199 endif1200 elseif "Holy Aspect Spellbook" = 11201 if "holy" in bookdesc1202 removetimer bookaspectspam1203 else 1204 say "[AspectSpellbook Holy"1205 getlabel backpack ping1206 endif1207 elseif "Lightning Aspect Spellbook" = 11208 if "lightning" in bookdesc1209 removetimer bookaspectspam1210 else 1211 say "[AspectSpellbook Lightning"1212 getlabel backpack ping1213 endif1214 elseif "Lyric Aspect Spellbook" = 11215 if "lyric" in bookdesc1216 removetimer bookaspectspam1217 else 1218 say "[AspectSpellbook Lyric"1219 getlabel backpack ping1220 endif1221 elseif "Madness Aspect Spellbook" = 11222 if "madness" in bookdesc1223 removetimer bookaspectspam1224 else 1225 say "[AspectSpellbook Madness"1226 getlabel backpack ping1227 endif1228 elseif "Poison Aspect Spellbook" = 11229 if "poison" in bookdesc1230 removetimer bookaspectspam1231 else 1232 say "[AspectSpellbook Poison"1233 getlabel backpack ping1234 endif1235 elseif "Shadow Aspect Spellbook" = 11236 if "shadow" in bookdesc1237 removetimer bookaspectspam1238 else 1239 say "[AspectSpellbook Shadow"1240 getlabel backpack ping1241 endif1242 elseif "Temporal Aspect Spellbook" = 11243 if "temporal" in bookdesc1244 removetimer bookaspectspam1245 else 1246 say "[AspectSpellbook Temporal"1247 getlabel backpack ping1248 endif1249 elseif "Void Aspect Spellbook" = 11250 if "void" in bookdesc1251 removetimer bookaspectspam1252 else 1253 say "[AspectSpellbook Void"1254 getlabel backpack ping1255 endif1256 elseif "Water Aspect Spellbook" = 11257 if "water" in bookdesc1258 removetimer bookaspectspam1259 else 1260 say "[AspectSpellbook Water"1261 getlabel backpack ping1262 endif1263 endif1264 endif1265 if insysmsg "You have worn out your tool"1266 overhead "This tool is worn out!" 8051267 while gumpexists 7360380701268 gumpresponse 4 7360380701269 waitforgump 736038070 10001270 if insysmsg "You attempt to pick the lock"1271 clearsysmsg1272 break1273 endif1274 if insysmsg "It appears to be unlocked"1275 clearsysmsg1276 break1277 endif1278 endwhile1279 endif1280 if insysmsg "You make some progress on the lock"1281 overhead "*click*" 810 bchest1282 endif1283 if insysmsg "You successfully pick the lock"1284 overhead "*pop*" 2091 bchest1285 overhead "The treasure is mine!" 20911286 break1287 endif 1288 endwhile1289 endif1290 endif1291 if not timerexists fullchaincheck and varexist "enabledlinkdump" and findtype "chain link" backpack as lootedlink1292 hotkey "Clear Drag/Drop Queue"1293 while queued1294 //dn1295 endwhile1296 dclick "linkdumpchain"1297 waitforgump 2785326818 5001298 gumpresponse 31 27853268181299 waitforgump 2785326818 5001300 gumpresponse 31 27853268181301 waitforgump 2785326818 500 1302 gumpclose 27853268181303 if insysmsg "You install 1 link into"1304 overhead "Link added to Dump Chain" 881305 elseif insysmsg "You do not have any slots available to install"1306 overhead "Warning!" 381307 overhead "Dump Chain Full!" 381308 createtimer fullchaincheck1309 endif1310 endif1311 for 101312 if findtype "quiver" self as bapquiver1313 getlabel bapquiver desc1314 if "blessed" in desc1315 @ignore bapquiver1316 else 1317 break1318 endif1319 endif1320 endfor1321 if findtype "quiver" self as bapquiver1322 if findtype 7163|3903 self as bapammo1323 menu bapquiver 01324 @ignore bapammo1325 endif1326 endif1327 for 101328 if findtype "reagent satchel" self as bapregsatch1329 getlabel bapregsatch desc1330 if "blessed" in desc1331 @ignore bapregsatch1332 else 1333 break1334 endif1335 endif1336 endfor1337 if findtype "reagent satchel" self as bapregsatch1338 if findtype 3962|3963|3972|3973|3974|3976|3980|3981|7981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8031|8032|8033|8034|8035|8036|8037|8038|8039|8041|8042|8043|8044 self as bapregs1339 menu bapregsatch 01340 @ignore bapregs1341 endif1342 endif1343 1344 // new code1345 if skill "Magery" >= 80 and mana >= 401346 if insysmsg "That container cannot hold more weight"1347 hotkey "Clear Drag/Drop Queue"1348 if findtype "wooden chest|metal chest" ground -1 -1 1 and findtype "gold coin" backpack as BapHeavyGold1349 if not find "BapTmapGoldSack" ground -1 -1 2 and findtype "pouch" backpack 0 as BapCheckPouch1350 getlabel BapCheckPouch pouchdesc1351 if "0 items, 0 stones" in pouchdesc1352 @setvar! "BapTmapGoldSack" BapCheckPouch1353 else 1354 @ignore BapCheckPouch1355 endif1356 elseif not find "BapTmapGoldSack" ground -1 -1 2 and findtype "pouch" backpack 38 as BapCheckPouch1357 getlabel BapCheckPouch pouchdesc1358 if "0 items, 0 stones" in pouchdesc1359 @setvar! "BapTmapGoldSack" BapCheckPouch1360 hotkey "Clear Drag/Drop Queue"1361 dclick "BapTmapGoldSack"1362 while queued1363 //do nothing1364 endwhile1365 getlabel backpack ping1366 else 1367 @ignore BapCheckPouch1368 endif1369 endif1370 if find "BapTmapGoldSack" backpack1371 hotkey "Clear Drag/Drop Queue"1372 while queued1373 //donothing1374 endwhile1375 drop backpack1376 overhead "Preparing Gold Pouch" 881377 lift "BapTmapGoldSack"1378 drop 01379 while queued1380 //donothing1381 endwhile1382 getlabel backpack ping1383 drop backpack1384 lift BapHeavyGold 600001385 drop "BapTmapGoldSack" 01386 while queued1387 //dothing1388 endwhile1389 getlabel backpack ping1390 endif1391 elseif varexist "BapTmapGoldSack" and find "BapTmapGoldSack" ground -1 -1 1 and findtype "wooden chest|metal chest" ground -1 -1 1 and findtype "gold coin" backpack as BapHeavyGold1392 getlabel backpack ping1393 drop backpack1394 lift BapHeavyGold 600001395 drop "BapTmapGoldSack" 01396 while queued1397 //dothing1398 endwhile1399 getlabel backpack ping1400 endif1401 endif1402 if varexist "BapTmapGoldSack" and find "BapTmapGoldSack" ground -1 -1 1 and findtype "wooden chest|metal chest" ground -1 -1 1 and findtype "gold coin" backpack as BapHeavyGold1403 getlabel backpack ping1404 drop backpack1405 lift BapHeavyGold 600001406 drop "BapTmapGoldSack" 01407 while queued1408 //dothing1409 endwhile1410 getlabel backpack ping1411 endif1412 endif1413 1414 if findtype "wooden chest|metal chest" ground -1 -1 1 as bchest1415 getlabel bchest itemdesc1416 if "0 items, 0 stones" in itemdesc1417 warmode off1418 menu bchest 11419 if varexist "TwoChain"1420 getlabel "TrapChain" chaindesc1421 if "active" in chaindesc1422 //donothing1423 else 1424 menu "TrapChain" 01425 getlabel backpack ping1426 overhead "Trap Chain Activated" 26691427 overhead "Trap Chain Activated" 2669 "TrapChain"1428 cooldown "Chain Swap" 300001429 endif1430 endif1431 if findlayer self innertorso as chestarmor1432 if "Disable Gadget" = 01433 getlabel chestarmor desc1434 if "gadget" in desc1435 //donothing1436 else1437 if not cooldown "Aspect Armor" and not cooldown "Aspect Proc"1438 say "[AspectArmor Gadget"1439 getlabel backpack ping1440 endif1441 endif1442 endif1443 if not cooldown "Aspect Book" and not cooldown "Aspect Proc" and findlayer self righthand as bookinhand1444 getlabel bookinhand righthanddesc1445 if "Combat Agorawave Aspect Spellbook" = 11446 if "agorawave" in righthanddesc1447 //donothing1448 else 1449 say "[AspectSpellbook Agorawave"1450 getlabel backpack ping1451 endif1452 elseif "Combat Air Aspect Spellbook" = 11453 if "air" in righthanddesc1454 //donothing1455 else 1456 say "[AspectSpellbook Air"1457 getlabel backpack ping1458 endif1459 elseif "Combat Arcane Aspect Spellbook" = 11460 if "arcane" in righthanddesc1461 //donothing1462 else 1463 say "[AspectSpellbook Arcane"1464 getlabel backpack ping1465 endif1466 elseif "Combat Artisan Aspect Spellbook" = 11467 if "artisan" in righthanddesc1468 //donothing1469 else 1470 say "[AspectSpellbook Artisan"1471 getlabel backpack ping1472 endif1473 elseif "Combat Blood Aspect Spellbook" = 11474 if "blood" in righthanddesc1475 //donothing1476 else 1477 say "[AspectSpellbook Blood"1478 getlabel backpack ping1479 endif1480 elseif "Combat Command Aspect Spellbook" = 11481 if "command" in righthanddesc1482 //donothing1483 else 1484 say "[AspectSpellbook Command"1485 getlabel backpack ping1486 endif1487 elseif "Combat Death Aspect Spellbook" = 11488 if "death" in righthanddesc1489 //donothing1490 else 1491 say "[AspectSpellbook Death"1492 getlabel backpack ping1493 endif1494 elseif "Combat Discipline Aspect Spellbook" = 11495 if "discipline" in righthanddesc1496 //donothing1497 else 1498 say "[AspectSpellbook Discipline"1499 getlabel backpack ping1500 endif1501 elseif "Combat Earth Aspect Spellbook" = 11502 if "earth" in righthanddesc1503 //donothing1504 else 1505 say "[AspectSpellbook Earth"1506 getlabel backpack ping1507 endif1508 elseif "Combat Eldritch Aspect Spellbook" = 11509 if "eldritch" in righthanddesc1510 //donothing1511 else 1512 say "[AspectSpellbook Eldritch"1513 getlabel backpack ping1514 endif1515 elseif "Combat Fire Aspect Spellbook" = 11516 if "fire" in righthanddesc1517 //donothing1518 else 1519 say "[AspectSpellbook Fire"1520 getlabel backpack ping1521 endif1522 elseif "Combat Fortune Aspect Spellbook" = 11523 if "fortune" in righthanddesc1524 //donothing1525 else 1526 say "[AspectSpellbook Fortune"1527 getlabel backpack ping1528 endif1529 elseif "Combat Frost Aspect Spellbook" = 11530 if "frost" in righthanddesc1531 //donothing1532 else 1533 say "[AspectSpellbook Frost"1534 getlabel backpack ping1535 endif1536 elseif "Combat Gadget Aspect Spellbook" = 11537 if "gadget" in righthanddesc1538 //donothing1539 else 1540 say "[AspectSpellbook Gadget"1541 getlabel backpack ping1542 endif1543 elseif "Combat Harvest Aspect Spellbook" = 11544 if "harvest" in righthanddesc1545 //donothing1546 else 1547 say "[AspectSpellbook Harvest"1548 getlabel backpack ping1549 endif1550 elseif "Combat Holy Aspect Spellbook" = 11551 if "holy" in righthanddesc1552 //donothing1553 else 1554 say "[AspectSpellbook Holy"1555 getlabel backpack ping1556 endif1557 elseif "Combat Lightning Aspect Spellbook" = 11558 if "lightning" in righthanddesc1559 //donothing1560 else 1561 say "[AspectSpellbook Lightning"1562 getlabel backpack ping1563 endif1564 elseif "Combat Lyric Aspect Spellbook" = 11565 if "lyric" in righthanddesc1566 //donothing1567 else 1568 say "[AspectSpellbook Lyric"1569 getlabel backpack ping1570 endif1571 elseif "Combat Madness Aspect Spellbook" = 11572 if "madness" in righthanddesc1573 //donothing1574 else 1575 say "[AspectSpellbook Madness"1576 getlabel backpack ping1577 endif1578 elseif "Combat Poison Aspect Spellbook" = 11579 if "poison" in righthanddesc1580 //donothing1581 else 1582 say "[AspectSpellbook Poison"1583 getlabel backpack ping1584 endif1585 elseif "Combat Shadow Aspect Spellbook" = 11586 if "shadow" in righthanddesc1587 //donothing1588 else 1589 say "[AspectSpellbook Shadow"1590 getlabel backpack ping1591 endif1592 elseif "Combat Temporal Aspect Spellbook" = 11593 if "temporal" in righthanddesc1594 //donothing1595 else 1596 say "[AspectSpellbook Temporal"1597 getlabel backpack ping1598 endif1599 elseif "Combat Void Aspect Spellbook" = 11600 if "void" in righthanddesc1601 //donothing1602 else 1603 say "[AspectSpellbook Void"1604 getlabel backpack ping1605 endif1606 elseif "Combat Water Aspect Spellbook" = 11607 if "water" in righthanddesc1608 //donothing1609 else 1610 say "[AspectSpellbook Water"1611 getlabel backpack ping1612 endif1613 endif1614 endif1615 endif1616 if timerexists dugchest and not findtype "map" backpack1617 removetimer dugchest1618 endif1619 if skill "Spirit Speak" >= 80 and followers >= 11620 skill "spiritspeak"1621 endif1622 if followers >= 11623 pause 4001624 say "All Follow Me" 451625 endif1626 1627 // new code1628 if skill "Magery" >= 80 and mana >= 40 and find "BapTmapGoldSack" ground -1 -1 11629 clearsysmsg 1630 if "House" = 11631 if skill "Magery" = 1001632 say "[Gate House"1633 elseif skill "Magery" >= 801634 say "[Gatecharge House"1635 endif1636 getlabel backpack ping1637 if insysmsg "Players may only travel to or from a waypost"1638 overhead "I cannot open a gate here..."1639 stop1640 elseif insysmsg "Magical travel is not allowed in this location"1641 overhead "I cannot open a gate here..."1642 stop1643 else1644 pause 5001645 lift "BapTmapGoldSack"1646 getlabel backpack ping1647 while casting 1648 //donothing1649 endwhile1650 getlabel backpack ping1651 pause 3501652 if findtype 3948 ground 0 -1 2 as bluegate1653 say "[moongate"1654 waitforgump 3899019871 16001655 gumpresponse 2 38990198711656 getlabel backpack ping1657 pause 3501658 endif1659 if findtype "bank deposit safe" ground -1 -1 2 as bankdepot1660 drop 01661 while queued1662 //donothing1663 endwhile1664 getlabel backpack ping1665 dclick "BapTmapGoldSack"1666 while queued1667 //donothing1668 endwhile1669 getlabel backpack ping1670 while findtype "gold coin" "BapTmapGoldSack" as sackgoldbap1671 drop backpack1672 lift sackgoldbap 600001673 drop bankdepot -1 -1 01674 while queued1675 //donothing1676 endwhile1677 getlabel backpack ping1678 endwhile1679 drop backpack1680 lift "BapTmapGoldSack"1681 drop backpack1682 while queued1683 //donothing1684 endwhile1685 getlabel backpack ping1686 else 1687 drop 01688 while queued1689 //donothing1690 endwhile1691 getlabel backpack ping1692 overhead "<Gold Sack Here>" 88 "BapTmapGoldSack"1693 endif1694 warmode on1695 script "Bapeths One Tile Item Dump & Restock"1696 warmode off1697 stop1698 endif1699 endif 1700 1701 if "Inn" = 11702 if skill "Magery" = 1001703 say "[Gate Inn"1704 elseif skill "Magery" >= 801705 say "[Gatecharge Inn"1706 endif1707 getlabel backpack ping1708 if insysmsg "Players may only travel to or from a waypost"1709 overhead "I cannot open a gate here..."1710 stop1711 elseif insysmsg "Magical travel is not allowed in this location"1712 overhead "I cannot open a gate here..."1713 stop1714 else1715 pause 5001716 lift "BapTmapGoldSack"1717 getlabel backpack ping1718 while casting 1719 //donothing1720 endwhile1721 getlabel backpack ping1722 pause 3501723 if findtype 3948 ground 0 -1 2 as bluegate1724 say "[moongate"1725 waitforgump 3899019871 16001726 gumpresponse 2 38990198711727 getlabel backpack ping1728 pause 3501729 endif1730 say 'Room' 881731 waitforgump 2393832411 5001732 if ingump "Enter Your Room" 23938324111733 gumpresponse 4 23938324111734 elseif ingump "Rent This Room" 23938324111735 gumpresponse 5 23938324111736 waitforgump 2393832411 5001737 gumpresponse 100 23938324111738 endif1739 pause 3501740 if findtype "bank deposit safe" ground -1 -1 2 as bankdepot1741 drop 01742 while queued1743 //donothing1744 endwhile1745 getlabel backpack ping1746 dclick "BapTmapGoldSack"1747 while queued1748 //donothing1749 endwhile1750 getlabel backpack ping1751 while findtype "gold coin" "BapTmapGoldSack" as sackgoldbap1752 drop backpack1753 lift sackgoldbap 600001754 drop bankdepot -1 -1 01755 while queued1756 //donothing1757 endwhile1758 getlabel backpack ping1759 endwhile1760 drop backpack1761 lift "BapTmapGoldSack"1762 drop backpack1763 while queued1764 //donothing1765 endwhile1766 getlabel backpack ping1767 else 1768 drop 01769 while queued1770 //donothing1771 endwhile1772 getlabel backpack ping1773 overhead "<Gold Sack Here>" 88 "BapTmapGoldSack"1774 endif1775 warmode on1776 script "Bapeths One Tile Item Dump & Restock"1777 warmode off1778 stop1779 endif 1780 endif1781 endif1782 if not find "BapTmapGoldSack" ground -1 -1 11783 overhead "Time to move on..." 881784 script "Bapeths One Tile Item Dump & Restock"1785 stop1786 endif1787 endif1788 endif1789endif1790loop