Sets a lootbag to search in none found By Yottawatts UO Outlands Info: This info takes leather, regs, gems, and meat, from lootbag and backpack and puts them into containers in my inn room. Extra: Edit lists, add items to lists, and add…
Organizing
Yottawatts.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/cc6140fb-8fdc-490f-9f0b-41a0da00bf25 for latest2# Automation by Jaseowns3## Script: Yottawatts4## Created by: Yottawatts#79915#############################################6 7#Sets a lootbag to search in none found8#By Yottawatts9#UO Outlands10#Info: This info takes leather, regs, gems, and meat, from lootbag and backpack and puts them into containers in my inn room.11#Extra: Edit lists, add items to lists, and add new containers as needed.12#Note: This will loop if not in range of containers 13 14 15 16#creates varible in razor and sets lootbag container id, or any container you want to search for items to move. 17#I usually make this whatever my lootbag in my backpack is 18if not varexist lootbag19 @setvar lootbag20endif21 22#looks for set lootbag id from razor varibale, if not found set new lootbag id23#Same other other bags. Add, rename as needed.!!!!!!!!!24if not find lootbag 25 @setvar lootbag26endif27 28#This is the container on the ground holding hidebag and regbag29if not varexist HoldingContainer30@setvar HoldingContainer31endif32 33#Looks for HoldingConainer within two spaces34while not find HoldingContainer ground -1 -1 235 overhead 'Move to container' 3036endwhile37 38dclick HoldingContainer ground39 40#bag for leather41#NOTE: \\ out lines for if not and end if, to @setvar for new bags if needed42if not varexist hidebag43 @setvar hidebag 44endif45 46 47#bag for meat, gems, regs48if not varexist regbag49 @setvar regbag 50endif51 52 53clearsysmsg 54clearignore55 56# Search list for hide57createlist hidesss58clearlist hidesss59 60#adds all raw leather items to hidesss list to look for61@pushlist 'hidesss' 'cut up leather' 62 63#looks for each item in list64foreach x in hidesss 65 while findtype x lootbag as found 66 #looks for list items in lootbag and moves them to hidebag 67 lift found 999968 wait 10069 # -1 -1 0 will drop the items in bag onto current stack locations70 drop hidebag -1 -1 071 endwhile72endfor73 74#looks for each item in list75foreach x in hidesss 76 while findtype x backpack as found 77 #looks for list items in backpack and moves them to hidebag 78 lift found 999979 wait 10080 drop hidebag -1 -1 081 wait 20082 endwhile83endfor84 85#same as above but different list and lift to different bag86createlist regTypes 87clearlist regTypes88 89@pushlist 'regTypes' 'Blood Moss'90@pushlist 'regTypes' 'Black Pearl%s%'91@pushlist 'regTypes' 'Ginseng'92@pushlist 'regTypes' 'Garlic'93@pushlist 'regTypes' 'Sulfurous Ash'94@pushlist 'regTypes' "Spider's Silk" 95@pushlist 'regTypes' 'Nightshade'96@pushlist 'regTypes' 'Mandrake Root%s%' 97@pushlist 'regTypes' 'cut%s% of raw ribs'98@pushlist 'regTypes' 'slab%s% of bacon'99@pushlist 'regTypes' 'raw leg%s% of lamb'100@pushlist 'regTypes' 'ham%s%'101@pushlist 'regTypes' 'sausage%s%'102@pushlist 'regTypes' 'sliced ham'103@pushlist 'regTypes' 'raw chicken leg%s%'104@pushlist 'regTypes' 'star sapphire%s%'105@pushlist 'regTypes' 'diamond%s%'106@pushlist 'regTypes' 'citrine%s%'107@pushlist 'regTypes' 'sapphire%s%'108@pushlist 'regTypes' 'piece%s% of amber'109@pushlist 'regTypes' 'emerald%s%'110@pushlist 'regTypes' 'amethyst%s%'111@pushlist 'regTypes' 'rub%ies/y%'112@pushlist 'regTypes' 'iron ingot%s'113@pushlist 'regTypes' 'board%s'114 115foreach x in regTypes116 while findtype x lootbag as found117 lift found 9999118 wait 100119 drop regbag -1 -1 0120 wait 200121 endwhile122endfor123 124foreach x in regTypes 125 while findtype x backpack as found126 lift found 9999127 wait 100128 drop regbag -1 -1 0129 wait 200130 endwhile131endfor132 133overhead 'Drop Off Complete!'