BowTamerBot by rorocd_07480

Created: 12/04/2026
Last Updated: about 8 hours ago
Description from the author:

```

BowTamerBot — UO Outlands Razor PVM Script

Author: roro

Description

BowTamerBot is a PVM‑focused Razor assistant script for BowTamer build in UO Outlands.

It integrates pet command control, automatic Codex stance switching, potion buffs, self‑healing,

veterinary supply cycling, inventory organization, overweight item dropping and auto‑combat target selection.

All feature toggles and thresholds are configurable via header variables. No need to edit core logic.

The script runs in a main loop; upon player death it waits for resurrection gump and resumes after respawn.

Features

- Self‑Survival

Self‑heal with bandages / veterinary supplies; emergency heal‑potion consumption on low HP.

Auto‑cure poison, bleed and disease. Potion‑codex‑assisted debuff removal for hinder / entangle.

Auto‑buff: Strength, Agility, Magic Resist, Refresh potions in war mode.

Auto‑use pouch when paralyzed; warning when pouch runs out. Consume food to maintain food buff.

- Codex Auto‑Management

*Shield Codex*: Switches to defensive stances under debuffs; maintains configured default stance & finisher.

*Archery Codex*: Switches to Fowling stance at low health; keeps user‑defined stance / finisher.

Supports timed weapon ability auto‑cast. Disables ability automatically if not unlocked.

*Potion Codex*: Toggle auto‑panacea for bleed/disease; toggle freedom potion for hinder/entangle.

- Pet Handling

Pet command modes: All Kill / All Patrol. Sends "All Follow Me" + "All Guard Me" when no hostile targets nearby.

Periodically uses veterinary supplies from backpack.

- Combat & Targeting (War Mode only)

Picks nearest non‑friendly monster. Ignores player tamed pets and battle trainers.

Validates line‑of‑sight, skips unreachable targets. Configurable attack range.

Auto‑attack when in range with overhead attack hint.

Auto‑unequip left‑hand bow when red‑notoriety player detected to avoid accidental PVP retaliation.

- Forensic Evaluation Skinning

Toggleable auto‑skin corpses, requires Elven Spellblade in backpack.

- Inventory & Weight Management

Periodically opens reagent satchel, alchemists satchel, quiver and time bag for auto‑organize.

Overhead warning when backpack item count is near limit.

Auto‑drop gold and reagents on overweight; configurable drop quantity per trigger.

- Mastery Chain & Server Events

Checks and activates Tamer mastery chain on script start.

Detects world‑save messages and pauses risky operations during server saving.

- Status Notifications

Overhead warnings for missing potions / bandages / pouches, full backpack, stationary penalty and red‑player encounter.

Anti‑spam cooldown for overhead messages.

Configuration

Adjust variables at the top of script (@setvar!) to tune behaviour, no core‑code modification required.

Variable Default Description

-------------------------------------------------------------------------------------------------------------

minimumWaitForPing 350 General wait delay in milliseconds

PreventOverheadSpamCD 3000 Anti‑spam cooldown for overhead messages (ms)

ohCrapDrinkAHealthPotHpCheck 50 HP‑delta threshold to emergency‑drink health potion

PanaceaPotion 1 1=Enable / 0=Disable auto panacea for bleed & disease (Potion Codex)

FreedomPotion 0 1=Enable / 0=Disable auto freedom potion for hinder & entangle

StrBuffPotion 1 Toggle auto Strength potion buff

AgiBuffPotion 1 Toggle auto Agility potion buff

MRBuffPotion 1 Toggle auto Magic Resist potion buff

RefreshPotion 1 Toggle auto Refresh potion drinking

stamDiffRedPotion 10 Stamina deficit threshold to trigger refresh potion

ParryCodexDefaultStance 4 Shield Codex default stance: 1:ShieldBash,2:Warding,3:Testudo,4:Mirror,5:Bulwark

ParryCodexDefaultFinisher 1 Shield Codex default finisher: 1:Last Stand,2:Barrier

ArcheryCodexDefaultStance 1 Archery Codex default stance:1:Arcane,2:Fowling,3:Incendiary,4:Longshot,5:Maiming

ArcheryCodexDefaultFinisher 2 Archery Codex default finisher:1:Ricochet,2:Pincushion

DefaultCodexAbility 1 Weapon ability 0=Off,1=Skirmish,2=Full Draw,3=Repeater

AbilityTimerCD 60500 Cooldown interval for weapon‑ability auto‑cast (ms)

VetCheckTimerCd 5500 Cycle interval for veterinary‑supply usage (ms)

PetCmdMode 2 Pet command mode 0=Off,1=All Kill,2=All Patrol

PetGuard 1 Send "All Follow Me / All Guard Me" when zero hostile targets

SearchRange 12 Hostile‑monster search radius in tiles

charAttackRange 8 Attack‑range in tiles: use 10 for bow, 8 for cross‑bow / great bow

CharAutoAttack 1 1=Enable auto‑attack, 0=Disable auto‑attack

DropWeaponWhenMeetRed 1 Auto‑unequip left‑hand bow when red‑notoriety player found

SkinCorpse 0 1=Enable auto‑skin corpses,0=Disable. Requires Elven Spellblade.

SkinTimerCD 3000 Corpse‑skin cycle cooldown (ms)

DropGold 1 Auto‑drop gold when overweight

DropGoldMount 1000 Gold quantity dropped each overweight trigger

DropReagent 1 Auto‑drop reagents when overweight

DropReagentMount 1000 Reagent stack quantity dropped each overweight trigger

OpenCodexHotbar 1 Trigger [CodexHotbar command on script startup

KillTimerCD 100 Minimum loop interval for combat logic (ms)

OrgTimerCD 60000 Interval for auto‑open satchels / bags organize (ms)

tamerChain 0x56FD6CA3 Serial of your Tamer mastery‑chain item, update to your own serial

```

