Back to "magic" tags

Mass Pouch Trapper by areyoukidden

Description: Mass 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.

1@setvar 'PauseTime' 750
2#enable your shelf restock to include
3#15-25 untrapped pouches #15-25 magic
4#trap scrolls depending on your
5#eldritch/scribe levels. 
6if not find 'StorageShelf' 'ground'
7    setvar 'StorageShelf'
8endif
9
10while findtype 'pouch' 'backpack' 0
11    cast 'magic trap'
12    pause 1000    
13    target 'self'
14    pause 300
15    if mana < 20
16        skill 'Meditation'
17        while mana < maxmana
18        endwhile
19    endif
20endwhile
21menu 'StorageShelf' 0
22waitfortarget
23target 'self'
24pause 'PauseTime'
25menu 'StorageShelf' 1
26pause 'PauseTime'    
27if insysmsg 'Resupply complete. However,'
28    overhead 'Out of Supplies!!' 33
29    clearsysmsg
30    stop
31endif
32loop