Mass Pouch Trapper by areyoukidden
Description from the author:
@setvar 'PauseTime' 750
#enable your shelf restock to include
#15-25 untrapped pouches #15-25 magic
#trap scrolls depending on your
#eldritch/scribe levels.
if not find 'StorageShelf' 'ground'
setvar 'StorageShelf'
endif
while findtype 'pouch' 'backpack' 0
cast 'magic trap'
pause 1000
target 'self'
pause 300
if mana < 20
skill 'Meditation'
while mana < maxmana
endwhile
endif
endwhile
menu 'StorageShelf' 0
waitfortarget
target 'self'
pause 'PauseTime'
menu 'StorageShelf' 1
pause 'PauseTime'
if insysmsg 'Resupply complete. However,'
overhead 'Out of Supplies!!' 33
clearsysmsg
stop
endif
loopMass Trap pouches from storage shelf, back into the storage shelf - using magic trap scrolls (if you have them). Basically config your storage shelf to give you 15-25 untrapped pouches, and 15-25 magic trap scrolls (depending on your eldritch/scribe level), and run the script - it'll ask you to select the shelf, and it'll do the rest.
If you have no magic trap scrolls it'll use reagents from the shelf if you've set them for restock.