Skip to content
Outlands Hub

Razor script

Get Label of Instrument

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

Set an Instrument by Jaseowns UO Outlands

Get Label of Instrument.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/915bd19d-b5d8-4639-9dd5-2da37302f783 for latest2# Automation by Jaseowns3## Script: Get Label of Instrument 4## Created by: Jaseowns#66945#############################################6 7# Set an Instrument by Jaseowns8# UO Outlands9if not varexist inny10    if findtype "tambourine" backpack as setInny11        setvar inny setInny12    elseif findtype "drum" backpack as setInny13        setvar inny setInny14    elseif findtype "lute" backpack as setInny15        setvar inny setInny16    elseif findtype "flute" backpack as setInny17        setvar inny setInny18    elseif findtype "lap harp" backpack as setInny19        setvar inny setInny20    else21        overhead "No inny found" 3422        setvar inny23    endif24endif25 26if find inny backpack27    getlabel inny desc28    overhead desc29else30    unsetvar inny31    replay32endif