I actually saw the code for something like this, but i'm not going to be gay and spread it. I can tell you one thing...you better go to the API forums for this answer cause it's a long one.