Skip to content
Outlands Hub

Razor script

Herding and Vet

by scottie2hottie69 · 155 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.

Train Veterinary using magical wizard hat by Chinga Modified to use Shepherd's Crook every 3 seconds Shepherd's Crook: ID: 3713 Hue: 2207 Veterinary target: 120

TrainingHealingCombatHerdingVeterinary
Herding and Vet.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/6989670e-c356-40b1-87e6-1ac923e0eb10 for latest2# Automation by Jaseowns3## Script: Herding and Vet 4## Created by: scottie2hottie69#05#############################################6 7# Train Veterinary using magical wizard hat by Chinga8# Modified to use Shepherd's Crook every 3 seconds9#10# Shepherd's Crook:11# ID: 371312# Hue: 220713#14# Veterinary target: 12015 16############################17# SETTINGS18############################19 20@setvar! crookCooldown 300021 22if not timerexists crookTimer23    settimer crookTimer crookCooldown24endif25 26 27############################28# MAIN LOOP29############################30 31while skill "veterinary" < 12032 33    ############################34    # USE CROOK35    ############################36 37    if timer crookTimer >= crookCooldown38        if findtype 3713 backpack 2207 as shepherdCrook39            dclick shepherdCrook40            settimer crookTimer 041        endif42    endif43 44 45    ############################46    # CHECK REQUIRED ITEMS47    ############################48 49    if not findtype 5912 self50        overhead "No magical wizard hat!" 2051        wait 500052        stop53 54    elseif not findtype 25750 backpack55        overhead "No Vet Supplies!" 2056        wait 500057        stop58    endif59 60 61    ############################62    # USE WIZARD HAT63    ############################64 65    if hp = maxhp and findlayer self head as wizardhat66        dclick wizardhat67        wait 65068 69    elseif findtype 5912 backpack as wizardhat70        dclick wizardhat71        wait 65072    endif73 74 75    ############################76    # START VETERINARY BANDAGE77    ############################78 79    if not bandaging and hp < maxhp80 81        if findtype "veterinary supplies" backpack as vsupply82            clearsysmsg83 84            while queued85 86                # Check crook while waiting87                if timer crookTimer >= crookCooldown88                    if findtype 3713 backpack 2207 as shepherdCrook89                        dclick shepherdCrook90                        settimer crookTimer 091                    endif92                endif93 94                wait 10095 96            endwhile97 98            dclick vsupply99        endif100 101        wait 650102 103 104        ############################105        # WHILE BANDAGING106        ############################107 108        while bandaging109 110            ############################111            # CHECK CROOK EVERY 3 SEC112            ############################113 114            if timer crookTimer >= crookCooldown115                if findtype 3713 backpack 2207 as shepherdCrook116                    dclick shepherdCrook117                    settimer crookTimer 0118                endif119            endif120 121 122            ############################123            # WIZARD HAT124            ############################125 126            if hp = maxhp127 128                if findlayer self head as wizardhat129                    dclick wizardhat130 131                elseif findtype 5912 backpack as wizardhat132                    dclick wizardhat133                endif134 135            endif136 137            # Short wait so crook timer is138            # checked frequently139            wait 100140 141        endwhile142 143    endif144 145    # Prevent unnecessary rapid looping146    wait 100147 148endwhile149 150 151############################152# FINISHED153############################154 155overhead "Veterinary reached 120!" 88