Main Script
Thieving
Gaming Sagelys Thief Helper.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/e64b50d6-c007-44b9-aff7-f0717ed432a8 for latest2# Automation by Jaseowns3## Script: Gaming Sagely's Thief Helper4## Created by: sunyata0508#05#############################################6 7#Main Script8 9clearsysmsg10 11if not timerexists "healpot"12 createtimer "healpot"13 settimer "healpot" 1100014endif15if not timerexists "bandage"16 createtimer "bandage"17 settimer "bandage" 1000018endif19if not timerexists "warning"20 createtimer "warning"21 settimer "warning" 3100022endif23if not timerexists "curepot"24 createtimer "curepot"25 settimer "curepot" 1100026endif27 28if not timerexists "buffPot"29 createtimer "buffPot"30 settimer "buffPot" 600031endif32 33 @setvar! checkStr 134 @setvar! checkDex 135 @setvar! checkMagic 136 @setvar! needStrBuff 037 @setvar! needDexBuff 038 @setvar! needMagicBuff 039 40while not dead41 42 if hidden43 continue44 endif45 46 if poisoned and timer 'curepot' > 1100047 if findtype "Orange Potion" backpack as pot48 overhead "Cure Potion"49 dclick pot50 wait 20051 settimer 'curepot' 052 endif53 endif54 55 if poisoned or hp < maxhits56 if targetexists57 continue58 endif59 if timer 'bandage' > 1025060 hotkey 'Use Bandage (No Timer)'61 wft 20062 hotkey 'Target Self'63 endif64 endif65 66 if insysmsg 'You begin applying the bandages'67 settimer 'bandage' 068 endif69 70 if not findtype 'Yellow Potion' backpack and timer 'warning' > 3000071 overhead 'No heal pots!' 3472 wait 20073 settimer 'warning' 074 endif75 76 if hp < 60 77 if findtype "Yellow Potion" backpack as pot78 if timer "healpot" > 1100079 overhead 'Drinking heal!'80 wait 20081 dclick pot82 wait 20083 settimer "healpot" 084 endif85 endif86 endif87 88 if stam < 5089 if findtype "Red Potion" backpack as pot90 overhead 'Stam Pot'91 wait 20092 dclick pot93 wait 20094 endif95 endif96 97 if timer "buffPot" > 6000 98 99 if checkStr = 1 and not findbuff "Strength"100 @setvar! needStrBuff 1101 endif102 103 if checkDex = 1 and not findbuff "Agility"104 @setvar! needDexBuff 1 105 endif106 107 if checkMagic = 1 and not findbuff "Magic Resist Potion"108 @setvar! needMagicBuff 1109 endif110 111 112 if needStrBuff = 1 and not findtype "White Potion" self113 overhead "No white potions!" 34114 @setvar! needStrBuff 0115 endif116 117 if needDexBuff = 1 and not findtype "Blue Potion" self118 overhead "No blue potions!" 34119 @setvar! needDexBuff 0120 endif121 122 if needMagicBuff = 1 and not findtype "Black Potion" self123 @setvar! needMagicBuff 0124 overhead "No black potions!" 34125 endif126 127 if needStrBuff = 1 or needDexBuff = 1 or needMagicBuff = 1128 129 if needStrBuff = 1130 if findtype "White Potion" self as jotion131 overhead "White"132 dclick jotion133 wait 650134 else135 overhead "No STR potion found!" 34136 endif137 @setvar! needStrBuff 0138 endif139 140 if needDexBuff = 1141 if findtype "Blue Potion" self as jotion142 overhead "Blue"143 dclick jotion144 wait 650145 else146 overhead "No AGI potion found!" 34147 endif148 @setvar! needDexBuff 0149 endif150 151 if needMagicBuff = 1152 if findtype "Black Potion" self as jotion153 overhead "Black"154 dclick jotion155 wait 650156 else157 overhead "No MR potion found!" 34158 endif159 @setvar! needMagicBuff 0160 endif161 162 endif163 164 settimer 'buffPot' 0165 166 endif167 168 169wait 100170endwhile