Skip to content
Outlands Hub

Razor script

Ez Vendor Gold Collection

by alistormccoy · 61 lines
Download
Housing
Ez Vendor Gold Collection.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c99bdcec-b824-4a6e-8fef-4db1f0e38ba0 for latest2# Automation by Jaseowns3## Script: Ez Vendor Gold Collection4## Created by: alistormccoy#05#############################################6 7// Ez Vendor Gold Collection8 9// Uses house sign to access your vendors and opens the10// Collect Gold gump of the vendor with the highest amount of gold held.11// Collect the gold off your vendor and simply hit your hotkey again to go to the next.12// By default it searches for the closest house sign to your character13// and uses that, but you can hardcode the sign serial below if you prefer.14 15@setvar! "houseSign" 0xFFFFFFFF16 17if "houseSign" == 0xFFFFFFFF18    if findtype "sign" ground any any 2 as "autoFind"19        @setvar! "houseSign" "autoFind"20    elseif findtype "sign" ground any any 4 as "autoFind"21        @setvar! "houseSign" "autoFind"22    elseif findtype "sign" ground any any 6 as "autoFind"23        @setvar! "houseSign" "autoFin0d"24    elseif findtype "sign" ground any any 12 as "autoFind"25        @setvar! "houseSign" "autoFind"26    elseif findtype "sign" ground any any 18 as "autoFind"27        @setvar! "houseSign" "autoFind"28    else29        overhead "No house sign found! Halting..." 115930        stop31    endif32endif33 34if gumpexists 195744660135    gumpclose 195744660136endif37if gumpexists 72549653538    gumpclose 72549653539endif40 41if not gumpexists 249020120642    dclick "houseSign"43    createtimer "globalCD"44    waitforgump 2490201206 100045endif46 47gumpresponse 3 249020120648waitforgump 2490201206 100049if not gumpexists 249020120650    overhead "Something went awry" 115951    stop52endif53 54//the next gump response opens the vendor backpack so gotta wait out global cooldown55while timerexists "globalCD" and timer "globalCD" < 60056    wait 5057endwhile58gumpresponse 20 249020120659 60waitforgump 1957446601 100061gumpresponse 6 1957446601