by Jaseowns UO Outlands
Hiding
Automagic Tmapper Picker.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/876a0afc-894b-413d-a0b9-b289e5429c52 for latest2# Automation by Jaseowns3## Script: Automagic Tmapper Picker4## Created by: Jaseowns#66945#############################################6 7# Automagic Tmapper Picker by Jaseowns8# UO Outlands9@setvar! globalTimeout 65010 11if not varexist readyToShovel12 @setvar! readyToShovel 113endif14 15@setvar! readyToShovel 016if readyToShovel = 117 if findtype "shovel" backpack as item18 dclick item19 wait 20020 if paralyzed 21 @setvar! readyToShovel 022 endif23 endif24 wait 150025 replay26endif27 28while paralyzed29 // wait to hide30wait 5031endwhile32if not hidden33 useskill 'hiding'34 wait 20035 if not hidden36 while not targetexists37 cast 'Invisibility'38 wait 5039 endwhile40 if targetexists 41 target 'self'42 endif43 endif44endif45 46if not varexist chestWeWannaWork47 @setvar! chestWeWannaWork 048endif49if not timerexists chestOpenTimer50 createtimer chestOpenTimer51 settimer chestOpenTimer 350052endif53 54if dead 55 overhead "RIP" 3456 wait 500057 loop58endif59 60 61if findtype "metal chest|wooden chest" ground -1 -1 2 as chest62 63 overhead "finding monsters"64 hotkey 'Target Closest Grey Monster'65 wait 20066 if insysmsg "No one matching" or not find lasttarget ground -1 -1 467 if chestWeWannaWork = chest68 // do nothing69 else70 dclick chest71 wait 20072 @setvar! chestWeWannaWork chest73 endif74 endif75 76 if gumpexists 73603807077 78 if not hidden79 useskill 'hiding'80 wait 20081 if not hidden82 while not targetexists83 cast 'Invisibility'84 wait 5085 endwhile86 if targetexists 87 target 'self'88 endif89 endif90 endif91 92 sysmsg "Working chest..." 8893 if timer chestOpenTimer >= 350094 if ingump "Cleared of Traps" 73603807095 if findtype "lockpicks" backpack as picky96 gumpresponse 4 73603807097 else 98 overhead "No lockpicks left!" 3499 endif100 else101 if findtype "drill" backpack as drilly102 gumpresponse 7 736038070103 wait 200104 if insysmsg "You do not have any trap tools of that material on hand."105 gumpresponse 5 736038070106 endif107 else 108 overhead "No trap tools left!" 34109 endif110 endif111 settimer chestOpenTimer 0112 endif113 wait 200114 else115 116 // Gold117 while find chest ground -1 -1 2 and findtype 5356|24434|43206|29363|43166|22336|29348|17087|3985|8826|3827|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3617|3903|12686 chest as item118 getlabel item lootDesc119 overhead lootDesc120 wait 50121 hotkey 'Grab Item'122 target item123 while queued124 wait 50125 endwhile126 endwhile127 128 // Scrolls129 while find chest ground -1 -1 2 and findtype 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|8030|8031|8032|8033|8034|8035|8036|8037|8038|8039|8040|8041|8042|8033|8044 chest as item130 getlabel item lootDesc131 overhead lootDesc132 wait 50133 hotkey 'Grab Item'134 target item135 while queued136 wait 50137 endwhile138 endwhile139 140 if findtype "reagent satchel" self as satchel141 menu satchel 0142 wait 200143 endif144 145 // quiver146 if findtype 12215 self as satchel147 menu satchel 0148 wait 200149 endif150 151 getlabel chestWeWannaWork chestDesc152 if "0 items, 0 stones" in chestDesc153 @clearignore154 while findtype "map" backpack as item155 getlabel item desc156 if "completed" in desc157 lift item158 drop chestWeWannaWork -1 -1 -1159 wait globalTimeout160 endif161 @ignore item162 endwhile163 @clearignore164 menu chestWeWannaWork 1165 script "RecallHomeAfterChest"166 endif167 168 endif169endif170 171 172wait 200173loop