Find nearby chests (ALT-T) by Jaseowns

1# Find nearby chests by Jaseowns
2# UO Outlands
3@clearignore 
4for 16
5    if index > 0 and findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 index as jaseowns_ChestFinder
6        getlabel jaseowns_ChestFinder desc
7        if "lock" in desc
8            overhead "Found one: {{desc}} - {{index}} tiles"
9            overhead "{{desc}}  - {{index}} tiles" 88 jaseowns_ChestFinder
10            break
11        else 
12            overhead "Already opened - {{index}} tiles" 34 jaseowns_ChestFinder
13            @ignore jaseowns_ChestFinder
14        endif
15    endif
16endfor
17wait 1000
18loop