Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
Here's program I made. This is in fact the very first program I have ever coded. I started it about year ago as a self learning project for python language. So today I decided to share with you, because I hope some people will find it useful. Here's quick instructions how to make it work...