Skip to content
Outlands Hub

Razor script

Restock Storage Shelf with Trapped Pouches

by oaksvirals · 54 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Stand next to shelf and run. Change PouchCount variable to how mnay trapped pouches you want to make. Grab the same number of regular pouches that will be used to trap.

Organizing
Restock Storage Shelf with Trapped Pouches.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c23025ca-0188-46f4-b01a-8cc044e2c24c for latest2# Automation by Jaseowns3## Script: Restock Storage Shelf with Trapped Pouches4## Created by: oaksvirals#05#############################################6 7#Stand next to shelf and run.8#Change PouchCount variable to how mnay trapped pouches you want to make.9#Grab the same number of regular pouches that will be used to trap.10 11@setvar! PouchCount '100'12 13if findtype "storage shelf" ground any any 2 as my_shelf14   overhead 'Shelf Found!' 015else 16   overhead 'Must Be Near Your Storage Shelf!' 3317   stop18endif19 20while counttype "pouch" backpack 38 < PouchCount21    if counttype 3981 self < 1022        if findtype "storage shelf" ground any any 2 as my_shelf23        menu my_shelf 124        wait 100025        overhead 'Restocked!' 026        endif27    else28        cast 'magic trap'29        wft 100030        target 'self'31    endif32    if mana < 1533        while mana < 9034           if not findbuff "actively meditating"35            skill 'meditation'36           endif37        wait 100038        endwhile39    endif40endwhile41 42if counttype "pouch" backpack 38 >= PouchCount43    if findtype "storage shelf" ground any any 2 as my_shelf44    menu my_shelf 045    wait 100046    target 'self'47    pause 60048    gumpclose49    pause 60050    menu my_shelf 151    overhead 'All Done!' 052    endif53    stop54endif