Skip to content
Outlands Hub

Razor script

Search Multiple Vendors for Item

by Brozan (Syal) · 60 lines
Download
Housing
Search Multiple Vendors for Item.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/8e8b24ac-18f8-4408-b857-3534bd275e26 for latest2# Automation by Jaseowns3## Script: Search Multiple Vendors for Item4## Created by: Brozan (Syal)#45235#############################################6 7clearignore8 9removelist container_graphic_ids10createlist container_graphic_ids11pushlist 'container_graphic_ids' 370512pushlist 'container_graphic_ids' 244813pushlist 'container_graphic_ids' 540214pushlist 'container_graphic_ids' 247215pushlist 'container_graphic_ids' 247316pushlist 'container_graphic_ids' 247417pushlist 'container_graphic_ids' 247518pushlist 'container_graphic_ids' 247619pushlist 'container_graphic_ids' 247720pushlist 'container_graphic_ids' 248021pushlist 'container_graphic_ids' 248122pushlist 'container_graphic_ids' 248223pushlist 'container_graphic_ids' 370124pushlist 'container_graphic_ids' 370225pushlist 'container_graphic_ids' 370426pushlist 'container_graphic_ids' 371227 28while not dead29    hotkey 'Next Monster Target'30    setvar! myLittleStinkyVar lasttarget 31    dclick lasttarget32    wait 60033    #Change this to what you are searching for - first any is hue34    while findtype 24434  myLittleStinkyVar any any any as itemFound35        sysmsg 'Item found!' 4436        @setvar currentItem itemFound       37        #this is the part that buys it38        menu itemFound 039        #Adjust this to your wait time to click buy40        wait 200041        @ignore itemFound42    endwhile43    foreach searchContainer in 'container_graphic_ids'44        while findtype searchContainer myLittleStinkyVar as foundContainer45            dclick foundContainer46            wait 60047            #Change this to what you are searching for - first any is hue for aspect stuff48            while findtype 24434  myLittleStinkyVar any any any as itemFound49                sysmsg 'Item found!' 4450                @setvar currentItem itemFound       51                #this is the part that buys it52                menu itemFound 053                #Adjust this to your wait time to click buy54                wait 200055                @ignore itemFound56            endwhile57            @ignore foundContainer58        endwhile59    endfor60endwhile