Skip to content
Outlands Hub

Razor script

Loot Bag Hider

by Areolys · 75 lines
Download

by Areolys This script will hide your loot and resources/reagents bags behind trapped pouches to keep them save from thieves. It will also allow you to easily open your bags without having to fiddle around with the pouches…

CombatOrganizing
Loot Bag Hider.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/07aee6f6-c591-438d-a039-ac380eae6423 for latest2# Automation by Jaseowns3## Script: Loot Bag Hider4## Created by: Areolys#22405#############################################6 7#8# Loot Bag Hider9# by Areolys10#11# This script will hide your loot and resources/reagents bags behind trapped pouches to keep12# them save from thieves.13# It will also allow you to easily open your bags without having to fiddle around with the14# pouches in your bag.15 16# Set up loot & reagents bags if not in backpack17if not varexist personal_loot_bag18    overhead "Set loot bag" 8819    setvar personal_loot_bag20else21    if not find personal_loot_bag backpack22        overhead "Loot bag not found. Do you want to set a new one?"23        setvar personal_loot_bag24    endif    25endif26 27if not varexist personal_resource_bag28    overhead "Set resources bag" 8829    setvar personal_resource_bag30# check if you didn't accidentally clicked the same bag31# remove this if you don't want two seperate bags32    if personal_resource_bag = personal_Loot_bag backpack33        overhead "you can't have resources and loot in the same bag!" 34    endif35else36    if not find personal_resource_bag backpack37        overhead "Resources bag not found. Do you want to set a new one?"38        setvar personal_resource_bag         39            40# check if you didn't accidentally clicked the same bag41# remove this if you don't want two seperate bags42        if personal_resource_bag = personal_Loot_bag43            "you can't have resources and loot in the same bag!"  44        endif45    endif46    47    48    # Stack the bags on top right corner of backpack on top of each other49 50    lift personal_loot_bag 151    wait 50052    drop backpack 0 0 053    wait 50054 55    lift personal_resource_bag 156    wait 50057    drop backpack 0 0 058    wait 50059 60    clearignore 61    while findtype "pouch" backpack 38 as trapped62        lift trapped63        drop backpack 0 0 064        ignore trapped65        wait 65066    endwhile67    clearignore68endif    69 70 71# Open loot and resources bags72 73dclick personal_loot_bag backpack74wait 25075dclick personal_resource_bag backpack