Back to "b" tags

Drink all potions with one hotkey by Jaseowns

1# All pots one hotkey by Jaseowns
2# UO Outlands - https://outlands.uorazorscripts.com/
3# Requirements: 
4#     Choose which potions to drink.
5# Additional Info
6#     You can change some of the values if you want.. 
7#     heal will only trigger if > 30 hp difference for example.
8@setvar! drink_red 1
9@setvar! drink_white 1
10@setvar! drink_blue 1
11@setvar! drink_black 1
12@setvar! drink_orange 1
13@setvar! drink_yellow 1
14
15
16if drink_red = 1 and stam < maxstam
17     if findtype "Red Potion" backpack as pot
18        dclick pot
19        wait 200
20    endif
21endif
22
23if drink_white = 1 and str <= 100
24    if findtype "White Potion" backpack as pot
25        dclick pot
26        wait 200
27    endif
28endif
29
30if drink_blue = 1 and dex <= 100
31    if findtype "Blue Potion" backpack as pot
32        dclick pot
33        wait 200
34    endif
35endif
36
37if drink_black = 1 and not findbuff "magic resist"
38    if findtype "Black Potion" backpack as pot
39        dclick pot
40        wait 200
41    else
42        overhead "Out of Magic Resist" 34
43    endif
44endif
45
46if drink_orange = 1 and poisoned 
47    if findtype "Orange Potion" backpack as pot
48        dclick pot
49        wait 200
50    else
51        overhead "Out of cures" 34
52    endif
53endif
54
55if drink_yellow = 1 and diffhits > 30
56    if findtype "Yellow Potion" backpack as pot
57        dclick pot
58        wait 200
59    else 
60        overhead 'Out of heals!' 34
61    endif
62endif