tf2autobot-wiki

3.5 Update items listing settings with !update command

3.5.1. Updating a single item

Sometime, after you’ve added the items that you want your bot trade, you might change your mind to adjust the min and max, change the intent, and maybe manually price items that your bot bought. In order to do that, you will need to use !update command.

An !update command pretty much similar to the !add command, where you need to tell your bot what item (identifying parameter) and then include the listing settings parameters that you want to update. That’s mean Table 3.2 and Table 3.3 can also be used here. In addition to Table 3.2, since the items have been added to the pricelist, now you can use a new identifying parameter instead of name, defindex, and sku: the item identifying parameter.

To use item parameter, simply put the full item name. When you’re using the !add command with name or defindex identifying parameter, you need to use sub-parameters to specifically add your targeted item, but not with item parameter.

Special parameters

Parameter Type Description
resetgroup boolean Send with resetgroup=true will reset the group of that particular item to all.
removenote boolean Send with removenote=true will reset both note.buy and note.sell values to null (will use templates).
removebuynote boolean Send with removebuynote=true will reset note.buy value to null (will use buy order template).
removesellnote boolean Send with removesellnote=true will reset note.sell value to null (will use sell order template).

3.5.2. Updating multiple items

This bot has an option to update the listing parameters of all items at once, or update all items by group (if you have set the group when adding/updating the items individually).

3.5.2.1. Update all items

You can only update intent, min, max, autoprice, and enabled parameters for !update all=true command.

Special parameter

| Parameter | Type | Description | | :-: | :-: | :- | | removenote | boolean | Sending !update all=true&removenote=true will set both note.buy and note.sell to null (will use your templates). |

*Important Note

3.5.2.2. Update all items by group

Syntax: !update all=true&withgroup=<groupName>&[listing parameters to update] Example:

  1. !update all=true&withgroup=craftw&intent=sell - will update all item entries with group “craftw” in your pricelist to intent=sell.
  2. !update all=true&withgroup=craftw&group=craftweapon&max=5&intent=bank&enabled=false - will update group “craftw” to “craftweapon”, max to 5, intent to bank and disable listing on backpack.tf for all “craftw” items.

*Note:


Continue: Removing an item, items by group, or all items