# Bow tamer bot (by roro,WIP) # for UO Outlands # Last Edited, 2026-12-04 ######################################## ## Vetrinary Supplies Healing ## Potion Buff ## Shield Codex ## Archery Codex ## Potion Codex ## WeaponAbility ## MasteryChain Active Check ## Pet Attack Control ## Targeting (Warmode) ## Organizer ## Drop gold coin when overweight ########### @setvar! minimumWaitForPing 350 ########### # OverHeadSpam ##### @setvar! PreventOverheadSpamCD 3000 if not timerexists preventOverheadSpamTimer createtimer preventOverheadSpamTimer endif settimer preventOverheadSpamTimer PreventOverheadSpamCD ########### # Set the lowest HP to drink heal potion ##### @setvar! ohCrapDrinkAHealthPotHpCheck 50 ########### # LootBag is a red pouch which contain all valueable item. # valueable item will set in the organize 10 by default. # the organizer triggered by hotkey. ##### @setvar! UsingLootBag 1 if not varexist myLootBag @setvar myLootBag 0 endif if UsingLootBag = 1 if find myLootBag backpack overhead "myLootbag already set." 74 else if findtype 3705 backpack 38 as rlootbag organizer 10 'set' wft 1000 target rlootbag @setvar myLootBag rlootbag overhead "myLootbag set done." 74 myLootBag else overhead "No red pouch! myLootBag set failed!!" 33 endif endif endif ############### ###### Vetrinary Supply Timer ############ @setvar! VetCheckTimerCd 5500 if not timerexists VetCheckTimer createtimer VetCheckTimer endif settimer VetCheckTimer VetCheckTimerCd ################################ ###### Open Codex Gump ################ @setvar! OpenCodexHotbar 1 if OpenCodexHotbar = 1 and not gumpexists 2016719803 while not gumpexists 1066647553 overhead "Loading codex hotbar..." 74 say "[CodexHotbar" getlabel backpack PingCheck if gumpexists 2016719803 break endif endwhile endif if name = "Haircules" overhead "Dress Cloth..." 74 @hotkey "dress: cloth" overhead "Dress LeatherArmor..." 74 @hotkey "dress: leatherArmor" overhead "Dress AuxGear..." 74 @hotkey "dress: auxgear" if varexist leftEquipt and leftEquipt != 0 if find leftEquipt backpack overhead 'Weapon equipting... ' 74 dclick leftEquipt overhead 'Equipt done.' getlabel backpack PingCheck endif endif endif ############### ###### Parrying Codex ############ ### Parry Stance # ShieldStance. 1: ShieldBash, 2:Warding, 3:Testudo, 4:Mirror, 5:Bulwark @setvar! ParryCodexDefaultStance 4 ### Parry Finisher # ShieldFinisher. 1: Last Stand, 2:Barrier @setvar! ParryCodexDefaultFinisher 1 ############### ###### Archery Codex ############ ### Archery Stance # BowStance. 1:Arcane, 2:Fowling, 3:Incendiary, 4:Longshot, 5:Maiming @setvar! ArcheryCodexDefaultStance 1 ### Archery Finisher # BowFinisher. 1:Ricochet, 2: Pincushion @setvar! ArcheryCodexDefaultFinisher 2 ### Weapon Ability ## Archery Weapon Ability. 0.Disabled, 1. Skirmish, 2.Full Draw, 3.Repeater @setvar! DefaultCodexAbility 1 ### Weapon Ability Timer @setvar! AbilityTimerCD 60500 if not timerexists AbilityTimer createtimer AbilityTimer endif settimer AbilityTimer AbilityTimerCD ############### ###### Potion Codex ############ # Will automatically consume Cure Potion if Bleeding or Diseased @setvar! PanaceaPotion 1 # Will automatically consume Total Refresh Potion if Hinder or Entangle @setvar! FreedomPotion 1 ############### ###### Potion Buff ############ @setvar! StrBuffPotion 1 @setvar! AgiBuffPotion 1 @setvar! MRBuffPotion 1 @setvar! RefreshPotion 1 @setvar! stamDiffRedPotion 10 ############### ###### SkinCorpse ############ # 0: Dont Skin, 1: Auto Skin @setvar! SkinCorpse 0 @setvar! SkinTimerCD 3000 if not timerexists SkinTimer createtimer SkinTimer endif settimer SkinTimer SkinTimerCD ############### ###### Targeting Variables ############ # Razor default Lasttarget check range is 12 tiles. @setvar! SearchRange 12 # Bows : 10 tiles # Crossbows and great bow :8 tiles @setvar! charAttackRange 8 @setvar! CharAutoAttack 1 ############### ###### Pet Attack ############ #0.disabled, 1. all kill, 2. all patrol @setvar! PetCmdMode 2 # say all guard me when not found monster @setvar! PetGuard 1 ############### #### Kill Timer ############ @setvar! KillTimerCD 100 if not timerexists KillTimer createtimer KillTimer endif settimer KillTimer KillTimerCD ############### #### Ignore Overhead List ############ if listexists IgnoreOverheadShown clearlist IgnoreOverheadShown else createlist IgnoreOverheadShown endif ############### ###### Drop item when overweight ############ @setvar! DropGold 1 @setvar! DropGoldMount 1000 @setvar! DropReagent 1 @setvar! DropReagentMount 1000 ############### ###### Check Chain for Tamer ############ #Boat chain 0x416DE18E @setvar! tamerChain 0x56FD6CA3 getlabel tamerChain chainlabel if "active" in chainlabel overhead "TAMER Chain actived!" 93 else overhead "Activing TAMER chain..." 74 menu tamerChain 0 getlabel backpack PingCheck endif ############### ### Set global variable : leftEquipt / rightEquipt #### @setvar! DropWeaponWhenMeetRed 1 #leftHand hold : shield and 2H weapons(like bow...) @setvar leftEquipt 0 if findlayer self lefthand as item @setvar leftEquipt item getlabel leftEquipt handDesc overhead 'Left Hand :' 93 overhead handDesc 93 endif #rightHand hold CrossBow @setvar rightEquipt 0 if findlayer self righthand as item @setvar rightEquipt item getlabel rightEquipt handDesc overhead 'Right Hand :' 93 overhead handDesc 93 endif ############### #### Organizer Timer ############ @setvar! OrgTimerCD 60000 if not timerexists OrgTimer createtimer OrgTimer endif settimer OrgTimer OrgTimerCD ############################################################## ##################### Script Start ########################### ############################################################## clearignore while not dead ############### ### Quest Item: magic effect ############# if findtype 61680|5358|6174|22328|4236|4238|4080|4081|4082 ground -1 -1 12 as person if timer preventOverheadSpamTimer >= PreventOverheadSpamCD overhead "● ▼▼ HERE ▼▼ ●" 11 person settimer preventOverheadSpamTimer 0 endif endif ############### ### Drop weapon when meet red ############# if DropWeaponWhenMeetRed = 1 and findlayer self lefthand as lhitem clearsysmsg @hotkey "Next Murderer Player Target" getlabel backpack pingCheck if insysmsg "No one matching that was found" // nothing to do else @hotkey "Undress Left Hand" overhead 'Red Found, Weapon Dropped!' 33 getlabel backpack pingCheck endif endif //Auto Pouch if paralyzed if not varexist NoPouchWarn @setvar! NoPouchWarn 0 endif if findtype "pouch" backpack 38 say "[pouch" getlabel backpack pingCheck else if NoPouchWarn = 0 overhead "Out of Pouches!" 55 @setvar! NoPouchWarn 1 endif endif endif ############### ### Self Healing and Cure ############# if hp < maxhp if not bandaging if not varexist NoVetAidWarn @setvar! NoVetAidWarn 0 endif if findtype "veterinary supplies" backpack as vet dclick vet getlabel backpack pingCheck elseif findtype "clean bandage%s%" backpack @hotkey "Bandage Self" getlabel backpack pingCheck else if NoVetAidWarn = 0 overhead "No Vet or Aid,Cant Heal !!" 55 @setvar! NoVetAidWarn 1 endif endif endif if diffhits >= ohCrapDrinkAHealthPotHpCheck if not varexist NoHealPotionWarn @setvar! NoHealPotionWarn 0 endif if findtype "3852" self overhead "chug heal potion" @hotkey "Drink Heal" getlabel backpack PingCheck else if NoHealPotionWarn = 0 overhead "No Heal Potion" 55 @setvar! NoHealPotionWarn 1 endif endif endif endif if poisoned if not varexist NoCurePotionWarn @setvar! NoCurePotionWarn 0 endif if findtype "3847" self overhead "chug cure potion(Poisoned)" 55 @hotkey "Drink Cure" getlabel backpack PingCheck else if NoCurePotionWarn = 0 overhead "NO Cure Potion(Poisoned)" 55 @setvar! NoCurePotionWarn 1 endif endif endif ############### ### Potion Codex Handler ############# if skill "Alchemy" >= 80 and findtype "potion codex" backpack if PanaceaPotion = 1 and not findbuff "Panacea Potion Cooldown" if findbuff "Bleed" or findbuff "Disease" if not varexist NoCurePotionWarn @setvar! NoCurePotionWarn 0 endif if findtype "Orange Potion" self overhead "Cure pot: Bleed/Disease...(Panacea)" 74 @hotkey "Drink Cure" getlabel backpack PingCheck else if NoCurePotionWarn = 0 overhead "NO Cure Potion(Panacea)" 55 @setvar! NoCurePotionWarn 1 endif endif endif endif if FreedomPotion = 1 and not findbuff "Freedom Potion Cooldown" if findbuff "Hinder" or findbuff "Entangle" if not varexist NoRefreshPotionWarn @setvar! NoRefreshPotionWarn 0 endif if findtype "Red Potion" self overhead "Refresh Pot: Hinder/Entangle...(Freedom)" 74 @hotkey "Drink Refresh" getlabel backpack PingCheck else if NoRefreshPotionWarn = 0 overhead "NO Refresh Potion(Freedom)" 55 @setvar! NoRefreshPotionWarn 1 endif endif endif endif endif ############### ### Potions Buff ############# if warmode and hp < maxhp if StrBuffPotion = 1 and not findbuff "Strength" and not findbuff "Strength Potion Usage Cooldown" if not varexist NoStrPotionWarn @setvar! NoStrPotionWarn 0 endif if findtype "3849" self overhead "chug STR potion" @hotkey "Drink Strength" getlabel backpack PingCheck else if NoStrPotionWarn = 0 overhead "NO STR potion(Buff)" 55 @setvar! NoStrPotionWarn 1 endif endif endif if AgiBuffPotion = 1 and not findbuff "Agility" and not findbuff "Agility Potion Usage Cooldown" if not varexist NoAgiPotionWarn @setvar! NoAgiPotionWarn 0 endif if findtype "3848" self overhead "chug AGI potion" @hotkey "Drink Agility" getlabel backpack PingCheck else if NoAgiPotionWarn = 0 overhead "No AGI potion(Buff)" 55 @setvar! NoAgiPotionWarn 1 endif endif endif if MRBuffPotion = 1 and not findbuff "Magic Resist Potion" if not varexist NoMRPotionWarn @setvar! NoMRPotionWarn 0 endif if findtype "3846" self overhead "chug MR Potion" @hotkey "Drink Magic Resist" getlabel backpack PingCheck else if NoMRPotionWarn = 0 overhead "No MR Potion(Buff)" 55 @setvar! NoMRPotionWarn 1 endif endif endif if RefreshPotion = 1 and diffstam >= stamDiffRedPotion if not varexist NoRefreshPotionWarn @setvar! NoRefreshPotionWarn 0 endif if findtype "3851" self overhead "chug Refresh potion" @hotkey "Drink Refresh" getlabel backpack PingCheck else if NoRefreshPotionWarn = 1 overhead "No Refresh potion(Buff)" 55 @setvar! NoRefreshPotionWarn 1 endif endif endif endif ############### ### Food ############# if not findbuff "food" and findtype "tray" backpack as jood dclick jood getlabel backpack pingCheck endif ############# ### Shield CODEX ############# if skill "Parrying" >= 80 and findtype "shield codex" backpack as PryCdx getlabel PryCdx codexDesc if findbuff "bleed" or findbuff "disease" or poisoned if "Warding" in codexDesc // we good else say "[ShieldsStance2" getlabel backpack PingCheck endif if "Barrier" in codexDesc // we good else say "[ShieldsFinisher2" getlabel backpack PingCheck endif else # Switch to default shield stance # 1: ShieldBash, 2:Warding, 3:Testudo, 4:Mirror, 5:Bulwark if ParryCodexDefaultStance = 1 if "Shield Bash" in codexDesc // we good else say "[ShieldsStance1" getlabel backpack PingCheck endif endif if ParryCodexDefaultStance = 2 if "Warding" in codexDesc // we good else say "[ShieldsStance2" getlabel backpack PingCheck endif endif if ParryCodexDefaultStance = 3 if "Testudo" in codexDesc // we good else say "[ShieldsStance3" getlabel backpack PingCheck endif endif if ParryCodexDefaultStance = 4 if "Mirror" in codexDesc // else say "[ShieldsStance4" getlabel backpack PingCheck endif endif if ParryCodexDefaultStance = 5 if "Bulwark" in codexDesc // we good else say "[ShieldsStance5" getlabel backpack PingCheck endif endif # Switch to default shield finisher # ShieldFinisher. 1: Last Stand, 2:Barrier if ParryCodexDefaultFinisher = 1 if "Last Stand" in codexDesc // we good else say "[ShieldsFinisher1" getlabel backpack PingCheck endif endif if ParryCodexDefaultFinisher = 2 if "Barrier" in codexDesc // we good else say "[ShieldsFinisher2" getlabel backpack PingCheck endif endif endif endif ############# ### Archery CODEX ############# if skill "Archery" >= 80 and findtype "archery codex" backpack as AchyCdx getlabel AchyCdx codexDesc if diffhits >= ohCrapDrinkAHealthPotHpCheck if "Fowling" in codexDesc // we good else #overhead "Switch to BowStance : Fowling..." 88 say "[ArcheryAmmunition2" getlabel backpack PingCheck endif else # Switch to default bow stance # BowStance. 1:Arcane, 2:Fowling, 3:Incendiary, 4:Longshot, 5:Maiming if ArcheryCodexDefaultStance = 1 if "Arcane" in codexDesc // we good else say "[ArcheryAmmunition1" getlabel backpack PingCheck endif endif if ArcheryCodexDefaultStance = 2 if "Fowling" in codexDesc // we good else say "[ArcheryAmmunition2" getlabel backpack PingCheck endif endif if ArcheryCodexDefaultStance = 3 if "Incendiary" in codexDesc // we good else say "[ArcheryAmmunition3" getlabel backpack PingCheck endif endif if ArcheryCodexDefaultStance = 4 if "Longshot" in codexDesc // we good else say "[ArcheryAmmunition4" getlabel backpack PingCheck endif endif if ArcheryCodexDefaultStance = 5 if "Maiming" in codexDesc // we good else say "[ArcheryAmmunition5" getlabel backpack PingCheck endif endif # Switch to default bow finisher # BowFinisher. 1:Ricochet, 2: Pincushion if ArcheryCodexDefaultFinisher = 1 if "Ricochet" in codexDesc // we good else say "[ArcheryFinisher1" getlabel backpack PingCheck endif endif if ArcheryCodexDefaultFinisher = 2 if "Pincushion" in codexDesc // we good else say "[ArcheryFinisher2" getlabel backpack PingCheck endif endif endif endif ############### ### Pet Healing ############# if not bandaging and timer VetCheckTimer >= VetCheckTimerCd if findtype "veterinary supplies" backpack as vet #say "[VetSupplies" dclick vet settimer VetCheckTimer 0 getlabel backpack PingCheck endif endif ############### ### Skinning ############# if SkinCorpse = 1 and findtype "corpse" ground -1 -1 2 as jorpse if findtype "Elven Spellblade" backpack and timer SkinTimer >= SkinTimerCD if targetInSearchRange "beneficial" hotkey "Cancel Current Target" getlabel backpack PingCheck endif while not targetInSearchRange useskill "forensicevaluation" endwhile if targetInSearchRange hotkey "Target Self" getlabel backpack PingCheck settimer SkinTimer 0 @ignore jorpse endif endif endif ############### ### Save , to pause script ############# if insysmsg "The world will save in" say "Jaseowns says the world is ending soon..." 88 elseif insysmsg "The world is saving" settimer WorldSaveTimer 0 while not insysmsg "World save complete" sysmsg "The world is saving..." 88 if timer WorldSaveTimer >= 10000 break endif endwhile removetimer WorldSaveTimer say "The world has been saved!" 88 endif clearsysmsg ############### ### Find the Corpse stored myLootBag ############# if find LootCorpse ground -1 -1 12 if timer preventOverheadSpamTimer >= PreventOverheadSpamCD overhead "● ▼▼ lootCorpse ▼▼ ●" 11 LootCorpse settimer preventOverheadSpamTimer 0 endif endif ############### ### Organizer ############# if timer OrgTimer >= OrgTimerCD if findtype "reagent satchel" self as RegSatchel menu RegSatchel 0 getlabel backpack PingCheck endif if findtype "alchemists satchel" self as Potsatchel menu Potsatchel 0 getlabel backpack PingCheck endif if findtype "quiver" self as jquiver menu jquiver 0 getlabel backpack PingCheck endif if findtype "Time bag" self as Tmbag menu Tmbag 0 getlabel backpack PingCheck endif settimer OrgTimer 0 endif ############### ### Backpack Item Count Check ############# getlabel backpack itemCount if "(120/" in itemCount or "(121/" in itemCount or "(122/" in itemCount or "(123/" in itemCount or "(124/" in itemCount or "(125/" in itemCount if timer preventOverheadSpamTimer >= PreventOverheadSpamCD overhead "Too many items in backpack!! Stop Loot!!" 55 settimer preventOverheadSpamTimer 0 endif endif ############### ### Drop item when overweight ############# if weight > maxweight if DropGold = 1 if findtype "gold coin" backpack as item lift item DropGoldMount droprelloc 0 0 getlabel backpack PingCheck if insysmsg "cannot drop anything" drop self -1 -1 -1 getlabel backpack PingCheck endif else overhead 'No gold coin to drop ... ' 55 endif endif if DropReagent = 1 if findtype 3962|3963|3972|3973|3974|3976|3980|3981 backpack as item lift item DropReagentMount droprelloc 0 0 getlabel backpack PingCheck if insysmsg "cannot drop anything" drop self -1 -1 -1 getlabel backpack PingCheck endif else overhead 'No reagents to drop ... ' 55 endif endif endif ### For used CONTINUE, so make sure this part be the tail of main loop. ############### ### Targeting (based on warmode on) ############# if not varexist GuardMeSent @setvar! GuardMeSent 0 endif if not varexist petCmdSentTarget @setvar! petCmdSentTarget 0 endif if not varexist AtkHintSentTarget @setvar! AtkHintSentTarget 0 endif if warmode and timer KillTimer >= KillTimerCD # ValidTarget may killed by me or others if ValidTarget = 0 or dead ValidTarget settimer KillTimer 0 @setvar! toCheckTarget 0 @setvar! ValidTarget 0 @setvar! targetInSearchRange 0 @setvar! targetInAttackRange 0 @setvar! petCmdSentTarget 0 @setvar! AtkHintSentTarget 0 elseif noto ValidTarget = innocent or noto ValidTarget = friend settimer KillTimer 0 @setvar! toCheckTarget 0 @setvar! ValidTarget 0 @setvar! targetInSearchRange 0 @setvar! targetInAttackRange 0 @setvar! petCmdSentTarget 0 @setvar! AtkHintSentTarget 0 endif if ValidTarget = 0 # If no valid target, select one. clearsysmsg @hotkey "Target Closest Non-Friendly Monster" getlabel backpack PingCheck // No Monster In SearchRange if insysmsg "No one matching that was found" if PetGuard = 1 and GuardMeSent = 0 say "All Follow Me" 1582 getlabel backpack PingCheck say "All Guard Me" 1582 @setvar! GuardMeSent 1 endif continue // 1 Target selected else @setvar! GuardMeSent 0 @setvar! toCheckTarget lasttarget if inlist IgnoreOverheadShown toCheckTarget continue else @setvar! toCheckTarget lasttarget getlabel toCheckTarget mobDesc overhead mobDesc if "(summoned" in mobDesc or "(bonded" in mobDesc or "(tame" in mobDesc or "battle trainer" in mobDesc overhead "▼ PlayerPet or BattleTrainer - IGNORE ▼" 77 toCheckTarget pushlist IgnoreOverheadShown toCheckTarget //@ignore toCheckTarget @setvar! toCheckTarget 0 continue endif # Check : selected target is in LOS(Line of Sight) if targetexists hotkey "cancel current target" endif clearsysmsg if not cooldown "skill" useskill "armslore" elseif followers != 0 say "all patrol" 106 endif waitfortarget 1000 target toCheckTarget getlabel backpack PingCheck if insysmsg 'Target cannot be seen' @setvar! toCheckTarget 0 continue endif endif endif endif if findbuff "Stationary Penalty" overhead "Stationary Penalty - Move Around" endif # Got Valid target @setvar! ValidTarget toCheckTarget # check if in CheckRange if find ValidTarget ground -1 -1 SearchRange @setvar! targetInSearchRange 1 else @setvar! targetInSearchRange 0 endif if ValidTarget != 0 and not dead ValidTarget and targetInSearchRange = 1 and ValidTarget != petCmdSentTarget if targetexists hotkey "cancel current target" endif if PetCmdMode = 1 say "ALL KILL" 138 elseif PetCmdMode = 2 say "ALL PATROL" 128 endif waitfortarget 1000 target ValidTarget getlabel backpack PingCheck @setvar! petCmdSentTarget ValidTarget endif # Only Show hint when state changed. if find ValidTarget ground -1 -1 charAttackRange @setvar! targetInAttackRange 1 else @setvar! targetInAttackRange 0 endif if CharAutoAttack = 1 if ValidTarget != 0 and not dead ValidTarget and targetInAttackRange = 1 if timer preventOverheadSpamTimer >= PreventOverheadSpamCD and ValidTarget != AtkHintSentTarget overhead "▼▼ Attack ▼▼" 2118 ValidTarget @setvar! AtkHintSentTarget ValidTarget settimer preventOverheadSpamTimer 0 endif attack ValidTarget getlabel backpack PingCheck endif ############### ### Weapon Ability ############# if timer AbilityTimer > AbilityTimerCD clearsysmsg if DefaultCodexAbility = 1 say "[WeaponAbility1" elseif DefaultCodexAbility = 2 say "[WeaponAbility2" elseif DefaultCodexAbility = 3 say "[WeaponAbility3" endif getlabel backpack PingCheck if insysmsg "You cannot perform that ability yet." // wait elseif insysmsg "You have not yet unlocked that weapon ability." ## disable Weapon Ability @setvar! DefaultCodexAbility 0 else overhead "↑↑ WeaponAbility{{DefaultCodexAbility}} ↑↑" 64 settimer AbilityTimer 0 endif endif endif endif endwhile while dead overhead "Rip" 33 if gumpexists 2957810225 gumpresponse 1 2957810225 break endif wait 3000 endwhile replay

Quick Filters

Bard Quick SearchCrafter Quick SearchDexxer Quick SearchHarvester Quick SearchMage Quick SearchPVM Quick SearchPVP Quick SearchStealth Quick SearchTamer Quick Search