Crptkc Posted December 11, 2019 Report Share Posted December 11, 2019 (edited) I wanted to be able to make my bot be able to tell the difference between tf2 items and unusual effect, for example I want my steam trading bot to recognize unusual effect like burning flame hong kong cone, disco beat down hong kong cone etc. I don't know whether the code should be in .JSON file or .js. However I lack the knowledge to do so. Help would be appreciated, thanks! Bot.js Edited December 11, 2019 by Crptkc Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted December 11, 2019 Report Share Posted December 11, 2019 You need to check the descriptions array of the item in question and look for the unusual effect tag (after making sure it's a TF2 item, of course). And you can check the color to see if the item is of Unusual quality. vrtgn 1 Quote Link to comment Share on other sites More sharing options...
vrtgn Posted December 14, 2019 Report Share Posted December 14, 2019 Adding to doc's answer, you may find this of use, with regards to where to extract the details from - created by Nicklason. 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.