Well this is driving me insane so I think this is as far as I'll go. The problem with what I'm trying to do is that there is a piece of information stored in a "http only" cookie. This means we don't have access to this information from within javascript and therefore we cannot fetch attachments since we're missing this value. Now I'm sure there are some advanced techniques like running the script on the login page to grab that value as it is set on the cookie and whatnot. This is the first userscript I write, I think that's beyond my abilities.
If you don't mind using this method, this is what you have to do.
> open the forum page (be sure you're logged in)> open the developer window (F12 in all browsers I think)> go to the Network tab (you might have to F5 here so the transactions will show up)> click on (almost) any transaction and information will show up on the right> click on Cookies tab and grab the value named bbsessionhash (just the value)> now copy that value and paste it on the userscriptUserscript:
https://pastebin.com/raw/RzFygTrf If you do this right there will be a box at the bottom left corner with a Download button.
Maybe someone with more experience writing userscripts can help refining this thing.