SENPAY98K Posted December 9, 2021 Report Share Posted December 9, 2021 Is it possible to use steamcommunity to send a message ? Like using Steam Chat inside steamcommunity to send a message. const logOnOptions = { accountName: item.split(":")[0], password: item.split(":")[1], twoFactorCode: SteamTotp.generateAuthCode(item.split(":")[2]) }; community.login({ "accountName": logOnOptions.accountName, "password": logOnOptions.password, "twoFactorCode": logOnOptions.twoFactorCode }, function (err, sessionID, cookies) { if (err) { console.log('Error in loggOn'); } if (!err) { console.log(' [%s] Successfully Logged On (SteamID: %s)', logOnOptions.accountName, community.steamID.getSteamID64()); community.chatMessage('76561198097242611', ':steamhappy:', function (err, res, data) { if (err) { console.log(' [%s] TASK11: xxxxxx FAIL'.red, logOnOptions.accountName); } if (!err) { console.log(' [%s] TASK11: yyyyyy DONE'.green, logOnOptions.accountName); } }); In the output say you can't send message, not logged in ! Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted December 9, 2021 Report Share Posted December 9, 2021 No, you have to use steam-user for that. Quote Link to comment Share on other sites More sharing options...
SENPAY98K Posted December 9, 2021 Author Report Share Posted December 9, 2021 5 minutes ago, Dr. McKay said: No, you have to use steam-user for that. Okay i was trying to do all the all Steam Community tasks (Badge/2) into one script Thanks for the reply ♥ Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted December 10, 2021 Report Share Posted December 10, 2021 Is using webchat a badge task? I don't remember. If it is, I'm not entirely sure how they'd detect when you use webchat but you might be able to accomplish it by logging onto a CM through steam-user using a client logon token. Quote Link to comment Share on other sites More sharing options...
SENPAY98K Posted December 10, 2021 Author Report Share Posted December 10, 2021 5 hours ago, Dr. McKay said: Is using webchat a badge task? I don't remember. If it is, I'm not entirely sure how they'd detect when you use webchat but you might be able to accomplish it by logging onto a CM through steam-user using a client logon token. There is a task for sending a steam emoticon to a friend. 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.