Skip to content
Outlands Hub

Razor script

Organizer v0.1

by michael_8911 · 340 lines
Download
Organizing
Organizer v01.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/1f5cda21-7f62-4c44-82c6-c575df2a5869 for latest2# Automation by Jaseowns3## Script: Organizer v0.14## Created by: michael_8911#05#############################################6 7# Organizer v0.18 9# Organizes a target container by searching it to a depth of `layersToSearch` and sorting them10# items into specifiec containers based on category11 12# Michael Leide 10/18/25 v0.113 14setvar debug 115setvar 'overheadProgress' 116setvar verbose 117 18setvar dirtyBag19setvar layersToSearch 220 21# enter your storage container serial numbers here:22 23setvar gemStorage 0x5609615724setvar progressStorage 0x4A08382325setvar 'skillScrollStorage' 0x5BF163D626setvar regStorage 0x42751C6827setvar valuableStorage 0x5BF163D528setvar craftStorage 0x5609615329setvar mapStorage 0x5BF163D930setvar goldStorage 0x428A9D0031 32setvar coreStorage 0x5BF163D333setvar distillStorage 0x5BF163D034setvar extractStorage 0x4798885535setvar phylStorage 0x4798885536 37setvar storageShelf 0x59844F4A38 39# these are the type ids for the items we are going to sort40 41setvar gold 382142setvar citrine 386143setvar tourmaline 388544setvar amber 387745setvar amethyst 386246setvar ruby 385947setvar sapphire 386548setvar emerald 385649setvar star 387350setvar diamond 387851 52setvar redlightningBottle 2535953setvar skillBall 2233654setvar skillScroll 882655 56setvar blackPearl 396257setvar bloodmoss 396358setvar garlic 397259setvar ginseng 397360setvar mandrakeRoot 397461setvar nightshade 397662setvar spidersSilk 398163setvar sulfurousAsh 398064 65setvar researchMaterials 2443466setvar survivalGear 3718167 68setvar mastercraftingDiagram 1708769setvar arcaneScroll 382770 71setvar chromaticCore 402572setvar chromaticDistillation 402673setvar aspectCore 398574setvar aspectDistillation 1768675setvar aspectExtract 383676setvar aspectPhylactery 57677 78setvar map 535679 80setvar variablesSet 181 82 83# these are the lists that will hold the various items, by category (by storage container)84 85if 'overheadProgress' = 186    overhead 'building lists'87endif88 89if listexists 'gemList'90    clearlist 'gemList'91else92    createlist 'gemList'93endif94 95if listexists 'progressList'96    clearlist 'progressList'97else98    createlist 'progressList'99endif100 101if listexists 'regList'102    clearlist 'regList'103else104    createlist 'regList'105endif106 107if listexists 'valuableList'108    clearlist 'valuableList'109else110    createlist 'valuableList'111endif112 113if listexists 'craftList'114    clearlist 'craftList'115else116    createlist 'craftList'117endif118 119# populating the lists...120 121if 'overheadProgress' = 1122    overhead 'populating lists'123endif124 125pushlist gemList citrine126pushlist gemList tourmaline127pushlist gemList amber128pushlist gemList amethyst129pushlist gemList ruby130pushlist gemList sapphire131pushlist gemList emerald132pushlist gemList star133pushlist gemList diamond134 135pushlist progressList redlightningBottle136pushlist progressList skillBall137 138pushlist regList blackPearl139pushlist regList bloodmoss140pushlist regList garlic141pushlist regList ginseng142pushlist regList mandrakeRoot143pushlist regList nightshade144pushlist regList spidersSilk145 146pushlist regList sulfurousAsh147pushlist valuableList researchMaterials148pushlist valuableList survivalGear149 150pushlist craftList mastercraftingDiagram151pushlist craftList arcaneScroll152 153# now we will sort the items154 155if 'overheadProgress' = 1156    overhead 'sorting items'157endif158 159 160# sort gold161 162if 'overheadProgress' = 1 and verbose = 1163    overhead 'sorting gold'164endif165 166while findtype gold dirtyBag -1 -1 layersToSearch as goldItem167    168    if debug = 1169        overhead goldItem170    endif171    172    lift goldItem 60000173    wait 500174    drop goldStorage -1 -1 -1175endwhile176 177 178# sort gems179 180if 'overheadProgress' = 1 and verbose = 1181    overhead 'sorting gems'182endif183    184foreach gem in gemList185    if debug = 1186        overhead gem187    endif188 189    while findtype gem dirtyBag -1 -1 layersToSearch as gemItem190        lift gemItem 60000191        wait 500192        drop gemStorage -1 -1 -1193    endwhile194endfor195 196 197# sort skill scrolls198 199if 'overheadProgress' = 1 and verbose = 1200    overhead 'sorting skill scrolls'201endif202 203while findtype 'skillScroll' dirtyBag -1 -1 layersToSearch as scrollItem204    lift scrollItem 60000205    wait 500206    drop 'skillScrollStorage' -1 -1 -1207endwhile208 209 210# sort progress items211 212if 'overheadProgress' = 1 and verbose = 1213    overhead 'sorting progress items'214endif215    216foreach progress in progressList217    if debug = 1218        overhead progress219    endif220 221    while findtype progress dirtyBag -1 -1 layersToSearch as progressItem222        lift progressItem 60000223        wait 500224        drop progressStorage -1 -1 -1225    endwhile226endfor227 228 229# sort regs230 231if 'overheadProgress' = 1 and verbose = 1232    overhead 'sorting regs'233endif234    235foreach reg in regList236    if debug = 1237        overhead reg238    endif239 240    while findtype reg dirtyBag -1 -1 layersToSearch as regItem241        lift regItem 60000242        wait 500243        drop regStorage -1 -1 -1244    endwhile245endfor246 247 248# sort valuables249 250if 'overheadProgress' = 1 and verbose = 1251    overhead 'sorting valuables'252endif253    254foreach valuable in valuableList255    if debug = 1256        overhead valuable257    endif258 259    while findtype valuable dirtyBag -1 -1 layersToSearch as valuableItem260        lift valuableItem 60000261        wait 500262        drop valuableStorage -1 -1 -1263    endwhile264endfor265 266 267# sort crafting items268 269if 'overheadProgress' = 1 and verbose = 1270    overhead 'sorting crafting items'271endif272    273foreach craft in craftList274    if debug = 1275        overhead craft276    endif277 278    while findtype craft dirtyBag -1 -1 layersToSearch as craftItem279        lift craftItem 60000280        wait 500281        drop craftStorage -1 -1 -1282    endwhile283endfor284 285 286# sort cores287 288if 'overheadProgress' = 1 and verbose = 1289    overhead 'sorting aspect cores'290endif291 292while findtype aspectCore dirtyBag -1 -1 layersToSearch as coreItem293    lift coreItem 60000294    wait 500295    drop coreStorage -1 -1 -1296endwhile297 298while findtype chromaticCore dirtyBag -1 -1 layersToSearch as chromaCoreItem299    lift chromaCoreItem 60000300    wait 500301    drop coreStorage -1 -1 -1302endwhile303 304 305# sort distillations306 307if 'overheadProgress' = 1 and verbose = 1308    overhead 'sorting aspect distillations'309endif310 311while findtype aspectDistillation dirtyBag -1 -1 layersToSearch as distilItem312    lift distilItem 60000313    wait 500314    drop distillStorage -1 -1 -1315endwhile316 317while findtype chromaticDistillation dirtyBag -1 -1 layersToSearch as chromaDistilItem318    lift chromaDistilItem 60000319    wait 500320    drop distillStorage -1 -1 -1321endwhile322 323 324# sort phyls325 326if 'overheadProgress' = 1 and verbose = 1327    overhead 'sorting aspect phylacteries'328endif329 330while findtype aspectPhylactery dirtyBag -1 -1 layersToSearch as phylItem331    lift phylItem 60000332    wait 500333    drop phylStorage -1 -1 -1334endwhile335 336if 'overheadProgress' = 1337    overhead 'complete'338endif339 340