Created: 05/22/2024, 09:31:59 PM Updated: 06/21/2024, 11:52:16 PM View Change History
1
2
3@setvar! jaseowns_AutomaticallyTryRecycleAfterID 1
4@setvar! messySourceContainer 1
5if messySourceContainer = 1
6 overhead "Pick a chest, or escape to automatically target recycler"
7 @setvar! messySourceContainer
8endif
9
10if messySourceContainer = 0 or messySourceContainer = 1
11 if findtype "ornate elven chest" ground -1 -1 2 as source_container
12 overhead "Automatically checking recycler" 88
13 @setvar! messySourceContainer source_container
14 endif
15endif
16
17@clearignore
18dclick messySourceContainer
19while not dead
20 while findtype 31169|31172|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|3920|5042|5117|30990|30993|30994|30995|31184|31186|7026|7027|7029|7031|7033|7034|7035|7107|7109|31002|31130|3570|3571|3572|3573|3834|22187|31141|31142|5056|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|7947|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191|3740|3742|3762|3763|10245|20006|20008|20010|20012|20014|20016|3719|3922|3938|5121|5123|5125|30989|30992|30996|30997|30998|31176|31188|3568|3713|3721|3932|5040|5044|5112|5127|5177|5179|5181|30991|30999|31000|31001|31014|31178|31180|31182|3909|3911|3913|3915|3917|3934|3937|5046|5049|5115|5119|5182|5185|5187|30988|31128|31190 messySourceContainer as item
21 getlabel item desc
22 overhead "Item: {{desc}}" 88
23 @setvar! ignoreItem 1
24 if "unidentified" in desc
25 if skill "Item Identification" = 120
26 useskill "itemId"
27 wft 500
28 target messySourceContainer
29 wait 2000
30 @setvar! ignoreItem 0
31 elseif skill "Item Identification" > 0
32 useskill "itemId"
33 wft 500
34 target item
35 wait 2000
36 @setvar! ignoreItem 0
37 endif
38 endif
39 if ignoreItem = 1
40 @ignore item
41 if jaseowns_AutomaticallyTryRecycleAfterID = 1 and gumpexists 4045111101
42 for 4
43 gumpresponse 6 4045111101
44 endfor
45 endif
46 endif
47 endwhile
48 wait 500
49endwhile
50@clearignore
51
52
53
54