Auto-Begger by Brozan (Syal)
Description: Cycles through all humanoid types and attempts to beg if a target is found in range. Utilizes an ignore list to avoid cycling same targets
1clearsysmsg
2createlist 'IgnoreNPC'
3while not dead
4 hotkey 'Next Humanoid Target'
5 wait 250
6 @setvar! 'lastserial' lasttarget
7 if noto 'lastserial' = innocent
8 pushlist 'IgnoreNPC' 'lastserial'
9 elseif noto 'lastserial' = invulnerable and not inlist 'IgnoreNPC' 'lastserial'
10 #if not findlayer lasttarget backpack
11 if findtype 3922 'backpack' as 'mydagger'
12 getlabel 'mydagger' 'daggerlabel'
13 if 'blessed' in 'daggerlabel'
14 dclick 'mydagger'
15 wft 1500
16 target 'lastserial'
17 wait 350
18 endif
19 endif
20
21 if insysmsg 'use a bladed item on that'
22 # Close to NPC
23 hotkey 'Begging'
24 wft 1800
25 target 'lastserial'
26 wait 2500
27 while insysmsg "must wait"
28 wait 350
29 hotkey 'Begging'
30 wft 1800
31 target 'lastserial'
32 wait 350
33 endwhile
34 pushlist 'IgnoreNPC' 'lastserial'
35 endif
36 #endif
37 endif
38endwhile