Description: Just a simple base, can add pots and all that once get more involved. Works in Exile, may have issues with nearby grey pets or other non friendlys so change as needed.
# UO Unchained
# Bandage Loop and Auto Attack Non-Friendly (War Mode Only)
// Initialize timers
if not timerexists simple_BandaidTimer
settimer simple_BandaidTimer 10000
endif
if not timerexists checkTargetTimer
settimer checkTargetTimer 5000
endif
while not dead
// --------------------
// Bandage Self Loop
// --------------------
if timer simple_BandaidTimer >= 10000
if hp < 90
hotkey "Bandage Self" // Must be bound to bandage self hotkey
wait 200
if insysmsg "You begin applying the bandages."
settimer simple_BandaidTimer 0
endif
endif
endif
if insysmsg "You finish applying" or insysmsg "You heal what little" or insysmsg "barely help"
settimer simple_BandaidTimer 10000
endif
// --------------------
// Target and Attack Nearest Non-Friendly (Only in War Mode)
// --------------------
if warmode
if timer checkTargetTimer >= 200
settimer checkTargetTimer 0
hotkey "Target closest non-friendly"
wait 200
if insysmsg "no one found"
// do nothing
else
attack lasttarget
endif
endif
endif
wait 50
endwhile
Original Version Saved - 8/17/2025, 8:03:17 AM - 1 day ago
Bandage Loop and Auto Attack Non-Friendly (War Mode Only)
No changes to display