string ReceivedMessage = ProcessBuf.ReadStringFromLength(); Console.WriteLine("Received Message: " + ReceivedMessage); string RecievedMessage = "!notice I love cake."; if (RecievedMessage.Length > 7 && RecievedMessage[0] == Convert.ToChar("!")) { string Operation = RecievedMessage.Substring(0, 7); string Value = RecievedMessage.Substring(8); switch (Operation) { case "!notice": { string TheNotice = ReceivedMessage.Remove(0, 8); byte[] aResponse = Processor.SendBlueGMNotice(TheNotice); SendEncrypted(RIV, aResponse, nClient); MapleCrypto.GenerateIV(RIV); break; }