public override void Use(Player p, string message) { if (message == "" || message.IndexOf(' ') == -1) { Help(p); return; } string[] args = message.Split(trimChars, 2); if (!(args[0].CaselessEq("add") || args[0].CaselessEq("del"))) { Help(p); return; } if (args[0].CaselessEq("add")) { args = args[1].Split(awardArgs, 2); if (args.Length == 1) { Player.SendMessage(p, "&cUse a : to separate the award name from its description."); Help(p); return; } if (!Awards.AddAward(args[0], args[1])) { Player.SendMessage(p, "This award already exists."); return; } else { Player.GlobalMessage("Award added: &6" + args[0] + " : " + args[1]); } } else { if (!Awards.RemoveAward(args[1])) { Player.SendMessage(p, "This award does not exist."); return; } else { Player.GlobalMessage("Award removed: &6" + args[1]); } } Awards.Save(); }