try and search vendors for a specific item. Livestream What are we doing? - We want to search vendors for a specific item and get the price - Starting with a skill orb…
Housing
Search Vendor for Specific Item.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/3fa72cc1-95a8-4a4f-aad5-43f5fd4fb33a for latest2# Automation by Jaseowns3## Script: Search Vendor for Specific Item4## Created by: Jaseowns#66945#############################################6 7# Search Vendor for Specific Item by Jaseowns8# UO Outlands9# Description: try and search vendors for a specific item. Livestream10# What are we doing?11# - We want to search vendors for a specific item and get the price12# - Starting with a skill orb 13# "name: void orb"14# "id: 22336"15# "hue: 2966"16clearignore17 18@setvar! item_id_to_buy 2233619@setvar! item_hue_to_buy 296620@setvar! globalTimeout 65021 22 23removelist "playVendors"24createlist "playVendors"25 26while not dead27 hotkey "Next Monster Target"28 wait 20029 @setvar! playerVendor lasttarget 30 if inlist "playVendors" playerVendor31 // skip32 sysmsg "Might be all done..."33 else34 pushlist "playVendors" playerVendor35 if noto playerVendor = "invulnerable"36 dclick playerVendor37 wait globalTimeout38 39 40 // 3712 paragon box small41 // 3648 metal chest42 // 3702 bag43 // 3705 pouch44 // 29833 greater paragon45 // 3701 backpack46 47 for 248 while findtype 3701|29833|3705|3712|3648|3702 playerVendor as container49 getlabel container desc50 if "Price: Not for sale" in desc51 dclick container52 wait globalTimeout53 else54 sysmsg desc55 endif56 ignore container57 endwhile58 endfor59 60 // 3712 124661 // 3712 259962 63 while findtype item_id_to_buy playerVendor item_hue_to_buy as item64 getlabel item desc65 overhead desc66 wait globalTimeout67 ignore item68 endwhile69 endif70 endif71endwhile