Advertisement
Guest User

Untitled

a guest
Jun 21st, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. var SteamTotp = require('steam-totp');
  2. var user = new SteamUser();
  3. user.logOn({
  4. accountName: "EnterAccountName",
  5. password: "EnterPassword",
  6. twoFactorCode: SteamTotp.getAuthCode("")
  7. });
  8.  
  9. user.on('webSession', function() {
  10. console.log('Logged in!');
  11. user.setPersona(SteamUser.Steam.EPersonaState.Offline) // Set to offline or online - your choice.
  12. user.gamesPlayed(10); // Enter ID of the steam game. ID is on the steam store link, e.g. CS 1.6: http://store.steampowered$
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement