Skip to content
Outlands Hub

Razor script

Lifty Whats Left!

by throatslip · 330 lines
Download

!@#Lifty Whats Left!@# by InCeptor a snip from my Phoenix Protocol script kinda like lifty loot but with less loot sometimes we all get looted but still need to activate an aspect.... run once to set then again to equip like similar dress…

Combat
Lifty Whats Left.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ba73a47f-0631-4abf-a12e-4a96858da1aa for latest2# Automation by Jaseowns3## Script: Lifty Whats Left!4## Created by: throatslip#05#############################################6 7//!@#Lifty Whats Left!@# by InCeptor8//a snip from my Phoenix Protocol script 9//kinda like lifty loot but with less loot10//sometimes we all get looted but still need to activate an aspect.... 11//run once to set then again to equip like similar dress scripts12//this one differs:13//if some of your armor is stolen this will take into consideration if you meditate 14//then select a replacement from any loot trash gear left behind or found based on that 15//if you med it will try to find you some leather if not then studded then bone ect16//if you dont have med skill then it goes the other way searching for the heaviest armor class piece17//for replacement *note not intended to select and equip replacement gear left on your corpse strait to18//your equipslot you need to loot your body or some nearby corpses for replacement gear*  19//next version magic item and material consideration and item id if skill item id is greater than 15 or id wand is present 20      if findlayer self gloves = 021 22     while findlayer self gloves = 0 23     overhead index 24     if findlayer self gloves as item25        getlabel item igloves26        overhead "Set: {{igloves}}"27        @setvar! currentgloves item28        elseif varexist currentgloves and find currentgloves 29          getlabel currentgloves cgloves30          overhead "Wearing: {{cgloves}}"31          lift currentgloves 132          drop self gloves33          wait 65034        @setvar! currentgloves item35        endif36      37      if findlayer self gloves = 038        39        if skill meditation > 040        41        if findtype 30663|5070|5085|5205|5106|31015|5144 backpack as mediglove42            overhead 'I can meditate lemmie see if i can find some leather gloves?'   43            @setvar! currentgloves mediglove44            getlabel mediglove igloves45            overhead "Set: {{igloves}}"46 47            lift currentgloves 1 48          drop self gloves49            wait 65050            ignore mediglove51          else52            overhead 'your hands are bare, need gloves urgently'   53          endif54          55        elseif skill meditation = 056          57        if findtype 5144|31015|5106|5205|5085|5070|30663 backpack as noMedglove    58            @setvar! currentgloves noMedglove59            getlabel noMedglove igloves60            overhead "Set: {{igloves}}"    61        lift currentgloves 1 100062        drop self gloves63            wait 65064            ignore noMedglove        65        66           else67            overhead 'your hands are bare, need gloves urgently'68           endif 69           70        endif71        72     endif  73 74      endif75 endwhile  76 77 while findlayer self innertorso = 0 and index < 2 78 79  if findlayer self innertorso as item80    getlabel item iinnertorso 81    overhead "Set: {{iinnertorso}}"82    @setvar! currentinnertorso item83  else 84            if varexist currentinnertorso and find currentinnertorso 85                  getlabel currentinnertorso cinnertorso 86                  overhead "Wearing: {{cinnertorso}}"87                  lift currentinnertorso 188                  drop self innertorso 89                  wait 65090            elseif skill meditation > 091                          if findtype 31191|5075|7175|5090|5204|5101|5060|7173|5142 backpack as mediMedinnertorso92                                 overhead 'I can meditate lemmie see if i can find a leather innertorso ?'   93                                 @setvar! currentinnertorso mediMedinnertorso94                                 getlabel item currentinnertorso 95                                 lift currentinnertorso 196                                 drop self innertorso 97                                 overhead "Set: {{currentinnertorso}}"98                                 wait 65099                          else100                            overhead 'your chest is bare, need innertorso urgently'   101                          endif102           elseif skill meditation = 0  103            if findtype 5142|7173|5060|5101|5204|5090|7175|5075|31191 backpack as noMedMedinnertorso    104              @setvar! currentinnertorso noMedMedinnertorso 105              getlabel item currentinnertorso 106              overhead "Set: {{currentinnertorso}}" 107              lift currentinnertorso 1 108              drop self innertorso 109              overhead "Set: {{currentinnertorso}}"110              wait 650   111            else112              overhead 'your chest is bare, need innertorso urgently'113            endif 114           115                          116           endif117endif118        119 if findlayer self innertorso = 0120       overhead index121   if skill meditation > 0122       if findtype 31191|5075|7175|5090|5204|5101|5060|7173|5142 backpack as mediMedinnertorso123       overhead 'I can meditate lemmie see if i can find a leather innertorso ?'   124       @setvar! currentinnertorso mediMedinnertorso125       getlabel item currentinnertorso 126       overhead "Set: {{currentinnertorso}}"127     else128       overhead 'your chest is bare, need innertorso urgently'   129     endif130     131   elseif skill meditation = 0132     133   if findtype 5142|7173|5060|5101|5204|5090|7175|5075|31191 backpack as noMedMedinnertorso    134       @setvar! currentinnertorso noMedMedinnertorso 135       getlabel item currentinnertorso 136       overhead "Set: {{currentinnertorso}}"    137     else138       overhead 'your chest is bare, need innertorso urgently'139     endif 140     141   endif142   143 endif  144 145endwhile146 147 148while findlayer self head = 0 and index < 2149     overhead index 150if findlayer self head as item151  getlabel item ihead152  overhead "Set: {{ihead}}"153  @setvar! currentHead item154else 155  if varexist currentHead156    getlabel currentHead chead157    overhead "Wearing: {{chead}}"158    lift currentHead 1 1000 159    drop self head160    wait 650161  endif162endif163 164// head165if findlayer self head = 0166  if skill meditation > 0167  if findtype 5916|5440|5907|21787|31214|21783|7610|31011|5201|5131|7947|5056|5129|5132|5135|5138 backpack as medihead168       @setvar! currentHead medihead169        getlabel currentHead chead170        overhead "Set: {{chead}}"171        else172       overhead 'your head is bare, need helmet urgently'   173       endif174  elseif skill meditation = 0175    if findtype 5138|5132|5135|5129|5056|7947|5131|5201|31011|5916|5440|5907|21787|31214|21783|7610 backpack as noMedhead    176       @setvar! currentHead noMedhead177        getlabel currentHead chead178        overhead "Set: {{chead}}"179          else180       overhead 'your head is bare, need helmet urgently'181       endif  182  endif  183 184endif185 186endwhile187   if poisoned or diffhits > 20188        loop189   endif190 191 192#neck193while findlayer self neck = 0 and index < 2194        overhead index195 if findlayer self neck as item196  getlabel item ineck197  overhead "Set: {{ineck}}"198  @setvar! currentNeck item199else 200  if varexist currentNeck201    getlabel currentNeck cneck202    overhead "Wearing: {{cneck}}"203    lift currentNeck 1 1000204    drop self neck205    wait 650206  endif207    if findlayer self neck = 0208          if skill meditation > 0209      if findtype 31271|22186|22185|5063|5078|31003|31006 backpack as medineck210                      @setvar! currentNeck medineck211                      getlabel currentNeck cneck212                      overhead "Set: {{cneck}}"213                      else214                     overhead 'your neck is bare, need gorget urgently'   215                     endif216           elseif skill meditation = 0217             if findtype 31006|31003|5078|5063|31271|22186|22185 backpack as noMedneck    218                     @setvar! currentNeck noMedneck219                     getlabel currentNeck cneck220                     overhead "Set: {{cneck}}"221                      else222                    overhead 'your neck is bare, need gorget urgently'223                    endif  224          endif  225 226    endif227endif228endwhile229 230   if poisoned or diffhits > 20231        loop232   endif233#arms234while findlayer self arms = 0 and index < 8235    overhead index236            if findlayer self arms as item237              getlabel item iarms238              overhead "Set: {{iarms}}"239              @setvar! currentArms item240            else 241              if varexist currentArms242                getlabel currentArms carms243                overhead "Wearing: {{carms}}"244                lift currentArms 1 1000245                drop self arms246                wait 650247              endif248            endif 249  if findlayer self arms = 0250    if skill meditation > 0251    if findtype 5061|5076|5203|5103|31005|5143 backpack as mediarms252         @setvar! currentArms mediarms253          getlabel currentArms carms254          overhead "Set: {{iarms}}"255          else256         overhead 'your arms are bare, need sleeves urgently'   257         endif258    elseif skill meditation = 0259      if findtype 5143|31005|5103|5203|5076|5061 backpack as noMedarms    260          @setvar! currentArms noMedarms261          getlabel currentArms carms262           overhead "Set: {{iarms}}"263        else264        overhead 'your arms are bare, need sleeves urgently'265        break  266        endif  267    endif  268  endif269endwhile270     wait 650271 272   if poisoned or diffhits > 20273        loop274   endif275#Pants276while findlayer self pants = 0 and index < 8277    overhead index278      if varexist currentPants and not find currentPants self 279    lift currentPants 1 100280    drop self pants 281    wait 650282    endif 283if findlayer self pants as item284  getlabel item ipants285  overhead "Set: {{ipants}}"286  @setvar! currentPants item287else 288  if varexist currentPants289    getlabel currentPants cpants290    overhead "Wearing: {{cpants}}"291    lift currentPants 1 292    drop self pants293    wait 650294  endif295endif296 297// pants298if findlayer self pants = 0 299  if skill meditation > 0300  if findtype 5074|7169|7177|5089|31012|5207|31004|5105|31010|5059|31007|5146|31008 backpack as medipants301       @setvar! currentPants medipants302  getlabel item ipants303  overhead "Set: {{ipants}}"304    lift currentPants 1 305    drop self pants306    wait 650307        else308       overhead 'somebody ate your shorts your bottom is very bare'   309       endif310  elseif skill meditation = 0311    if findtype 31008|5146|31007|5059|31010|5105|31004|5207|31012|5089|7177|7169|5074 backpack as nomedpants    312        @setvar! currentPants nomedpants313        getlabel item ipants314        overhead "Set: {{ipants}}"315        lift currentPants 1 316        drop self pants317        wait 650318          else319       overhead 'somebody ate your shorts your bottom is very bare'320       endif  321  endif  322  323endif324 325 326 327 328 329 330