foreach (var woWItem in wManager.Wow.Helpers.Bag.GetBagItem())
{
if (!string.IsNullOrWhiteSpace(woWItem.Name) && !wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(woWItem.Name))
wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(woWItem.Name);
}
You can run this code in quester profile, custom profile, plugin, ...., or in "dev... tools" (tab "Tools")