Removed a few functions from libcod (cant push to git due to no git account).
Now you can catch the clientuserinfochanged() as per mitch his update, then maybe renamebot(newname) the player, then issue a clientuserinfoupdate() command.
Works quite nicely