Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- } else if(Util::stricmp(cmd.c_str(), _T("testuc")) == 0) {
- for(int i = 0; i<Util::toUInt(Text::fromT(param));i++)
- {
- FavoriteManager::getInstance()->addUserCommand(1, UserCommand::CONTEXT_HUB, UserCommand::FLAG_NOSAVE, "TestUC/" + Util::toString(i), "BMSG foo foo\n", "", client->getHubUrl());
- }
- addChat(T_("Updated user commands"));
- }
Advertisement
Add Comment
Please, Sign In to add comment