CombatBegging
Begging with target lock.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/8754fd75-01c9-4263-a3d9-00deb6aac0dd for latest2# Automation by Jaseowns3## Script: Begging with target lock4## Created by: Brozan (Syal)#45235#############################################6 7clearsysmsg8 9#Make sure list exists10createlist 'IgnoreNPC'11 12 13unsetvar 'daggerlyDagger'14#set up dagger variable15if findtype 3922 'backpack' as 'mydagger'16 overhead 'Dagger Set'17 @setvar 'daggerlyDagger' 'mydagger'18else 19 overhead 'No dagger found in pack, need one'20 stop21endif 22 23while not dead 24 hotkey 'Next Humanoid Target'25 wait 25026 @setvar! 'lastserial' lasttarget27 if noto 'lastserial' = innocent 28 pushlist 'IgnoreNPC' 'lastserial'29 elseif noto 'lastserial' = invulnerable and not inlist 'IgnoreNPC' 'lastserial'30 #found a target now dagger31 dclick 'daggerlyDagger'32 wft 150033 target 'lastserial'34 #Pause so sysmsg can populate35 wait 35036 while not insysmsg 'use a bladed item on that'37 #Lock target, wait til we're closer38 dclick 'daggerlyDagger'39 wft 150040 target 'lastserial'41 #Pause so sysmsg can populate42 wait 35043 endwhile44 45 # Close to NPC46 hotkey 'Begging'47 wft 180048 target 'lastserial'49 wait 50050 while insysmsg "must wait"51 wait 35052 hotkey 'Begging'53 wft 180054 target 'lastserial'55 wait 35056 endwhile57 pushlist 'IgnoreNPC' 'lastserial'58 endif59endwhile