Jump to content
McKay Development

Recommended Posts

Posted

I have been stuck on trying to figure out how have my bot send a trade offer with items the bot has for items the user has.

For example (*this is a TF2 trading bot*) I have a hat, I want to sell it for 1 key by sending a trade offer. how would I do this?

 

**I know how to accept one when the user sends the trade offer, but I want to implement being able to use a command in steam chat to have the bot send them a trade offer**

Posted
Just now, Dr. McKay said:

You need to retrieve both parties' inventories, find the items you want to trade, and add them to the offer using addMyItem and addTheirItem.

How would I retrieve the other parties inventory?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...