Decode maps from one container and deposit in another by Pickleback
Description: A combination and enhancement from multiple online scripts. Choose the source and destination containers for maps at the start of the process.
#¸¸,øNKBø,¸¸ #decode maps from a chosen container #deposit maps into a chosen container #uses spyglass in backpack clearignore overhead 'Select the source container' setvar 'mapsource' overhead 'Select the destination container' setvar 'mapdest' while findtype 5356 'mapsource' as 'check_map' clearsysmsg getlabel 'check_map' 'map_label' lift 'check_map' wait 500 if undeciphered in 'map_label' drop backpack -1 -1 0 overhead 'Decoding map' 55 wait 500 usetype 'spyglass' waitfortarget target 'check_map' waitforgump 'any' gumpresponse 4 wait 1500 while not insysmsg "maximum accuracy" overhead '[enhance]' 34 gumpresponse 4 wait 1500 endwhile overhead 'Map decoded' 44 lift 'check_map' wait 500 endif ignore 'check_map' drop 'mapdest' -1 -1 0 wait 500 endwhile overhead "All maps decoded!" 55 clearignore