TextDynasty Posted October 22, 2016 Report Share Posted October 22, 2016 How to declined others offers if they got trade hold? Caseylor 1 Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 22, 2016 Report Share Posted October 22, 2016 https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getuserdetailscallback Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 22, 2016 Author Report Share Posted October 22, 2016 (edited) Thanks for reply. Sorry i don't really understand how to use it. Where do i need to put the "them" in the code? function getUserDetails (callback) { if (escrowDays > 0){ offer.decline(); } } Edited October 22, 2016 by TextDynasty Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 22, 2016 Report Share Posted October 22, 2016 offer.getUserDetails(function(err, me, them) { if (err) { throw err; } if (them.escrowDays > 0) { offer.decline(); } }); TextDynasty 1 Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 22, 2016 Author Report Share Posted October 22, 2016 offer.getUserDetails(function(err, me, them) { if (err) { throw err; } if (them.escrowDays > 0) { offer.decline(); } }); Thanks for reply. TextDynasty 1 Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 22, 2016 Author Report Share Posted October 22, 2016 (edited) offer.getUserDetails(function(err, me, them) { if (err) { throw err; } if (them.escrowDays > 0) { offer.decline(); } });One more question how to response to friends message and invite? Edited October 22, 2016 by TextDynasty TextDynasty 1 Quote Link to comment Share on other sites More sharing options...
adma Posted October 22, 2016 Report Share Posted October 22, 2016 One more question how to response to friends message and invite? node-steam-user chatMessage and friendRelationship Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 22, 2016 Author Report Share Posted October 22, 2016 node-steam-user chatMessage and friendRelationshipThanks, I still don't understand how to smelt metals when it is in a low amount. Any help would be very nice Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 24, 2016 Author Report Share Posted October 24, 2016 node-steam-user chatMessage and friendRelationshipIs there anyway to send a message to admin when finished a trade? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 24, 2016 Report Share Posted October 24, 2016 https://github.com/DoctorMcKay/node-steam-user#chatmessagerecipient-message-type TextDynasty 1 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.