that is 90% complete, also I have been working on a new mystery gift with encryptions and everyone receives the exact same pokemon every time (including the personalID) also includes support for items, eggs, switches, and variables. If you want to look at it I'd be happy to let you.
EDIT: look in the tutorials and resources for it there.
Hey, would you consider putting my php-sql script into essentials?
Here are a few reasons why:
Even though your database can be hacked if your game is cracked, your username/password/host is still safe
It's easier to use than normal MySQL scripts
and it will remove the need to look into berka's script to fix it.