Skip to content
Outlands Hub

Razor script

Example: Dump and Restock One Button

by Brozan (Syal) · 201 lines
Download
Organizing
Example Dump and Restock One Button.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/976707af-d9af-4cbf-9f08-3ce812b5aff3 for latest2# Automation by Jaseowns3## Script: Example: Dump and Restock One Button4## Created by: Brozan (Syal)#45235#############################################6 7clearignore8 9dress 'bow'10//open tome chest11dclick 0x5B7C7BBD12wait 60013 14//dump into all tomes 15while findtype 29104 0x5B7C7BBD as found16    //overhead "Book"17    menu found 018    wait 5019    ignore found20endwhile21clearignore22 23//repair24dclick 0x61F237E925wait 60026 27overhead "Starting Organizers"28organizer 129while queued30    wait 100031endwhile32organizer 233while queued34    wait 100035endwhile36organizer 337while queued38    wait 100039endwhile40organizer 441while queued42    wait 100043endwhile44organizer 545while queued46    wait 100047endwhile48organizer 649while queued50    wait 100051endwhile52organizer 753while queued54    wait 100055endwhile56organizer 857while queued58    wait 100059endwhile60organizer 961while queued62    wait 100063endwhile64wait 100065 66while findtype "cooked fish"  as found67    dclicktype "dagger"68    wft 250069    target found70    #wait 40071    ignore found72endwhile73while findtype "fish"  as found74    dclicktype "dagger"75    wft 250076    target found77    #wait 40078    ignore found79endwhile80 81//dump all supply shelf82if findtype 44997 ground any any 2 as found83    menu found 0 84    wft 250085    target self86    menu found 1                87    gumpclose 3232825965 88    if skill "Magery" > 5089        if skill "Meditation"  >= 50 or skill "Evaluating Intelligence" >= 5090            while counttype 29012 backpack < 3591                cast "create food"92                wait 100093                if mana < 70 and insysmsg "use another magic"94                    dclicktype 2901295                endif96                menu found 197                if insysmsg "cheese"98                    break99                endif100            endwhile101        endif102    endif103endif        104overhead "Done with shelf"     105gumpclose 3232825965   106 107//dump all resources108dclick 0x4004288C109waitforgump 1859005118110gumpresponse 2111waitfortarget112waitforgump 1859005118113target 'self'114wait 500115gumpclose 1859005118116wait 500117 118clearignore 119//dump pack llama120while findtype 292 ground any any 2 as found121    overhead 'Packhorse dump routine' 55122    123    dclick found124    wait 500125    //dump all supply shelf126    menu 0x4083AF65 0127    waitfortarget128    target found129    wait 500130    gumpclose131    wait 500132 133    //dump all resources134    dclick 0x407F8ACB135    waitforgump 1859005118136    gumpresponse 2137    waitfortarget138    waitforgump 1859005118139    target found140    wait 500141    gumpclose142    wait 500143    144    #dump gold145    146 147    while findtype 3821 'found' as 'myGold'148        lift myGold 60000149        drop '0x40820133' -1 -1 0 150        wait 600151    endwhile152 153    ignore found154endwhile   155 156//dump pack horse157while findtype 291 ground any any 2 as found158    overhead 'Packhorse dump routine' 55159    160    dclick found161    wait 500162    //dump all supply shelf163    menu 0x4083AF65 0164    waitfortarget165    target found166    wait 500167    gumpclose168    wait 500169 170    //dump all resources171    dclick 0x407F8ACB172    waitforgump 1859005118173    gumpresponse 2174    waitfortarget175    waitforgump 1859005118176    target found177    wait 500178    gumpclose179    wait 500180    181    #dump gold182    183 184    while findtype 3821 'found' as 'myGold'185        lift myGold 60000186        drop '0x40820133' -1 -1 0 187        wait 600188    endwhile189 190    ignore found191endwhile    192 193gumpclose 3232825965   194 195//script 'Bag Dumper'196wait 500197menu 0x465CE02E 1198wait 500199menu 0x407F8ACB 1200 201clearignore