I'm unfamiliar with creating custom scripts, so if there's a guide somewhere I'd like to start there.
What I'm trying to do is export a query on a scheduled basis. If I can export it as a .csv that will do half of the work, if i can get it to convert that .csv to a simple .txt file and move it to a different server that would be even better.