if (target.isGhost()) {
BotClient c = new TestBot(target.getName(), server.getHost(),
server.getPort());
c.game.addGameListener(new BotGUI(c));
try {
c.connect();
} catch (Exception e) {
server.sendServerChat(connId, "Bot failed to connect.");
}
c.retrieveServerInfo();
server.sendServerChat("Bot has replaced " + target.getName() + ".");