# This is an automated backup - check out https://outlands.uorazorscripts.com/script/c23025ca-0188-46f4-b01a-8cc044e2c24c for latest # Automation by Jaseowns ## Script: Restock Storage Shelf with Trapped Pouches ## Created by: oaksvirals#0 ############################################# #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. @setvar! PouchCount '100' if findtype "storage shelf" ground any any 2 as my_shelf overhead 'Shelf Found!' 0 else overhead 'Must Be Near Your Storage Shelf!' 33 stop endif while counttype "pouch" backpack 38 < PouchCount if counttype 3981 self < 10 if findtype "storage shelf" ground any any 2 as my_shelf menu my_shelf 1 wait 1000 overhead 'Restocked!' 0 endif else cast 'magic trap' wft 1000 target 'self' endif if mana < 15 while mana < 90 if not findbuff "actively meditating" skill 'meditation' endif wait 1000 endwhile endif endwhile if counttype "pouch" backpack 38 >= PouchCount if findtype "storage shelf" ground any any 2 as my_shelf menu my_shelf 0 wait 1000 target 'self' pause 600 gumpclose pause 600 menu my_shelf 1 overhead 'All Done!' 0 endif stop endif