Auto Animal Lore Scanner by myrkul8303

Description: I was given this script as a gift, but after returning from a long break, this no longer works on the newest mobs in Wildlands. If anyone can help add those tamables into the script, I'd be very grateful (as would the community).

1# An - Alpha Script - !
2# Make a cooldown called 'Animal Lore' in Paperdoll Options -> Cooldowns.
3if not timerexists AnimalLoreTimer
4    createtimer AnimalLoreTimer
5    settimer AnimalLoreTimer 2200
6endif
7if not listexists rangefinderAnimal
8    createlist rangefinderAnimal
9    pushlist rangefinderAnimal 2
10    pushlist rangefinderAnimal 3
11    pushlist rangefinderAnimal 4
12    pushlist rangefinderAnimal 5
13    pushlist rangefinderAnimal 6
14    pushlist rangefinderAnimal 7
15    pushlist rangefinderAnimal 8
16    pushlist rangefinderAnimal 9
17    pushlist rangefinderAnimal 10
18    pushlist rangefinderAnimal 11
19    pushlist rangefinderAnimal 12
20endif
21if insysmsg 'You cannot see that from here' or insysmsg 'You must wait a few moments before using another skill'
22endif
23gumpclose 3280914284
24if findtype 213|317|385|21|727|74|732|776|39|215|717|51|716|12|60|787|58|715|738|1419|1504|99|211|214|736|204|29|226|59|61|730|393|48|1069|287|169|373|734|173|92|80|98|388|287|302|720|392|386|795|315|210|718|104|251|34|374|720|225|219|244|218|11|81|387|28|212|729|141|206|293|843|202|789|832|21|270|242|739|1503|371|788|737|62|733 ground any any 12
25    foreach range in rangefinderAnimal
26        while findtype 213|317|385|21|727|74|732|776|39|215|717|51|716|12|60|787|58|715|738|1419|1504|99|211|214|736|204|29|226|59|61|730|393|48|1069|287|169|373|734|173|92|80|98|388|287|302|720|392|386|795|315|210|718|104|251|34|374|720|225|219|244|218|11|81|387|28|212|729|141|206|293|843|202|789|832|21|270|242|739|1503|371|788|737|62|733 ground any any range as animalCheck
27            if noto animalCheck = hostile or noto animalCheck = criminal
28                if lastCheckedAnimal = animalCheck
29                    @ignore animalCheck
30                    @unsetvar lastCheckedAnimal
31                else
32                    getlabel animalCheck label
33                    while gumpexists 3280914284
34                        wait 50
35                    endwhile
36                    while timer AnimalLoreTimer < 2050
37                        wait 50
38                    endwhile
39                    overhead label 91 animalCheck
40                    menu animalCheck 0
41                    waitforgump 3280914284 250
42                    if gumpexists 3280914284
43                        overhead '[▼ ↓ ▼]'2884 animalCheck
44                        cooldown 'Animal Lore' 2050
45                        settimer AnimalLoreTimer 0
46                        @ignore animalCheck
47                        @setvar! lastCheckedAnimal animalCheck
48                    elseif insysmsg 'You cannot see that from here'
49                        overhead '▷▷ LINE OF SIGHT ◁◁ ' 2760 animalCheck
50                        @ignore animalCheck
51                    elseif insysmsg 'You must wait a few moments before using another skill'
52                        overhead '▷▷ SKILL ON CD ◁◁ ' 2760 animalCheck
53                        wait 500
54                    endif
55                endif
56            else
57                @ignore animalCheck
58            endif
59        endwhile
60    endfor
61endif
62while findtype 213|317|385|21|727|74|732|776|39|215|717|51|716|12|60|787|58|715|738|1419|1504|99|211|214|736|204|29|226|59|61|730|393|48|1069|287|169|373|734|173|92|80|98|388|287|302|720|392|386|795|315|210|718|104|251|34|374|720|225|219|244|218|11|81|387|28|212|729|141|206|293|843|202|789|832|21|270|242|739|1503|371|788|737|62|733 ground any any any as animalCheck
63    if noto animalCheck = hostile or noto animalCheck = criminal
64        overhead '▷▷ OUT OF RANGE ◁◁ ' 1680 animalCheck
65    endif
66    @ignore animalCheck
67endwhile
68@clearignore 
69overhead '◆◆ CHECK DONE ◆◆' 2884