using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Blizzard.Environments { class CommandProcessor { internal void ProcessCommand(BlizzardForm Form, string Command) { string[] Comm = Command.Split(' '); string C = Comm[0]; switch (C.ToLower()) { case "lol": Form.WriteLine("Hi Itachi :D"); break; default: Form.WriteLine("Invalid Command: " + C.ToLower() + "!"); break; } } } }