void HandleOnPlayerConnect(ShootManiaXMLRPC.Structs.PlayerConnect PC) { if (IRCBotSettings.ShootMania_SayPlayerConnected == 1) { irc.SendMessage(SendType.Message, IRCBotSettings.IRC_Channel, "[ShootMania] Player connected : " + PC.Login); } }
void HandleOnPlayerConnect(ShootManiaXMLRPC.Structs.PlayerConnect PC) { if (Admins.Contains(PC.Login)) { ChatSendServerMessage("Admin connected : " + PC.Login); } }
void HandleOnPlayerConnect(ShootManiaXMLRPC.Structs.PlayerConnect PC) { string PlayerConnectText = "Player [" + PC.Login + "] connected"; if (PC.IsSpectator) { PlayerConnectText += " (Spectator)"; } Console.WriteLine(PlayerConnectText); Server.SendNoticeToLogin(PC.Login, "$08FThis server is running SMAdminTools " + Settings.Version); }