static bool UnAura(StringArguments args, CommandHandler handler) { Unit target = handler.GetSelectedUnit(); if (!target) { handler.SendSysMessage(CypherStrings.SelectCharOrCreature); return(false); } string argstr = args.NextString(); if (argstr == "all") { target.RemoveAllAuras(); return(true); } args.Reset(); // number or [name] Shift-click form |color|Hspell:spell_id|h[name]|h|r or Htalent form uint spellId = handler.ExtractSpellIdFromLink(args); if (spellId == 0) { return(false); } target.RemoveAurasDueToSpell(spellId); return(true); }