From 092ec55c3abb997f4a68f1cb100d2eeccbdbf241 Mon Sep 17 00:00:00 2001 From: LightCat Date: Sun, 7 Oct 2018 16:09:55 +0200 Subject: [PATCH] For Party Bypass gamers only --- src/irc.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/irc.cpp b/src/irc.cpp index 99677514..c8f37932 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -256,6 +256,13 @@ static CatCommand irc_exec_all("irc_exec_all", "Send command to C&C channel", irc.privmsg(msg, true); }); +static CatCommand invite_all("irc_invite_all", "Inivte all people in C&C channel", + [](const CCommand &args) { + std::string msg("cc_cmdtf_party_request_join_user "); + msg.append(std::to_string(g_ISteamUser->GetSteamID().GetAccountID())); + irc.privmsg(msg, true); + }); + static CatCommand irc_send("irc_send", "Send message to IRC", [](const CCommand &args) { std::string msg(args.ArgS());