Attempted to use this script last night. Here's in general what happens. A quick background is I was running the agent mission on my pilot account who was ganged up with my salvager account. So basically the salvage account didn't make the wrecks, I just book marked the location.
I make the bookmark then go back to a station. I ensure all cargo windows are closed and run the script. It exits the station, makes the station bookmark, warps to the location and says detect X amount of wrecks. Then in about 2 seconds it makes a line saying 'processing wreck' for each wreck that it detected. It then warps back to the station, docks and ends.
So basically it runs through just doesn't do the actual salvaging part. I tried it with both with and without the -loot tag.
I make the bookmark then go back to a station. I ensure all cargo windows are closed and run the script. It exits the station, makes the station bookmark, warps to the location and says detect X amount of wrecks. Then in about 2 seconds it makes a line saying 'processing wreck' for each wreck that it detected. It then warps back to the station, docks and ends.
So basically it runs through just doesn't do the actual salvaging part. I tried it with both with and without the -loot tag.