Skip to content
Outlands Hub

Razor script

Peace making example

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

by Jaseowns UO Outlands

BardPeacemaking
Peace making example.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/9cf0b155-819a-40ca-b64e-f686babff389 for latest2# Automation by Jaseowns3## Script: Peace making example 4## Created by: Jaseowns#66945#############################################6 7# Peace making example by Jaseowns8# UO Outlands9@setvar! checkThisTarget lasttarget 10 11getlabel checkThisTarget desc12overhead desc 88 checkThisTarget13 14if "peace" in desc15    // leave empty16else 17    useskill 'Peacemaking'18    wft 50019    if insysmsg "What instrument"20        if findtype "bamboo flute" backpack as inny21            target inny22        elseif findtype "tambourine" backpack as inny23            target inny24        elseif findtype "drum" backpack as inny25            target inny26        elseif findtype "lute" backpack as inny27            target inny28        elseif findtype "lap harp" backpack as inny29            target inny30        else31            overhead "I do not have an inny" 3432            wait 200033            replay34        endif35        wft 50036    endif37    target checkThisTarget38endif