Skip to content
Outlands Hub

Razor script

Provoke Nearest Creatures Automatically Single Hotkey (Q)

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

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

BardDiscordancePeacemakingProvocation
Provoke Nearest Creatures Automatically Single Hotkey Q.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/96b8c79e-8a3a-49cd-8272-c425779706ee for latest2# Automation by Jaseowns3## Script: Provoke Nearest Creatures Automatically Single Hotkey (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@setvar! mobTwo lasttarget28 29getlabel mobOne descOne30overhead "MobOne = {{descOne}}" 8831 32while mobOne = mobTwo33    overhead "Same mob, move near someone else!" 3434    hotkey 'target closest non-friendly monster'35    wait 20036    if insysmsg "no one matching"37        overhead  "Nothing to attack" 3438        break39    endif40    @setvar! mobOne lasttarget41endwhile42 43getlabel mobTwo descTwo44overhead "MobTwo = {{descTwo}}" 7745 46 47clearsysmsg 48 49while not dead50    if timer sCheck >= 500051        useskill 'Provocation'52        wft 50053        if insysmsg "What instrument"54            if findtype "bamboo flute" backpack as inny55                target inny56            elseif findtype "tambourine" backpack as inny57                target inny58            elseif findtype "drum" backpack as inny59                target inny60            elseif findtype "lute" backpack as inny61                target inny62            elseif findtype "lap harp" backpack as inny63                target inny64            else65                overhead "I do not have an inny" 3466                wait 200067                replay68            endif69            wft 50070        endif71        72        if targetexists 73            target mobOne74            wft 50075            target mobTwo76            wait 20077            if insysmsg "you play success"78                settimer sCheck 079                break80            elseif insysmsg "t incite that!"81                break82            endif83        endif84 85    else86        overhead "Waiting for skill cooldown..." 8887        wait 50088    endif89    90    if hp <= autoBardHpCheck91        if findtype "Yellow Potion" backpack as pot92            dclick pot93        endif94    endif95    96    if diffhits >= 10 and not bandaging97        if skill "healing" > 0 and findtype "clean bandage%s%" backpack98            hotkey 'Bandage Self'99        endif100    endif101endwhile102 103 104while not dead mobOne105    getlabel mobOne descOne106 107    if "discord" in descOne108        overhead "Already discorded" 88 mobOne109        break110    endif111    112    if timer sCheck >= 5000 113        useskill 'Discordance'114        wft 500115        if insysmsg "What instrument"116            if findtype "bamboo flute" backpack as inny117                target inny118            elseif findtype "tambourine" backpack as inny119                target inny120            elseif findtype "drum" backpack as inny121                target inny122            elseif findtype "lute" backpack as inny123                target inny124            elseif findtype "lap harp" backpack as inny125                target inny126            else127                overhead "I do not have an inny" 34128                wait 2000129                replay130            endif131            wft 500132        endif133        if targetexists 134            target mobOne135            overhead "Discorded" 88 mobOne136        endif137        settimer sCheck 0138        break139    else140        overhead "Waiting for skill cooldown..." 88141        wait 500142    endif143    144    145    if hp <= autoBardHpCheck146        if findtype "Yellow Potion" backpack as pot147            dclick pot148        endif149    endif150    151    if diffhits >= 10 and not bandaging152        if skill "healing" > 0 and findtype "clean bandage%s%" backpack153            hotkey 'Bandage Self'154        endif155    endif156endwhile157 158while not dead mobTwo159    160    getlabel mobTwo descTwo161 162    if "discord" in descTwo163        overhead "Already discorded" 88 mobTwo164        break165    endif166    167    if timer sCheck >= 5000168        useskill 'Discordance'169        wft 500170        if insysmsg "What instrument"171            if findtype "bamboo flute" backpack as inny172                target inny173            elseif findtype "tambourine" backpack as inny174                target inny175            elseif findtype "drum" backpack as inny176                target inny177            elseif findtype "lute" backpack as inny178                target inny179            elseif findtype "lap harp" backpack as inny180                target inny181            else182                overhead "I do not have an inny" 34183                wait 2000184                replay185            endif186            wft 500187        endif188        if targetexists 189            target mobTwo190            overhead "Discorded" 88 mobTwo191        endif192        settimer sCheck 0193        break194    else195        overhead "Waiting for skill cooldown..." 88196        wait 500197    endif198 199    if hp <= autoBardHpCheck200        if findtype "Yellow Potion" backpack as pot201            dclick pot202        endif203    endif204    205    if diffhits >= 10 and not bandaging206        if skill "healing" > 0 and findtype "clean bandage%s%" backpack207            hotkey 'Bandage Self'208        endif209    endif210endwhile211 212 213while not dead214    215    if hp <= autoBardHpCheck216        if findtype "Yellow Potion" backpack as pot217            dclick pot218        endif219    endif220    221    if diffhits >= 10 and not bandaging222        if skill "healing" > 0 and findtype "clean bandage%s%" backpack223            hotkey 'Bandage Self'224        endif225    endif226    227    228    if skill "Discordance" > 0229        if not findbuff "song of discordance" and timer sCheck >= 11000230            useskill 'Discordance'231            wft 500232            target backpack233            settimer sCheck 0234        endif235    endif236 237    if skill "Provocation" > 0238        if not findbuff "song of provocation" and timer sCheck >= 11000239            useskill 'Provocation'240            wft 500241            target backpack242            settimer sCheck 0243        endif244    endif245 246    if skill "Peacemaking" > 0247        if not findbuff "song of peacemaking" and timer sCheck >= 11000248            useskill 'Peacemaking'249            wft 500250            target backpack251            settimer sCheck 0252        endif253    endif254    255    wait 500256 257endwhile