SpiTik Posted April 13, 2018 Report Share Posted April 13, 2018 (edited) How to accept request who sent with script offline and acc have pending request .This dont work.steam.on('friendRelationship', (steamid, relationship) => { if(relationship == 2){ steam.addFriend(steamid); steam.chatMessage(steamid, "Hi"); }}); Edited April 14, 2018 by SpiTik Quote Link to comment Share on other sites More sharing options...
roughnecks Posted January 12, 2019 Report Share Posted January 12, 2019 I got the same issue, anyone who can help? Quote Link to comment Share on other sites More sharing options...
PonyExpress Posted January 12, 2019 Report Share Posted January 12, 2019 (edited) client.on("webSession", (sessionID, cookies) => { for (let i = 0; i < Object.keys(client.myFriends).length; i++) { if (client.myFriends[Object.keys(client.myFriends)[i]] == 2) { client.addFriend(Object.keys(client.myFriends)[i]); } } }); Edited January 12, 2019 by PonyExpress roughnecks 1 Quote Link to comment Share on other sites More sharing options...
roughnecks Posted January 12, 2019 Report Share Posted January 12, 2019 (edited) I can't check it right now but thanks, @PonyExpress. EDIT: Looks like it's working Edited January 15, 2019 by roughnecks 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.