Created: 06/20/2023, 12:40:40 AM Updated: 06/20/2023, 12:40:40 AM View Change History
1
2
3
4
5
6@setvar! grabYellowPotion 1
7@setvar! grabPurplePotion 1
8@setvar! grabOrangePotion 1
9
10
11if findtype "resource container" ground -1 -1 2 as jontainer
12 dclick jontainer
13 waitforgump 1859005118 5000
14 gumpresponse 5 1859005118
15 waitforgump 1859005118 5000
16 if grabPurplePotion = 1
17 gumpresponse 101 1859005118
18 waitforgump 1859005118 5000
19 waitforgump 3409272452 500
20 while gumpexists 3409272452
21 wait 100
22 endwhile
23 wait 200
24 endif
25 if grabYellowPotion = 1
26 gumpresponse 102 1859005118
27 waitforgump 1859005118 5000
28 waitforgump 3409272452 500
29 while gumpexists 3409272452
30 wait 100
31 endwhile
32 wait 200
33 endif
34 if grabOrangePotion = 1
35 gumpresponse 103 1859005118
36 waitforgump 1859005118 5000
37 waitforgump 3409272452 500
38 while gumpexists 3409272452
39 wait 100
40 endwhile
41 wait 200
42 endif
43endif
44
45if findtype "yellow potion" backpack or findtype "purple potion" backpack or findtype "orange potion" backpack
46 if findtype "storage shelf" ground -1 -1 2 as jhelf
47 menu jhelf 0
48 wft 500
49 target self
50 wait 200
51 replay
52 endif
53endif
54overhead "All done bro!" 88
55
56