Okay, well, I've built a bot in PHP which can detect MTGox codes in any sort-of message on IRC, from any channel the bot is in, and then automatically redeeming the code via the mtgox API, and then returning the status to the owner via PM to let you know whether the code was valid or not, what code it was, and which channel/person it came from.
It also supports withdrawing via the MTGox API using "!withdraw BTC 0.00001" and it will output the code generated for that amount of money if successful. (This function is secured as owner only, though it can be made public if you really wanted it to be, probably a bad idea though...).
I'm selling the code for the bot for just
1BTC 0.5BTC maybe lower, once you've bought it, you can do whatever you like with it, keep it private, make it open source, or share it privately with others, just as-long as you don't sell it as your own.
If anyone wants to test it out, feel free to join #someguy123 on irc.freenode.net
I'll refund any amount given to the bot for testing if I've seen that you posted the MTGox code which was worth the amount.