View difference between Paste ID: vVCFyDMJ and 4UFkuP7B
SHOW: | | - or go back to the newest paste.
1
var SteamUser = require('steam-user');
2
var SteamTotp = require('steam-totp');
3
var user = new SteamUser();
4
 
5
user.logOn({
6-
    accountName: "EnterAccountName",
6+
    accountName: "gstrom2",
7-
    password: "EnterPassword",
7+
    password: "Lucas150702%",
8
    oneFactorCode: SteamTotp.getAuthCode("")
9
});
10
 
11
user.on('webSession', function() {
12
    console.log('Logged in!');
13
    user.setPersona(SteamUser.Steam.EPersonaState.Offline) // Set to offline or online - your choice.
14-
    user.gamesPlayed([10]); // Enter ID of the steam game. Found in the store link (/app/10) is Counter-Strike
14+
    user.gamesPlayed([730]); // Enter ID of the steam game. Found in the store link (/app/10) is Counter-Strike
15
 
16
});