All pastes #967025 Raw Edit

Something

public text v1 · immutable
·published 2008-04-02 04:03 UTC
rendered paste body
string RecievedMessage = "!notice I love cake.";

            if (RecievedMessage.Length > 7 && dug[0] == Convert.ToChar("!"))
            {
            
                string Operation = RecievedMessage.Substring(0, 7);
                string Value = RecievedMessage.Substring(8);

                switch (Operation)
                {

                    case "!notice":
                        {

                            break;

                        }

                    case "!summon":
                        {

                            break;

                        }

                    case "!unreal":
                        {

                            break;

                        }

                }