Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
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.
I hope this can help in anyway, been working on it for a very long while, notify me if it isn't in javascript format because i did it like a javascript but the preview has it like a paragraph: https://github.com/Blackwing12/BUG-FIXES/blob/master/Bugfixes