Doesn't work how? What does the site say?
Cookie is all you need. As with stormsurfer, the cookie might be linked to your IP. So if you run the script on another system than the one you got the cookie, it might not work.
If all else fails, you can always log in with the script itself and get the cookie that way.