Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var SteamUser = require('steam-user');
- var SteamTotp = require('steam-totp');
- var user = new SteamUser();
- user.logOn({
- accountName: "asdasd",
- password: "",
- twoFactorCode: SteamTotp.getAuthCode("")
- });
- user.on('webSession', function() {
- console.log('Logged in!');
- user.setPersona(SteamUser.Steam.EPersonaState.Online) // Set to offline or online - your choice.
- user.gamesPlayed([10, 730, 347630, 361630, 250420, 354200, 346900, 247830, 223630, 206500, 630, 373330, 41300, 293500, 13140, 203290, 34172, 266430, 17020, 206210, 293540, 342480, 271290, 246280, 227940, 283880, 342570, 30, 40, 70, 130, 50, 434250, 60, 20]); // Enter ID of the steam game. Found in the store link (/app/10) is Counter-Strike
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement