Skip to content
Outlands Hub

Razor script

VetTankOption

by Xyio · 65 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 Xyio #

VetTankOption.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/42201fa0-6345-45d5-8a4c-0fea3497331c for latest2# Automation by Jaseowns3## Script: VetTankOption4## Created by: Xyio#54205#############################################6 7#############################################8# VetTankOption by Xyio                     #9#############################################10 11removelist 'sc_Name'12createlist 'sc_Name'13 14#############################################15# Set which bandage(s) to use               #16# 3617 is bandages                          #17#      is vetsupplies                       #18#############################################19setvar! bandageItem 361720 21 22#############################################23# How long after first press                #24# That another press will target tank       #25#############################################26setvar! tankOptionTime 100027 28#############################################29# Name of an anytime script if you use one. #30# Comment if not used                       #31#############################################32pushlist 'sc_Name' 'Auto_Script'33 34 35 36# Set tankPet variable37if not varexist tankPet38    overhead '::: target your tank :::'39    setvar tankPet40endif41 42if not timerexists '_vetOption'43    createtimer '_vetOption'44    settimer '_vetOption' 99999945endif46 47if timer '_vetOption' < tankOptionTime48    if targetexists49    overhead '� Tank �' 9350        target tankPet51        foreach name in 'sc_Name'52            poplist 'sc_Name' name53            script name 54        endfor55    endif56elseif findtype bandageItem backpack57    overhead '� Bandage �' 5258    dclicktype bandageItem59    waitfortarget60    settimer '_vetOption' 061    foreach name in 'sc_Name'62        poplist 'sc_Name' name63        script name 64    endfor65endif