Original: Jaseowns Modified: Demlar UO Outlands - https://youtu.be/jTU_pORdan4 Version 1.2 Cleaned up setvars Added Alerts and recall
HidingTracking
Simple Logging Script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0f9cbe3e-620d-4a2a-b27b-5658ed9fb403 for latest2# Automation by Jaseowns3## Script: Simple Logging Script4## Created by: demlar#05#############################################6 7// Original: Jaseowns8// Modified: Demlar9// UO Outlands - https://youtu.be/jTU_pORdan410#Version 1.211#Cleaned up setvars 12# Added Alerts and recall13 14@setvar! minimumWaitForPing 20015 16while not dead17 if lhandempty18 if findtype 'hatchet' backpack19 dclicktype 'hatchet' backpack20 wait 20021 else22 overhead 'Time to buy more hatchets' 8823 stop24 endif25 endif26 27 // capture world saving outside the loop28 if insysmsg 'world is saving'29 for 3030 overhead 'Waiting for world save...'31 wait 100032 if insysmsg 'save complete'33 overhead 'Save complete - continue on!' 8834 replay35 endif36 endfor37 endif38 39 40 if not varexist jackr_runebook or not find jackr_runebook backpack41 if counttype "runebook" backpack = 1 and counttype "runetome" backpack = 0 and findtype "runebook" backpack as myBook42 overhead "Automatically selected your one runebook" 8843 @setvar jackr_runebook myBook44 elseif counttype "runebook" backpack = 0 and counttype "runetome" backpack = 1 and findtype "runetome" backpack as myBook45 overhead "Automatically selected your one runetome" 8846 @setvar jackr_runebook myBook47 elseif counttype 7956 backpack = 1 and findtype 7956 backpack as myBook48 overhead "Automatically selected your one rune" 8849 @setvar jackr_runebook myBook50 elseif counttype "runebook" backpack > 0 or counttype 7956 backpack > 0 or counttype "runetome" backpack > 051 overhead "Select your escape plan (runebook or runetome)" 8852 @setvar jackr_runebook 53 endif54 endif 55 56 if not listexists "alerts"57 createlist "alerts"58 endif59 60 61 if inlist "alerts" "red_alert"62 overhead "Red Alert!" 3463 poplist "alerts" "red_alert"64 # You could also replace this magery bit with your ultimate recaller65 # Ultimate Recall using Tome or Book as Escape (ALT-M)66 # https://outlands.uorazorscripts.com/script/5b3fde97-fa90-4707-9f8e-7f56dca6792b67 # hotkey "Play Script: UltimaRecaller"68 if skill "Magery" >= 4069 overhead 'Recalling...'70 while not targetexists71 if findtype 8012 backpack as item72 dclick item73 else74 cast "Recall"75 endif76 wait minimumWaitForPing77 if insysmsg "You do not have that spell!"78 overhead "We cannot recall!" 3479 break80 endif81 endwhile82 target jackr_runebook83 elseif skill "Hiding" >= 4084 useskill "Hiding"85 endif86 overhead "Stopping script..." 3487 stop88 # replay89 endif 90 91 92 93 if skill "Tracking" > 094 if not findbuff "tracking"95 while not gumpexists 426746765996 useskill 'tracking'97 wait 20098 endwhile99 if gumpexists 4267467659100 while not insysmsg "You will now hunt all hostile players."101 gumpresponse 8 4267467659102 waitforgump 4267467659 5000103 endwhile104 gumpresponse 6 4267467659105 wait 200106 endif107 gumpclose 4267467659108 endif109 endif 110 111 if not targetexists 112 hotkey "Use item in hand"113 wft 500114 endif115 116 if targetexists 117 hotkey "Target Self"118 endif119 120 for 20121 wait 750122 if insysmsg "now tracking"123 pushlist "alerts" "red_alert"124 replay125 endif126 if insysmsg 'You do not see any'127 break128 endif129 if insysmsg 'That must be equipped for'130 break131 endif132 if insysmsg 'You hack at' or insysmsg 'You chop some'133 break134 endif135 // capture world saving inside the loop136 if insysmsg 'world is saving'137 for 30138 overhead 'Waiting for world save...'139 wait 1000140 if insysmsg 'save complete'141 overhead 'Save complete - continue on!' 88142 replay143 endif144 endfor145 endif146 endfor 147endwhile