Back to "b" tags

Smelt Ore and Convert Logs to Boards by Jaseowns

1# Smelting ore and turning logs into boards by Jaseowns
2# It will also attempt to put all items into a resource stock pile
3# UO Outlands
4overhead "Put away!" 66
5if targetexists 
6    hotkey "Cancel Current Target"
7endif
8
9if findtype "log%s" backpack as logs
10    if findtype "hatchet" backpack or findtype "hatchet" lefthand
11        getlabel logs desc
12        overhead desc
13        dclick logs
14        wait 500
15        replay
16    endif
17endif
18
19if findtype "iron ore" backpack as ore
20    if findtype "forge" ground -1 -1 2
21        getlabel ore desc
22        overhead desc        
23        dclick ore
24        wait 500
25        replay
26    endif    
27endif
28
29if findtype "resource container" ground -1 -1 2 as stockpile
30    overhead "Putting into stockpile!" 88
31    menu stockpile 0
32    wft 500
33    hotkey 'Target Self'
34endif
35
36overhead "All done!" 66
37