I don't have a script like that - have you searched for one?
It should be straightforward enough to write. Ultimately, you just want to identify the basic series of http requests you need to send and loop through them, for each request you would need to
- populate request URL with any variable session data
- send request
- send any cookies already stored
- accept any new cookies
- honour any redirects etc
- extract any new variable session data from
It would be finicky and fragile but doable.
And I just betcha that MS tries to identify and foil scripts like these.