// returns bot class if it is started here, null otherwise static Class startBotHere(S botName, S botID) ctex { DialogIO bot = newFindBot(botName); if (bot != null) { bot.close(); null; } else { print("Bot " + quote(botName) + " not found. Starting " + botID); ret runSubBot(botID); } }