Jump to content
McKay Development

Recommended Posts

Posted

Hello,I'd like to know how to correctly check item type for trading card. I tried:

 

offer.itemsToReceive.forEach(function(item) { if (item.type.includes("Trading Card"){ My code }

 

But this doesn't seem to work. Could anybody tell me how to do this correctly?

Posted

How do you check if appid is 753? Before I tried just item.name == "Cards name" and it worked fine, does this means I made sure that appid is 753? Also I'm making trading card bot, so under this line it makes sure that all other items are metals. And no - I don't think I provided language.

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...