I may put together a bot editor / creator this weekend that will handle creating new bots, editing existing ones, packaging them up in a .pk3 file, and support creating configs.
It sounds like some other .bot files have rtf formatting in them too. Did you at one point create a .pk3 file with your bots in it? To troubleshoot them, just keep removing the bots from your config that are giving you trouble. (the one that is trying to be loaded just before the unknown cmd errors)
You may have megaman as the funname for one of your other bots (which would explain him joining)