void readGREET()
        {
            string nick, greeting, line;
            string[] split;
            bool enabled=false;
            bool found = false;

            if (File.Exists("greetings.txt"))
            {
                try
                {
                    StreamReader sr = new StreamReader("greetings.txt");
                    while (sr.Peek() >= 0)
                    {
                        line = sr.ReadLine();
                        split = line.Split(new char[] { ':' }, 3);
                        nick = split[0];
                        greeting = split[2];

                        switch (split[1])
                        {
                            case "False":
                                enabled = false;
                                break;
                            case "True":
                                enabled = true;
                                break;
                            default:
                                enabled = false;
                                break;
                        }

                        foreach (Greeting g in greet)
                        {
                            if (g.Nick == nick)
                                found = true;

                        }

                        if (!found)
                        {
                            Greeting g = new Greeting(nick, greeting, enabled);
                            greet.Add(g);
                        }

                    }
                    sr.Close();
                }
                catch
                {
                }

            }
        }
        void addGreet(StreamWriter s, string CHANNEL, string args, string nick)
        {
            bool found = false;

            foreach (Greeting g in greet)
            {
                if (g.Nick == nick)
                {
                    found = true;
                    g.Greetingg = args;
                    SaveGreets();

                }

            }

            if (!found)
            {
                Greeting g = new Greeting(nick, args, true);
                greet.Add(g);
                SaveGreets();
            }
        }