ver.2.00
Combat
Anti-theft looting box.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/0c71f1c7-6608-4cce-9bd0-9984e049057d for latest2# Automation by Jaseowns3## Script: Anti-theft looting box4## Created by: dennozz#05#############################################6 7#Anti-theft looting box ver.2.008 9#********** INFORMATION **********# 10#Made by @dennozz on discord. 11 12#If you have any questions, suggestions or concerns please message me via discord13#Inspired/learned by other scrips in https://outlands.uorazorscripts.com/14 15#IMPORTANT: You need 1 wooden box and 1 copper key (you can craft it with 50 carpentry and 50 tinkering)16 17#This script will auto store all your loot into a wooden box and lock it.18#This script already stores a bunch of valuable items like cores, ss, research mats, etc.19 20#OPTIONAL : If you want to add more items modify the line code #45 and #51 -> `while findtype 1234|0000|0000` 21 # COPY and PASTE the item ID you wish to add to the beggining of the list22 23#Update: ver.2.00 now stores item that are inside a `loot bag`24 25clearignore 26 27@setvar! maxwaittimeinms 65028 29@setvar! messageCD 280030@settimer! messageTimer messageCD31 32while weight > maxweight33 if findtype "gold coin" backpack as gold34 lift gold 50035 droprelloc 0 036 getlabel backpack xxx37 wait 20038 if insysmsg "cannot drop anything"39 drop backpack -1 -1 -140 endif41 wait maxwaittimeinms42 overhead "* gold dropped *" 5543 endif44endwhile45 46if findtype 'wooden box' backpack as box47 if findtype 'copper key' backpack as key48 49#------ ADD more items below here ------# v50 51 while findtype 4025|11858|20309|37181|27612|29030|576|2472|2475|2594|2597|2744|2750|2760|2771|2778|2799|3648|3649|3650|3651|3708|3712|3735|3736|3737|3738|3827|3836|3838|3839|3842|3843|3985|4026|4248|5356|5359|5981|8826|12686|15296|15297|17087|17686|19717|22244|22336|23996|23997|24343|24434|29025|29036|29040|29832|29833|43166|43179|43206|48405|48407 box as boxItem52 @ignore boxItem 53 endwhile54 55#------ ADD more items below here ------# v56 57 while findtype 4025|11858|20309|37181|27612|29030|576|2472|2475|2594|2597|2744|2750|2760|2771|2778|2799|3648|3649|3650|3651|3708|3712|3735|3736|3737|3738|3827|3836|3838|3839|3842|3843|3985|4026|4248|5356|5359|5981|8826|12686|15296|15297|17087|17686|19717|22244|22336|23996|23997|24343|24434|29025|29036|29040|29832|29833|43166|43179|43206|48405|48407 backpack as backpackItem58 getlabel backpackItem backpackItemLabel59 60 if "blessed" in backpackItemLabel61 #skip62 @ignore backpackItem63 else 64 while not dead 65 getlabel box boxLabelBefore 66 if "items" in boxLabelBefore67 break68 else69 dclick key70 getlabel backpack xxx71 wait 32572 target box73 getlabel backpack xxx74 wait 32575 overhead "[Box Opened]" 44 76 endif77 endwhile78 79 if timer messageTimer > messageCD80 overhead "moving item..." 1181 settimer messageTimer 082 endif 83 84 lift backpackItem 100085 drop box86 getlabel backpack xxx 87 wait maxwaittimeinms88 89 @ignore backpackItem90 91 endif92 93 endwhile94 95 getlabel box boxLabel96 97 while "items" in boxLabel98 dclick key99 getlabel backpack xxx100 wait 325101 target box102 getlabel backpack xxx103 wait 325 104 getlabel box boxLabel105 endwhile 106 107 overhead "[Box Closed]" 65 108 else109 overhead "no copper key found" 34110 wait maxwaittimeinms111 endif112else 113 overhead "no wooden box found" 34114 wait maxwaittimeinms115endif116 117removetimer messageTimer