# Scripts.ShopBot

**URL:** <https://blizzhackers.discourse.group/t/scripts-shopbot/589>\
**Category:** Support\
**Created:** [February 24, 2020, 5:25am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589 "2020-02-24T05:25:49Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [February 24, 2020, 5:25am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/1 "2020-02-24T05:25:49Z")

</div>

does anyone know if the Scripts.ShopBot works

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [February 24, 2020, 5:51am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/2 "2020-02-24T05:51:24Z")

</div>

it should work.  
it was fixed in May 2018 - [https://github.com/blizzhackers/kolbot/commits/master/d2bs/kolbot/libs/bots/ShopBot.js](https://github.com/blizzhackers/kolbot/commits/master/d2bs/kolbot/libs/bots/ShopBot.js)

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [February 24, 2020, 3:52pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/3 "2020-02-24T15:52:30Z")

</div>

where does the Scripts.ShopBot picki go, I mean the objects you want me to buy

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [February 24, 2020, 10:36pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/4 "2020-02-24T22:36:44Z")

</div>

did you see this [comment](https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/config/Sorceress.js#L200) in char config ?  
… Automatically uses [**shopbot.nip**](https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/pickit/shopbot.nip) and ignores other pickits.

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [February 24, 2020, 11:42pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/5 "2020-02-24T23:42:36Z")

</div>

So I have everything right, the problem is that he stays an hour and does not buy anything?

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [February 25, 2020, 1:55pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/6 "2020-02-25T13:55:32Z")

</div>

That’s depending of what items you are looking for. Rare items could take days of shopping.

what do you mean by “he stays a hour and does not buy anything” ?  
Did you edit the shopbot.nip, uncommenting/adding items are you looking for?  
Did you set the right NPC for wanted items?

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [March 1, 2020, 2:39am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/7 "2020-03-01T02:39:20Z")

</div>

@mf22 I have a doubt there is another pickit for shopbot, I’m looking for a scepter for foh, 2 + foh 3+ convincion and 5 sox

Do you know what npc sells this scepter?

[Name] == Warscepter && [Quality] \<= Superior # [sockets] == 5 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2  
[Name] == Divinescepter && [Quality] \<= Superior # [sockets] == 5 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2  
[Name] == Caduceus && [Quality] \<= Superior # [sockets] == 5 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2  
[Name] == Warscepter && [Quality] \<= Superior # [sockets] == 0 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2  
[Name] == Divinescepter && [Quality] \<= Superior # [sockets] == 0 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2  
[Name] == Caduceus && [Quality] \<= Superior # [sockets] == 0 && [skillfistoftheheavens] \>= 3 && [skillconviction] \>= 2

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [March 1, 2020, 10:03am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/8 "2020-03-01T10:03:43Z")

</div>

in shopbot.nip you could find such comments

```auto
//[type] == scepter # ([paladinskills] == 2 || [palicombatskilltab] == 3) && [skillfistoftheheavens]+[skillconviction] == 6 // [H]Akara, [H]Drognan, [H]Ormus etc.

```

so, hell difficulty Akara, Drognan, Ormus, …

---

<div class="post-metadata">

**Author:** ![5noop](https://avatars.discourse-cdn.com/v4/letter/5/258eb7/32.png) [@5noop](https://blizzhackers.discourse.group/u/5noop)\
**Post date:** [March 1, 2020, 1:01pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/9 "2020-03-01T13:01:40Z")

</div>

> [@Xhelk](#):
>
> Do you know what npc sells this scepter?

None, nm and hell npc only sell magic items and norm npc cannot give you these stats.

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [March 1, 2020, 2:18pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/10 "2020-03-01T14:18:55Z")

</div>

fuck I put malah in hell to see if he gave it to me 🤣 🤣

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [March 1, 2020, 2:20pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/11 "2020-03-01T14:20:19Z")

</div>

I think I missed the

```auto
 && [Quality] <= Superior 

```

from your lines. those should be magic or you shouldn’t add the [quality].

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [March 2, 2020, 6:09am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/12 "2020-03-02T06:09:12Z")

</div>

> [@mf22](#):
>
> && [Quality] \<= Superior

Would it be yes?

[type] == scepter && [Quality] \<= Superior # ([paladinskills] == 2 || [palicombatskilltab] == 3) && [skillfistoftheheavens]+[skillconviction] == 6

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [March 2, 2020, 11:01am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/13 "2020-03-02T11:01:33Z")

</div>

> [@Xhelk](#):
>
> Would it be yes?

I guess that your translator is working bad.

**magic** or no **quality** at all  
[type] == scepter # ([paladinskills] == 2 || [palicombatskilltab] == 3) && [skillfistoftheheavens]+[skillconviction] == 6

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [March 2, 2020, 4:29pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/14 "2020-03-02T16:29:06Z")

</div>

mf can you give it to me as it should go thanks

---

<div class="post-metadata">

**Author:** ![Xhelk](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/xhelk/32/125_2.png) [@Xhelk](https://blizzhackers.discourse.group/u/Xhelk)\
**Post date:** [March 4, 2020, 6:13am UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/15 "2020-03-04T06:13:35Z")

</div>

Someone would know the settings for this scepter in the pickit

![](https://global.discourse-cdn.com/free1/uploads/d2bot1/original/1X/a4ad89fb863e54e31ae059502f5ea967c83f8e23.png)

[type] == scepter && [Quality] \<= Superior # ([skillconviction] == 2 || [skillfistoftheheavens] == 3) ¿¿

---

<div class="post-metadata">

**Author:** ![mf22](https://yyz2.discourse-cdn.com/free1/user_avatar/blizzhackers.discourse.group/mf22/32/18_2.png) [@mf22](https://blizzhackers.discourse.group/u/mf22)\
**Post date:** [March 4, 2020, 3:12pm UTC](https://blizzhackers.discourse.group/t/scripts-shopbot/589/16 "2020-03-04T15:12:30Z")

</div>

> [@Xhelk](#):
>
> [type] == scepter && [Quality] \<= Superior # ([skillconviction] == 2 || [skillfistoftheheavens] == 3)

[type] == scepter && [Quality] \<= Superior # [skillconviction] == 2 && [skillfistoftheheavens] == 3)

this is ok for finding it, but you cannot buy it from NPC like 5noop already said to you in [#post9](https://d2bot.discourse.group/t/scripts-shopbot/589/9).  
your image is showing a level 79 scepter.
