Skip to content
Outlands Hub

Razor script

Provoke Nearest Creature and select the next one (ALT-Q)

by Jaseowns · 224 lines
Download

Provoke Bard Bot with Discord by Jaseowns UO Outlands Livestream learning!

BardDiscordanceProvocation
Provoke Nearest Creature and select the next one ALT-Q.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/178ed350-ca43-43c7-94ed-a1bdc97970c1 for latest2# Automation by Jaseowns3## Script: Provoke Nearest Creature and select the next one (ALT-Q)4## Created by: Jaseowns#66945#############################################6 7# Provoke Bard Bot with Discord by Jaseowns8# UO Outlands9# Livestream learning!10 11# Pop a pot if below or equal this HP12@setvar! autoBardHpCheck 6013 14if not timerexists sCheck15    createtimer sCheck16    settimer sCheck 1100017endif18 19hotkey 'target closest non-friendly monster'20wait 20021if insysmsg "no one matching"22    overhead  "Nothing to attack" 3423    stop24endif25 26@setvar! mobOne lasttarget 27 28getlabel mobOne descOne29overhead "MobOne = {{descOne}}" 8830 31@setvar! mobTwo  32 33getlabel mobTwo descTwo34overhead "MobTwo = {{descTwo}}" 7735 36 37if mobOne = mobTwo38    overhead "Same mob, re-select someone else!" 3439    @setvar! mobOne40endif41 42clearsysmsg 43 44while not dead45    if timer sCheck >= 500046        useskill 'Provocation'47        wft 50048        if insysmsg "What instrument"49            if findtype "bamboo flute" backpack as inny50                target inny51            elseif findtype "tambourine" backpack as inny52                target inny53            elseif findtype "drum" backpack as inny54                target inny55            elseif findtype "lute" backpack as inny56                target inny57            elseif findtype "lap harp" backpack as inny58                target inny59            else60                overhead "I do not have an inny" 3461                wait 200062                replay63            endif64            wft 50065        endif66        67        if targetexists 68            target mobOne69            wft 50070            target mobTwo71            wait 20072            if insysmsg "you play success"73                settimer sCheck 074                break75            elseif insysmsg "t incite that!"76                break77            endif78        endif79 80    else81        overhead "Waiting for skill cooldown..." 8882        wait 50083    endif84    85    if hp <= autoBardHpCheck86        if findtype "Yellow Potion" backpack as pot87            dclick pot88        endif89    endif90    91    if diffhits >= 10 and not bandaging92        if skill "healing" > 0 and findtype "clean bandage%s%" backpack93            hotkey 'Bandage Self'94        endif95    endif96endwhile97 98 99while not dead mobOne100    getlabel mobOne descOne101 102    if "discord" in descOne103        overhead "Already discorded" 88 mobOne104        break105    endif106    107    if timer sCheck >= 5000 108        useskill 'Discordance'109        wft 500110        if insysmsg "What instrument"111            if findtype "bamboo flute" backpack as inny112                target inny113            elseif findtype "tambourine" backpack as inny114                target inny115            elseif findtype "drum" backpack as inny116                target inny117            elseif findtype "lute" backpack as inny118                target inny119            elseif findtype "lap harp" backpack as inny120                target inny121            else122                overhead "I do not have an inny" 34123                wait 2000124                replay125            endif126            wft 500127        endif128        if targetexists 129            target mobOne130            overhead "Discorded" 88 mobOne131        endif132        settimer sCheck 0133        break134    else135        overhead "Waiting for skill cooldown..." 88136        wait 500137    endif138    139    140    if hp <= autoBardHpCheck141        if findtype "Yellow Potion" backpack as pot142            dclick pot143        endif144    endif145    146    if diffhits >= 10 and not bandaging147        if skill "healing" > 0 and findtype "clean bandage%s%" backpack148            hotkey 'Bandage Self'149        endif150    endif151endwhile152 153while not dead mobTwo154    155    getlabel mobTwo descTwo156 157    if "discord" in descTwo158        overhead "Already discorded" 88 mobTwo159        break160    endif161    162    if timer sCheck >= 5000163        useskill 'Discordance'164        wft 500165        if insysmsg "What instrument"166            if findtype "bamboo flute" backpack as inny167                target inny168            elseif findtype "tambourine" backpack as inny169                target inny170            elseif findtype "drum" backpack as inny171                target inny172            elseif findtype "lute" backpack as inny173                target inny174            elseif findtype "lap harp" backpack as inny175                target inny176            else177                overhead "I do not have an inny" 34178                wait 2000179                replay180            endif181            wft 500182        endif183        if targetexists 184            target mobTwo185            overhead "Discorded" 88 mobTwo186        endif187        settimer sCheck 0188        break189    else190        overhead "Waiting for skill cooldown..." 88191        wait 500192    endif193 194    if hp <= autoBardHpCheck195        if findtype "Yellow Potion" backpack as pot196            dclick pot197        endif198    endif199    200    if diffhits >= 10 and not bandaging201        if skill "healing" > 0 and findtype "clean bandage%s%" backpack202            hotkey 'Bandage Self'203        endif204    endif205endwhile206 207 208while not dead209    210    if hp <= autoBardHpCheck211        if findtype "Yellow Potion" backpack as pot212            dclick pot213        endif214    endif215    216    if diffhits >= 10 and not bandaging217        if skill "healing" > 0 and findtype "clean bandage%s%" backpack218            hotkey 'Bandage Self'219        endif220    endif221    222    wait 500223 224endwhile