tf2autobot-wiki

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 parameter

You can just copy the item full name from Backpack.tf, and send to your bot. Example:

Just make sure to not put a space between the item and the equal sign (=). You can add other listings settings parameter(s) if needed. Example:

===

3.4.2 Using sku parameter

There are two ways of obtaining the sku of an item. You can use the marketplace.tf method or you can use the !sku command

===

3.4.3 Using item name or defindex parameters

Example:

*Notes:

===

3.4.4 Example with situation/intention:

///


3.4.5 Adding items in bulk

To add items in bulk you will be using the !addbulk command. It allows you to use the same item identifying and listing setting paramters as using the !add command.

The syntax is as follows:

!addbulk item_one
item_two
item_two

Let’s look at an example:

!addbulk sku=5021;6&intent=sell
name=Tomislav&quality=Strange&australium=true
defindex=424&quality=Strange&australium=true&festive=true

As always, any listing setting parameters you don’t specify are using default values.


*Notes:


Continue: Updating an item or multiple items