Skip to content
Outlands Hub

Razor script

Search lastobject for un-trapped pouch

by Jaseowns · 31 lines
Download

Search bags for un-trapped pouch by Jaseowns UO Outlands Requirements: Defaults to lastobject, so first double click the bag you want to search If you want to auto search the bags, leave it as autoOpenUntrapped 1, if you don't like that…

Organizing
Search lastobject for un-trapped pouch.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/811b9be7-7e59-44a7-a96d-72927961913f for latest2# Automation by Jaseowns3## Script: Search lastobject for un-trapped pouch 4## Created by: Jaseowns#66945#############################################6 7# Search bags for un-trapped pouch by Jaseowns8# UO Outlands 9# Requirements: 10#   Defaults to lastobject, so first double click the bag you want to search 11#   If you want to auto search the bags, leave it as autoOpenUntrapped 1, if you don't like that set it to 012clearignore 13 14@setvar! tbag lastobject15@setvar! autoOpenUntrapped 116 17if counttype "pouch" tbag 38 as foundPouches18    overhead "{{foundPouches}} trapped pouches found!" 3819endif20if counttype "pouch" tbag 0 as foundPouches21    overhead "{{foundPouches}} un-trapped pouches found!" 7722    if autoOpenUntrapped = 123        while findtype "pouch" tbag 0 as found24            dclick found25            ignore found26            wait 120027        endwhile28        clearignore 29    endif30endif31