xLeeJYx Posted June 26, 2017 Report Share Posted June 26, 2017 Scrap MetalTeam Fortress 2Level 1 Craft ItemItem Wiki Page...Tags: Unique, Craft Item, Tradable, Not Marketable As the picture below how can i check if the item name contain the tag 'Craft Item' ? Quote Link to comment Share on other sites More sharing options...
xLeeJYx Posted June 26, 2017 Author Report Share Posted June 26, 2017 Quote Link to comment Share on other sites More sharing options...
Vanilla Posted June 26, 2017 Report Share Posted June 26, 2017 As the picture below how can i check if the item name contain the tag 'Craft Item' ? https://github.com/DoctorMcKay/node-steamcommunity/wiki/CEconItem#tags You need to get individual item from offer, and after that just call "item.tags".Since tags is an array, you might want to use loop to check if an item contain "Craft Item" xLeeJYx 1 Quote Link to comment Share on other sites More sharing options...
xLeeJYx Posted June 26, 2017 Author Report Share Posted June 26, 2017 https://github.com/DoctorMcKay/node-steamcommunity/wiki/CEconItem#tags You need to get individual item from offer, and after that just call "item.tags".Since tags is an array, you might want to use loop to check if an item contain "Craft Item"haha, thanks but i already figured out by myself. Just fixed bp.tf automatic's bug Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.