Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
IRC-BotEngine - Configuration.cs

Configuration.cs

Caricato da: Crybot
Scarica il programma completo

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Meebey.SmartIrc4net;
  6.  
  7. namespace IrcBot
  8. {
  9.     class Configuration
  10.     {
  11.         #region Campi
  12.  
  13.         //static private string server = "irc.uk.mibbit.net";
  14.         //static private int port = 6667;
  15.         //static private string channel = "#prova";
  16.         //static private string nickname = "stupid";
  17.         //static private string adminNickmane = "crybot";
  18.  
  19.  
  20.         static private string server = "pierotofy1.no-ip.org";
  21.         static private int port = 6669;
  22.         static private string channel = "#pierotofy.it";
  23.         static private string nickname = "pierotofy";
  24.         static private string adminNickmane = "crybot";
  25.  
  26.         #endregion
  27.  
  28.         #region Proprieta`
  29.  
  30.         public static string Server
  31.         {
  32.             get { return Configuration.server; }
  33.             set { Configuration.server = value; }
  34.         }
  35.         public static int Port
  36.         {
  37.             get { return Configuration.port; }
  38.             set { Configuration.port = value; }
  39.         }
  40.         public static string ChannelName
  41.         {
  42.             get { return Configuration.channel; }
  43.             set { Configuration.channel = value; }
  44.         }
  45.         public static string Nickname
  46.         {
  47.             get { return Configuration.nickname; }
  48.             set { Configuration.nickname = value; }
  49.         }
  50.         public static string AdminNickmane
  51.         {
  52.             get { return Configuration.adminNickmane; }
  53.             set { Configuration.adminNickmane = value; }
  54.         }
  55.  
  56.         #endregion
  57.  
  58.     }
  59. }