Back to "tinkering" tags

Vendor Search for a specific item (example script) by Jaseowns

Description: Check out "Search Player Vendor and Prompt to Buy Item" https://outlands.uorazorscripts.com/script/f43b668a-588e-455c-90e2-46dc003c55c6 for the full script.

# Check out Search Player Vendor and Prompt to Buy Item # https://outlands.uorazorscripts.com/script/f43b668a-588e-455c-90e2-46dc003c55c6 # for the full script. # work in progress # Search one vendor for a specific item by Jaseowns # You want to edit the label potentially.. tbd # What are we doing? # - We want to search vendors for a specific item and get the price # - Starting with a skill orb # "name: void orb" # "id: 22336" # "hue: 2966" # "name: scroll of calling" # "id: 8826" # "hue: 2291" # 8826 2291 carp sccroll clearignore @setvar! item_id_to_buy 8826 @setvar! item_hue_to_buy 2291 // TODO: find label of tinkering scroll @setvar! globalTimeout 650 @setvar! playerVendor if noto playerVendor = "invulnerable" dclick playerVendor wait globalTimeout for 2 while findtype 3701|29833|3705|3712|3648|3702 playerVendor as container getlabel container desc if "Price: Not for sale" in desc dclick container wait globalTimeout else sysmsg desc endif ignore container endwhile endfor while findtype item_id_to_buy playerVendor item_hue_to_buy as item getlabel playerVendor descPlayerVendor getlabel item desc if "tinkering" in desc overhead "This vendor: {{descPlayerVendor}}" 88 overhead desc wait globalTimeout stop endif ignore item endwhile endif endif