Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Put an item in the list not to sell

Featured Replies

  • 2 months later...
On 21/08/2017 at 6:38 PM, joseocnejo said:

Where can I run the code?

Is not there one that allows me to automatically add everything I have in the bag?

        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")

  • 4 years later...
On 6/7/2017 at 3:01 PM, Droidz said:

Hello,

wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add("item name");

But to avoid duplicate:

var itemName = "item name"; if (!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(itemName)) wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemName);

 

can i add loop option to add multi objects ?

Thanks

3 hours ago, Sye24 said:
List<String> ItemNames = new List<string>
{
  "First Item",
  "second Item",
  //etc
};

foreach (string ItemName in ItemNames)
{
  if(!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(ItemName))
    wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemName);
}

add your time to the list and run this as RunCode

image.png.44fc68117e0921db1c90ef748c0dff15.png

List<String> ItemNames = new List<string>
{
"Hearthstone",
"Linen Cloth",
"Lesser Healing Potion",
"Minor Healing Potion",
};

foreach (string ItemName in ItemNames)
{
  if(!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(ItemName))
    wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemName);
}

 

 

it give me that error , 

On 6/7/2017 at 3:01 PM, Droidz said:

Hello,

wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add("item name");

But to avoid duplicate:

var itemName = "item name"; if (!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(itemName)) wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(itemName);

 

 

3 hours ago, Droidz said:
        List<String> ItemNames = new List<string>
        {
            "First Item",
            "second Item",
            //etc
        };

        foreach (string ItemName in ItemNames)
        {
            if(!wManager.wManagerSetting.CurrentSetting.DoNotSellList.Contains(ItemName))
                wManager.wManagerSetting.CurrentSetting.DoNotSellList.Add(ItemName);
        }

 

Thank you

Work Perfect 

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.