Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Core sends each bot a pm with its own info 500ms after startup
- // I use it to initialize bot
- if (c.ChatType == ChatTypes.Private && c.Message.StartsWith("@BotInfo@"))
- {
- // Catch and store bot info that core sends
- string[] data = c.Message.Split(':');
- botName = data[1];
- arena = data[2];
- // Initialize everything needed to get bot started
- initializeBot();
- BillerCommand.SendBillerCommand(msg.chan(1, "Bot[" + botName + "] Initialized. Timer started."));
- }
Advertisement
Add Comment
Please, Sign In to add comment