Skip to content
Outlands Hub

Razor script

vendor catalog

by nesci · 74 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

HousingHiding
vendor catalog.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/117c2779-3830-4d77-b2a7-d2d5e312c403 for latest2# Automation by Jaseowns3## Script: vendor catalog4## Created by: nesci#04715#############################################6 7@setvar! globalTimeout 6508 9# Making sure to hide10if skill "Hiding" >= 10011  useskill "hiding"12endif  13 14clearignore15sysmsg "START CATALOGUE"16 17while not dead18  @hotkey 'Next Monster Target'19  @setvar! 'lastserial' lasttarget20  if noto 'lastserial' = invulnerable 21    if findtype 3701 'lastserial' as foundBackpack22      sysmsg 'New Vendor'23      say "[coord"24      sysmsg lastserial25      dclick 'foundBackpack'26      @ignore foundBackpack27      wait globalTimeout28      29      #Searching for items in main Backpack30      while findtype 19239|3862|3877|3885|3873|3859|3865|3856|3878|3861|19236|19234|5901|17087|8032|8033|8031|8035|8029|8034|8037|8041|8042|8039|8038|42694|3657|29774|28883|28885|29773|28879|12215|2597|5362|12686|5356|8455|29348|19239|19227|29103|29863|42692|5363|7127|29447|5127|7109|3908|3897|11552|3718|15178|39860|5359|49711|28888|3897|3985|5356|5981|27611|6464|3530|3836|22336|3843|29025|45285|3842|8826|8901|3834|8787|8786|29036|8012|5903|48407|17686|43167|29030|19235|16898|8788|7107|20495|3827|5356|3920|3713|5117|5042|3721|3762|22187|5078|5187|5049|3568|3911|51100|29048|45085|27612|45085|6264|19232 "foundBackpack" as foundItem31        @getlabel 'foundItem' foundItemLabel32        sysmsg foundItemLabel 3333        @ignore foundItem34      endwhile35      36      #Open all bags in backpack37      while findtype 3701|29833|3705|3712|3648|3702 foundBackpack as container38        getlabel container desc39        if "Price: Not for sale" in desc40          dclick container41          wait globalTimeout42          43          #Searching for items44          while findtype 19239|3862|3877|3885|3873|3859|3865|3856|3878|3861|19236|19234|5901|17087|8032|8033|8031|8035|8029|8034|8037|8041|8042|8039|8038|42694|3657|29774|28883|28885|29773|28879|12215|2597|5362|12686|5356|8455|29348|19239|19227|29103|29863|42692|5363|7127|29447|5127|7109|3908|3897|11552|3718|15178|39860|5359|49711|28888|3897|3985|5356|5981|27611|6464|3530|3836|22336|3843|29025|45285|3842|8826|8901|3834|8787|8786|29036|8012|5903|48407|17686|43167|29030|19235|16898|8788|7107|20495|3827|5356|3920|3713|5117|5042|3721|3762|22187|5078|5187|5049|3568|3911|51100|29048|45085|27612|45085|6264|19232 "container" as foundItem45            @getlabel 'foundItem' foundItemLabel46            sysmsg foundItemLabel 3347            @ignore foundItem48          endwhile49        endif50        @ignore container51      endwhile52    else 53      overhead 'DONE CATALOGUE'54 55      # Close all vendor bags56      walk "North"57      walk "South"58      59      # Making sure to hide60      if skill "Hiding" >= 10061        useskill "hiding"62      endif63      64      clearsysmsg65      break66    endif67  endif68endwhile69  70while not insysmsg 'save complete'71  wait 100072endwhile73 74loop