Vet Script Questions

Fuego

Grandmaster
Found a vet script but have questions before trying it

Read it fully heals pet? I just want it to heal lowest hp pet? Also does it just use one bandage then i have to replay? Don't want it to constantly be vetting, then i can't use other macros.

Code:
//Experience
//Heals 2 pets.
//Included weight check on self
@cleartargetqueue
@clearjournal
if dead 'self'
stop
endif
//Setup
if not findalias 'pet1'
headmsg 'Select first pet'
promptalias 'pet1'
endif
if not findalias 'pet2'
headmsg 'Select second pet'
promptalias 'pet2'
endif
//Feed pets
if not timerexists 'feed'
createtimer 'feed'
endif
if timer 'feed' > 600000
if @inrange 'pet1' 1 or @inrange 'pet2' 1
headmsg 'Feeding Pets!!!'
pause 600
feed 'pet1' '0x9f1' 'any' '1'
pause 700
feed 'pet2' '0x9f1' 'any' '1'
settimer 'feed' 0
endif
endif
//Heal them to full
while hits 'pet1' == maxhits 'pet1' and hits 'pet2' == maxhits 'pet2'
pause 50
endwhile
if diffhits 'pet1' > diffhits 'pet2'
if inrange 'pet1' 1
bandage
autotargetobject 'pet1'
pause 6100
endif
else
if inrange 'pet2' 1
bandage
autotargetobject 'pet2'
pause 6100
endif
endif
if not @injournal 'finish' 'system'
pause 1100
replay
else if @injournal 'finish' 'system'
@clearjournal
replay
elseif @injournal 'too far away' 'system'
@clearjournal
replay
elseif @injournal 'stay close enough' 'system'
@clearjournal
replay
endif
if mana > 25
while weight >= maxweight
cast 'bless'
autotargetself!
pause 1500
endwhile
endif
 

Experience

Grandmaster
The script will heal the pet with lowest health until both pets are fully healed. make sure to check the loop script box on the left. it will also feed them if you have raw ribs in your pack.
 

Young Star

Grandmaster
As for using other macros...you van only run one script at a time. You can run one loop and do other simple commands set in the hotkeys tab. One trick you can do is add playmacro 'xyz' at the end of some of your scripts if you always hit one then start another right after.
 

Fuego

Grandmaster
The script will heal the pet with lowest health until both pets are fully healed. make sure to check the loop script box on the left. it will also feed them if you have raw ribs in your pack.
If I hit another script, recall to another spot, will it stop and can i just restart it once recalled?
 

Young Star

Grandmaster
Once you hit another script the previous one will stop. Just hit the vet hotkey again and it will go back to healing
 

Fuego

Grandmaster
@Experience, can I call you XP? Anyway could you add Protection on a expire timer so it auto recast when neede, auto bless if overweight, and the pk recall to your vet script?
 

Experience

Grandmaster
//Experience
//Heals 2 pets.
//Included weight check on self
@cleartargetqueue
@clearjournal
if dead 'self'
stop
endif
//Setup
if not findalias 'pet1'
headmsg 'Select first pet'
promptalias 'pet1'
endif
if not findalias 'pet2'
headmsg 'Select second pet'
promptalias 'pet2'
endif
if not findalias 'Escape Book'
headmsg 'Select Escape Book'
promptalias 'Escape Book'
endif
//Protection
if not timerexists 'Protect'
createtimer 'Protect'
endif
//Feed pets
if not timerexists 'feed'
createtimer 'feed'
endif
if timer 'feed' > 600000
if @inrange 'pet1' 1 or @inrange 'pet2' 1
headmsg 'Feeding Pets!!!'
pause 600
feed 'pet1' '0x9f1' 'any' '1'
pause 700
feed 'pet2' '0x9f1' 'any' '1'
settimer 'feed' 0
endif
endif
//Heal them to full
while hits 'pet1' == maxhits 'pet1' and hits 'pet2' == maxhits 'pet2'
pause 50
getenemy 'murderer' 'criminal' 'humanoid' 'closest'
if @inrange 'enemy' '15'
cast 'recall'
autotargetobject 'Escape Book'
pause 4000
endif
if weight > maxweight
cast 'bless' 'self'
endif
endwhile
if diffhits 'pet1' > diffhits 'pet2'
if inrange 'pet1' 1
bandage
autotargetobject 'pet1'
pause 6100
endif
else
if inrange 'pet2' 1
bandage
autotargetobject 'pet2'
pause 6100
endif
endif
if not @injournal 'finish' 'system'
pause 1100
replay
else if @injournal 'finish' 'system'
@clearjournal
replay
elseif @injournal 'too far away' 'system'
@clearjournal
replay
elseif @injournal 'stay close enough' 'system'
@clearjournal
replay
endif
getenemy 'murderer' 'criminal' 'humanoid' 'closest'
if @inrange 'enemy' '15'
cast 'recall'
autotargetobject 'Escape Book'
pause 4000
endif
if mana > 25
while weight >= maxweight
cast 'bless'
autotargetself!
pause 1500
endwhile
endif
 
Top