Created: 02/07/2023, 02:52:16 AM Updated: 02/07/2023, 02:52:16 AM View Change History
1
2
3
4
5
6
7
8
9
10@setvar! myBank 9876543210
11
12
13
14
15@setvar! minimumToRestockOnAids 50
16@setvar! minimumToRestockOnRegs 0
17
18
19
20
21@setvar! globalTimeout 650
22
23
24
25
26
27say "Jaseowns Bank" 88
28wait globalTimeout
29
30if not find myBank
31 overhead "Cannot find your bank box" 34
32 sysmsg "Cannot find your bank box" 34
33 sysmsg "Make sure you update myBank variable" 88
34 stop
35endif
36
37if not varexist myRegContainer or not find myRegContainer myBank
38 overhead "Select your reg bag to put away regs"
39 @setvar myRegContainer
40endif
41
42@clearignore
43while findtype 29104 myBank -1 -1 2 as tome
44 menu tome 0
45 wait 200
46 @ignore tome
47endwhile
48
49if minimumToRestockOnAids > 0
50 @clearignore
51 while findtype 3617 backpack as item
52 lift item 60000
53 drop myBank -1 -1 -1
54 wait globalTimeout
55 @ignore item
56 endwhile
57
58 @clearignore
59 while not findtype 3617 backpack and findtype 3617 myBank as item
60 lift item minimumToRestockOnAids
61 drop backpack -1 -1 -1
62 wait globalTimeout
63 endwhile
64endif
65
66
67while findtype 3821|4225 backpack as item
68 lift item 60000
69 drop myBank -1 -1 -1
70 wait globalTimeout
71 @ignore item
72endwhile
73
74@setvar! wearingSatchel 0
75
76if findtype "reagent satchel" self as satchel
77 if find satchel backpack
78
79 else
80 @setvar! wearingSatchel satchel
81 lift wearingSatchel
82 drop backpack
83 wait globalTimeout
84 endif
85endif
86
87
88while findtype 3962|3963|3974|3972|3973|3976|3981|3980 backpack as item
89 lift item 60000
90 drop myRegContainer -1 -1 -1
91 wait globalTimeout
92 @ignore item
93endwhile
94
95
96if minimumToRestockOnRegs > 0
97
98 while not findtype 3980 backpack and findtype 3980 myRegContainer as item
99 lift item minimumToRestockOnRegs
100 drop backpack -1 -1 -1
101 wait globalTimeout
102 endwhile
103
104
105 while not findtype 3981 backpack and findtype 3981 myRegContainer as item
106 lift item minimumToRestockOnRegs
107 drop backpack -1 -1 -1
108 wait globalTimeout
109 endwhile
110
111 while not findtype 3976 backpack and findtype 3976 myRegContainer as item
112 lift item minimumToRestockOnRegs
113 drop backpack -1 -1 -1
114 wait globalTimeout
115 endwhile
116
117 while not findtype 3973 backpack and findtype 3973 myRegContainer as item
118 lift item minimumToRestockOnRegs
119 drop backpack -1 -1 -1
120 wait globalTimeout
121 endwhile
122
123 while not findtype 3972 backpack and findtype 3972 myRegContainer as item
124 lift item minimumToRestockOnRegs
125 drop backpack -1 -1 -1
126 wait globalTimeout
127 endwhile
128
129 while not findtype 3974 backpack and findtype 3974 myRegContainer as item
130 lift item minimumToRestockOnRegs
131 drop backpack -1 -1 -1
132 wait globalTimeout
133 endwhile
134
135 while not findtype 3963 backpack and findtype 3963 myRegContainer as item
136 lift item minimumToRestockOnRegs
137 drop backpack -1 -1 -1
138 wait globalTimeout
139 endwhile
140
141 while not findtype 3962 backpack and findtype 3962 myRegContainer as item
142 lift item minimumToRestockOnRegs
143 drop backpack -1 -1 -1
144 wait globalTimeout
145 endwhile
146
147endif
148
149
150if findtype "reagent satchel" self as satchel
151 menu satchel 0
152endif
153
154
155
156while findtype 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|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|7170|7033|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|7031|5207|5056|5085|3763|5129|5187|3721|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3903|12686 backpack as item
157 getlabel item checkForBlessed
158 if "blessed" in checkForBlessed or "aspect" in checkForBlessed
159 overhead "Ignoring {{checkForBlessed}}" 34
160 @ignore item
161 else
162 lift item 60000
163 drop myBank -1 -1 -1
164 wait globalTimeout
165 @ignore item
166 endif
167endwhile
168@clearignore
169