Back to "b" tags

Long Duration Buffs Hotkey by Jaseowns

1# Long Duration Buffs Hotkey by Jaseowns
2# UO Outlands
3
4@setvar! minimumWaitForPing 200
5
6# Eat food if we got it
7if not findbuff "food" and findtype "tray" backpack as jood
8    overhead "Eating Food" 88
9    dclick jood
10    wait minimumWaitForPing
11endif
12
13# Use Taste ID if possible
14if skill "Taste Identification" >= 50 and not findbuff "herb"
15    useskill 'tasteidentification'
16    wft 500
17    target backpack
18endif
19
20if skill "Camping" > 0
21    if not findbuff "campfire"
22        overhead "Camping Buff" 88
23        while not findtype "campfire" ground -1 -1 2 and findtype "kindling" as jindling
24            dclick jindling
25            wait minimumWaitForPing
26        endwhile
27        if not findtype "campfire" ground -1 -1 2
28            overhead "We have camping, but can not make a campfire!" 34
29        else
30            while findtype "campfire" ground -1 -1 2 and not findbuff "campfire"
31                overhead "Waiting for a campfire buff..." 88
32                wait 1000
33            endwhile
34        endif
35    endif
36endif
37
38clearsysmsg 
39
40if skill "Tracking" > 0
41    if not findbuff "tracking"
42        while not gumpexists 4267467659
43            useskill 'tracking'
44            wait minimumWaitForPing
45        endwhile
46        if gumpexists 4267467659
47            while not insysmsg "You will now hunt all hostile players."
48                gumpresponse 8 4267467659
49                waitforgump 4267467659 5000
50            endwhile
51            gumpresponse 6 4267467659
52            wait minimumWaitForPing
53        endif
54        gumpclose 4267467659
55    endif
56endif