/    Sign up×
Community /Pin to ProfileBookmark

Automated Steam bot help

So, I’m trying to make a bot for steam and I need it so that when a player goes offline it removes them as a friend unless their name is Conway220.
I’m using this to get the nodes:[url]https://github.com/seishun/node-steam/blob/master/README.md[/url]

And it should be similar to this, except the opposite with removefriend instead of addfriend.

[CODE]client.on(‘relationship’, function(steamID, relationship) {
if(relationship == steam.EFriendRelationship.PendingInvitee) {
logger.info(‘Accepting friend request from ‘ + steamID);
client.addFriend(steamID);[/CODE]

Thank’s in advanced ?

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@conway220authorMay 19.2013 — I just found this:https://developer.valvesoftware.com/wiki/Steam_Web_API I'm not 100% sure how to do this, but if you can help me get better, that would be awesome.
×

Success!

Help @conway220 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...