Back to "pot" tags

Move potions from stockpile to shelf by Jaseowns

1# Move potions from stockpile to shelf by Jaseowns
2# UO Outlands
3# Requested by charliedmann 
4# charles wanted to move pots
5# from stockpile to shelf
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