Skip to content
Outlands Hub

Razor script

Set Trapped Loot Pouch and move weapon into pouch or take it out

by Jaseowns · 59 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.

This is a proof of concept for a question about moving your weapon into a trapped pouch and then pulling it back out Requirements: This…

CombatOrganizing
Set Trapped Loot Pouch and move weapon into pouch or take it out.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/291f93bc-3255-44bd-a6cd-2596e5f13003 for latest2# Automation by Jaseowns3## Script: Set Trapped Loot Pouch and move weapon into pouch or take it out4## Created by: Jaseowns#66945#############################################6 7# Set Trapped Loot Pouch and move weapon into pouch or take it out by Jaseowns8# UO Outlands9# Description:10#   This is a proof of concept for a question about moving11#   your weapon into a trapped pouch and then pulling it back out   12# Requirements:13#   This assumes you are using a right hand weapon (I tested with a cross bow)14if not varexist myTrappedLootPouch15    @setvar! myTrappedLootPouch 016endif17 18if not varexist myWeaponToHide19    @setvar! myWeaponToHide 020endif21 22if not find myTrappedLootPouch backpack23    if findtype "pouch" backpack 38 as lootPouch24        @setvar! myTrappedLootPouch lootPouch25    endif26endif27 28if not find myWeaponToHide self29    if findlayer self righthand as weapon30        @setvar! myWeaponToHide weapon31    endif32endif33 34if not find myWeaponToHide self35    overhead "Cannot find righthand weapon" 3436    stop37endif38 39if not find myTrappedLootPouch backpack40    overhead "Cannot find loot pouch" 3441    stop42else43    getlabel myTrappedLootPouch desc44    overhead desc45    if findlayer self righthand as weapon46        if weapon = myWeaponToHide47            lift myWeaponToHide48            drop myTrappedLootPouch49            wait 65050        else51            dclick myWeaponToHide52            wait 65053        endif54    else55        dclick myWeaponToHide56        wait 650  57    endif58endif59