Nope. Still not exactly right. Here is what I have after I modified what you gave me:
//Transmit Achievement to IRC
std::string irc_message = ("Player: %s achieved: %s",GetPlayer()->GetName(),achievement->name);
std::string channel = std::string("#") + sIRC._irc_chan[sIRC.Status];
sIRC.Send_IRC_Channel(channel, irc_message, irc_message, true);
For reference, this is what I wrote for player.cpp to echo the level when someone achieves a new level. Not sure if that will help at all.
char plevel [3];
sprintf(plevel, "%u", level);
std::string pname = GetName();
std::string channel = std::string("#") + sIRC._irc_chan[sIRC.anchn].c_str();
sIRC.Send_IRC_Channel(channel, "\\00311["+pname+"] : Has Reached Level: "+plevel, true);
(Might be hard to believe, but I actually helped to develop MangChat. I'm Shinzon... I started the thread for it when mangos converted over to the new forum.)