Skip to content

Adding items

IdiNium edited this page Feb 20, 2021 · 10 revisions

3.4. Add item to pricelist with !add command

In order to have your bot to start trading, you will need to tell your bot what items to buy/sell/bank by adding the items to the pricelist through Steam Chat. The command that you will use is !add command.

3.4.1 Using item name or defindex parameters

Example:

*Notes:

  • If you want to add Mann Co. Supply Crate Key with name parameter, it will list out all possible key defindexes from the tf2 schema. Please choose the one at the top with the name Decoder Ring and use !add defindex=5021.

    listings
  • If you want to add a stock weapon (such as Scattergun, Minigun and etc), there are two defindexes for stock weapons. You only need to use the one with Upgradeable_TF_WEAPON_NAME and use that defindex.

    listings
  • Festive and Festivized are two different things. When adding a Festive weapon, please include Festive in the item name (oh and yes, the item defindex is also different), but if Festivized, you need to add the sub-parameter festive=true.

  • If you want to add Name Tag or Non-Craftable Name Tag, you will need to use the correct defindex, which is 5020 instead of 2093. This bug can not be fixed unless Team Fortress 2 updates its schema to remove the wrong defindex.

3.4.2 Using sku parameter


3.4.3 Example with situation/intention:

  • Example 1: "I want to bank Max's Severed Head for a max of 3"
  • Summary:
    • Item: Max's Severed Head (162;6)
    • intent: bank
    • min: 0
    • max: 3
    • autoprice: true
    • enabled: true
  • Command to use: !add sku=162;6&max=3 (no need to add the other this since they are all default).

///

  • Example 2: "I want to sell Strange Australium Stickybomb Launcher for 23 keys"
  • Summary:
    • Item: Strange Australium Stickybomb Launcher (207;11;australium)
    • intent: sell
    • min: 0
    • max: 1
    • autoprice: false
    • enabled: true
    • sell price: 23 keys
    • buy price: 0 keys, 0 ref
  • Command to use: !add sku=207;11;australium&intent=sell&sell.keys=23&buy.metal=0

*Notes:

  • If you want to sell it for only in keys, then you can ignore the sell.metal parameter.
  • You do not need to set autoprice=false if you're about to manually price the item.

Clone this wiki locally