This is my solution to Advanced Event 2 for the 2012 Scripting Games. I've included the major requirements for the event as well as added some extra features to increase the usefulness of this function which includes background
runspaces (not to be confused with background jobs