Pet HP Check Heal by carl_os
Related: AnimalTaming
Description: Will heal whatever pet shows up in the lore page.
At the moment you must manually add your pet names with their own clauses.
This script best works with the Pet HP Check Loop - https://outlands.uorazorscripts.com/script/42220f54-24df-4f84-a11b-c5035e2757b6
1unsetvar healTarget
2
3// Find our pet names
4if gumpexists 3280914284
5 // TODO - Manually add unique pet names with new clauses
6 if ingump 'Chonky' 3280914284
7 if findtype 'Chonky' ground -1 -1 12 as petFound
8 setvar healTarget petFound
9 endif
10 elseif ingump 'Rowch' 3280914284
11 if findtype 'Rowch' ground -1 -1 12 as petFound
12 setvar healTarget petFound
13 endif
14 endif
15
16 // Do the heal
17 if varexist healTarget and noto healTarget = "friend"
18 hotkey 'Greater Heal'
19 wft 2000
20 target healTarget
21 endif
22else
23 overhead 'Need Lore page' 38
24endif
25
26//script 'PetHpCheckLoop'