Created: 08/12/2023, 01:21:53 AM Updated: 01/13/2024, 11:13:46 PM View Change History
1
2
3
4
5if not varexist myPatrolPet
6 @setvar! myPatrolPet 0
7endif
8
9if find myPatrolPet ground -1 -1 10
10
11elseif find earthOne ground -1 -1 10
12 @setvar! myPatrolPet earthOne
13elseif find earthTwo ground -1 -1 10
14 @setvar! myPatrolPet earthTwo
15elseif find fireOne ground -1 -1 10
16 @setvar! myPatrolPet fireOne
17elseif find fireTwo ground -1 -1 10
18 @setvar! myPatrolPet fireTwo
19elseif find demonOne ground -1 -1 10
20 @setvar! myPatrolPet demonOne
21elseif find demonTwo ground -1 -1 10
22 @setvar! myPatrolPet demonTwo
23elseif find airOne ground -1 -1 10
24 @setvar! myPatrolPet airOne
25elseif find airTwo ground -1 -1 10
26 @setvar! myPatrolPet airTwo
27elseif find waterOne ground -1 -1 10
28 @setvar! myPatrolPet waterOne
29elseif find waterTwo ground -1 -1 10
30 @setvar! myPatrolPet waterTwo
31else
32 @setvar! myPatrolPet 0
33 overhead "We do not know which pet to choose" 34
34endif
35
36if myPatrolPet = 0
37
38else
39 menu myPatrolPet 2
40 wft 500
41
42 while targetexists
43 wait 50
44 endwhile
45endif
46
47hotkey "Play script: Mage\MageBot"