Created: 11/10/2022, 03:50:43 PM Updated: 01/13/2023, 06:45:36 PM View Change History
1
2
3
4
5
6
7
8
9
10
11
12
13@setvar! checkThisBagOnly
14@setvar! foundOne 0
15@setvar! foundRegular 0
16
17@clearignore
18while findtype "pouch" checkThisBagOnly 0 as item
19 getlabel item desc
20 if "(0 items," in desc
21
22 else
23 @setvar! foundRegular 1
24 overhead "Regular: {{desc}}" 88
25 lift item
26 drop backpack 100 100 0
27 wait 650
28 dclick item
29 wait 650
30 endif
31 @ignore item
32endwhile
33while findtype "pouch" checkThisBagOnly 38 as item
34 getlabel item desc
35 if "(0 items," in desc
36
37 else
38 @setvar! foundOne 1
39 overhead "Trapped: {{desc}}" 88
40 lift item
41 drop backpack 0 0 0
42 wait 650
43 endif
44 @ignore item
45endwhile
46if foundRegular = 1 and foundOne = 1
47 overhead "All done - GOT REGULAR AND TRAPPED!" 88
48elseif foundOne = 1
49 overhead "All done - GOT TRAPPED!" 88
50elseif foundRegular = 1
51 overhead "All done - GOT REGULAR!" 88
52else
53 overhead "All done - none found" 88
54endif
55@clearignore