Print
Here's the script that I ended up slopping together. It should do the job, I guess. I /think/ it works, but I don't really have anything to connect to so who knows!