Skip to content
Outlands Hub

Razor script

Select a target to all kill and discord

by Jaseowns · 108 lines
Download

Select a target to herd and discord by Jaseowns UO Outlands

CombatBardDiscordance
Select a target to all kill and discord.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/3e2bef4b-dcb6-409f-8a3d-6c7d4e39f2e5 for latest2# Automation by Jaseowns3## Script: Select a target to all kill and discord4## Created by: Jaseowns#66945#############################################6 7# Select a target to herd and discord by Jaseowns8# UO Outlands9 10if targetexists 11    hotkey 'Cancel Current target'12endif13 14@setvar! mySingleKillTarget15 16if noto mySingleKillTarget = "friend"17    overhead "Retarget" 3418    @setvar! mySingleKillTarget19endif20 21@setvar! isDiscorded 022 23 24if not timerexists skillTimer25    settimer skillTimer 12000    26endif27 28if followers > 029    say 'all kill'30    wft 50031    target mySingleKillTarget32endif33 34 35while isDiscorded = 036 37    if skill "Discordance" >= 50 38        if isDiscorded = 039            getlabel mySingleKillTarget discordDesc40            if "discord" in discordDesc41                @setvar! isDiscorded 142            elseif timer skillTimer >= 11000 43                useskill 'Discordance'44                wft 50045                if insysmsg "What instrument"46                    if findtype "bamboo flute" backpack as inny47                        target inny48                    elseif findtype "tambourine" backpack as inny49                        target inny50                    elseif findtype "drum" backpack as inny51                        target inny52                    elseif findtype "lute" backpack as inny53                        target inny54                    elseif findtype "harp" backpack as inny55                        target inny56                    elseif findtype "lap harp" backpack as inny57                        target inny58                    else59                        overhead "I do not have an inny" 3460                        @setvar! isDiscorded 161                    endif62                    wft 50063                endif64                if targetexists 65                    target mySingleKillTarget66                    overhead "Discorded" 88 mySingleKillTarget67                endif68                settimer skillTimer 500069            endif70        endif71        72    73    endif74    wait 10075 76endwhile77 78while not findbuff "song of discordance"79    if timer skillTimer >= 1100080        useskill 'Discordance'81        wft 50082        if insysmsg "What instrument"83            if findtype "bamboo flute" backpack as inny84                target inny85            elseif findtype "tambourine" backpack as inny86                target inny87            elseif findtype "drum" backpack as inny88                target inny89            elseif findtype "lute" backpack as inny90                target inny91            elseif findtype "harp" backpack as inny92                target inny93            elseif findtype "lap harp" backpack as inny94                target inny95            else96                overhead "I do not have an inny" 3497                @setvar! isDiscorded 198            endif99            wft 500100        endif101        target backpack102    endif103    wait 100104endwhile   105 106target mySingleKillTarget 107getlabel mySingleKillTarget desc108overhead desc 88 mySingleKillTarget