Skip to content
Outlands Hub

Razor script

MIB Organizer

by dabiri · 210 lines
Download

This helps me organize after an SOS spot. It moves rares from the salvage crates into my main pack. It dumps unidentified items into a bag in my hold It dumps stackables like gold, doubloons, gems, booty, and reagents into the hold. It…

Organizing
MIB Organizer.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/19ecf91e-daed-426c-9565-ee7b64a84252 for latest2# Automation by Jaseowns3## Script: MIB Organizer4## Created by: dabiri#05#############################################6 7// This helps me organize after an SOS spot. 8// It moves rares from the salvage crates into my main pack.9// It dumps unidentified items into a bag in my hold10// It dumps stackables like gold, doubloons, gems, booty, and reagents into the hold. 11// It dumps shells and vases at my feet on the boat12// I recommend always confirming the salvage crate has 0 items before dumping, so that you don't miss a dark colored cloth shoe or something unaccounted for here.13 14// This script expects you to have a cooldown named exactly:15# Spyglass16 17// It also expects you to have the hold and the bag in your hold targeted. I do this at the beginning of every voyage with my startup script so I'm not certain how well lines 41-49 will (should) replicate that functionality.18 19//Spyglass Routine20if not findtype 5365 backpack21    overhead "No spyglass"22    stop23endif24 25if not cooldown 'Spyglass'26    if targetexists27        overhead 'Holding spyglass' 1528        wait 50029        loop30    endif31    gumpclose 289002094032    dclicktype 536533    wft 100034    if targetexists neutral35        overhead 'Glassing'36        target 'self'37        waitforgump 289002094038        gumpresponse 4 289002094039        waitforgump 289002094040        cooldown 'Spyglass' 630041    endif42endif43 44@setvar globalTimeout 65045overhead 'Organizing'46 47if not varexist myShipHold48    overhead 'Target the ship hold' 2849    @setvar! myShipHold50endif51 52if not varexist holdLootBag53    overhead 'Target a bag to hold unidenfitied items' 2854    @setvar! holdLootBag55endif56 57overhead myShipHold58dclick myShipHold59 60overhead holdLootBag61dclick holdLootBag62 63overhead 'Moving currency'64//Move gold65while findtype "gold coin" backpack as gold66overhead 'Moving gold'67    lift gold 6000068    drop myShipHold -1 -1 069    pause globalTimeout70endwhile71 72//Move dubs73while findtype "doubloon" backpack as dubs74    overhead 'Moving dubs'75    lift dubs 6000076    drop myShipHold -1 -1 077    pause globalTimeout78endwhile79 80//Move leather81while findtype "cut up leather" backpack as leathers82    overhead 'Moving leather'83    lift leathers 50084    drop myShipHold -1 -1 085    pause globalTimeout86endwhile87 88clearignore 89 90overhead "Dumping unidentified items"91while findtype 5056|5059|5060|5061|5063|5070|5074|5075|5076|5078|5085|5089|5090|5101|5103|5105|5106|5129|5131|5132|5135|5138|5139|5142|5143|5144|5146|5201|5203|5204|5205|5207|7169|7170|7173|7175|7177|7179|7181|7610|7947|31003|31004|31005|31006|31007|31008|31009|31010|31011|31012|31015|31191|3834|9917|31169|3568|3570|3571|3572|3573|3713|3719|3721|3740|3742|3762|3763|3834|3909|3911|3913|3915|3917|3920|3922|3932|3934|3937|3938|5040|5042|5044|5046|5049|5112|5115|5117|5119|5121|5123|5125|5127|5177|5179|5181|5182|5185|5187|7026|7027|7029|7031|7033|7034|7035|7107|7109|10245|20006|20008|20010|20012|20014|20016|22187|30988|30989|30990|30991|30992|30993|30994|30995|30996|30997|30998|30999|31000|31001|31002|31014|31017|31019|31021|31023|31025|31027|31029|31031|31033|31035|31037|31038|31041|31043|31045|31047|31049|31051|31053|31055|31128|31130|31141|31142|31176|31178|31180|31182|31184|31186|31188|31190 backpack as item92    getlabel item checkForUnidentified93        if "unidentified" in checkForUnidentified94            lift item 500095            drop holdLootBag -1 -1 096        endif 97        @ignore item98endwhile99 100//Spyglass Routine101if not findtype 5365 backpack102    overhead "No spyglass"103    stop104endif105 106if not cooldown 'Spyglass'107    if targetexists108        overhead 'Holding spyglass' 15109        wait 500110        loop111    endif112    gumpclose 2890020940113    dclicktype 5365114    wft 1000115    if targetexists neutral116        overhead 'Glassing'117        target 'self'118        waitforgump 2890020940119        gumpresponse 4 2890020940120        waitforgump 2890020940121        cooldown 'Spyglass' 6300122    endif123endif124 125overhead 'Dumping stackables'126while findtype 45315|3856|3859|3861|3862|3865|3873|3877|3878|3885|7981|7982|7983|7984|7985|7986|7987|7988|7989|7990|7991|7992|7993|7994|7995|7996|7997|7998|7999|8000|8001|8002|8003|8004|8005|8006|8007|8008|8009|8010|8011|8012|8013|8014|8015|8016|8017|8018|8019|8020|8021|8022|8023|8024|8025|8026|8027|8028|8029|8031|8032|8033|8034|8035|8036|8037|8038|8039|8041|8042|8043|8044|22326|3962|3963|3972|3973|3974|3976|3980|3981|39889|39891|39892|39896|39897|39898|39905|39909|39911|39912|39916|39917|39918|7163|3903|7708|17617|17619|2426 backpack as item127    lift item 5000128    drop myShipHold -1 -1 0129    @ignore item130endwhile131 132while findtype 2473|3710|3646|3647|3644|3645 backpack 2915 as salvagecrate133 134    while findtype 3985|17686|2744|2750|2760|2771|2778|2799|4248|19717|22244|43166|43179|48405|48407|3843|3838|3839|3842|15297|29025|29036|2594|2597|5356|5356|5356|5356|5356|17087|576|5981|24434|22336|8826|5359|4025|4026|3827|29030|37181 salvagecrate as lewt135        lift lewt 5000136        drop backpack -1 -1 0137        ignore lewt138    endwhile139    @ignore salvagecrate140endwhile141 142//Spyglass Routine143if not findtype 5365 backpack144    overhead "No spyglass"145    stop146endif147 148if not cooldown 'Spyglass'149    if targetexists150        overhead 'Holding spyglass' 15151        wait 500152        loop153    endif154    gumpclose 2890020940155    dclicktype 5365156    wft 1000157    if targetexists neutral158        overhead 'Glassing'159        target 'self'160        waitforgump 2890020940161        gumpresponse 4 2890020940162        waitforgump 2890020940163        cooldown 'Spyglass' 6300164    endif165endif166 167overhead 'shells'168while findtype 'shells' backpack as thething169    lift thething 5000170    drop ground 171    pause globalTimeout172endwhile173 174while findtype 'shell' backpack as thething175    lift thething 5000176    drop ground 177    pause globalTimeout178endwhile179 180while findtype 'conch shell' backpack as thething181    lift thething 5000182    drop ground 183    pause globalTimeout184endwhile185 186while findtype 'nautilus' backpack as thething187    lift thething 5000188    drop ground 189    pause globalTimeout190endwhile191 192while findtype 'broken vase' backpack as thething193    lift thething 5000194    drop ground 195    pause globalTimeout196endwhile197 198while findtype 'urchin' backpack as thething199    lift thething 5000200    drop ground 201    pause globalTimeout202endwhile203 204overhead '~~ Done dumping ~~' 48205 206wait 250207 208// You could uncomment and specify your normal boating background script by name below209//overhead 'Launching background script'210//script "SpyAndHeal"