Friedslick6

Steam - Group Chat Auto-Joiner

Dec 9th, 2014
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. mode con: cols=15 lines=1
  3. title  
  4. ::The default wait time for Steam startup is 15 seconds. You can change this value below (in milliseconds.)
  5. set wait=15000
  6. ::Group 1
  7. set array=%array% 000000000000000000
  8. ::Group 2
  9. set array=%array% 111111111111111111
  10. ::Group 3
  11. set array=%array% 222222222222222222
  12. ::etc.
  13. tasklist /fi "ImageName eq Steam.exe"|find "Steam.exe">nul
  14. if ErrorLevel 1 (
  15.     start steam:
  16.     ping -n 1 -w %wait% 192.0.2.0>nul
  17. )
  18. for %%a in (%array:~1%) do (
  19.     start steam://friends/joinchat/%%a
  20.     ping -n 1 -w 1 192.0.2.0>nul
  21. )
Advertisement
Add Comment
Please, Sign In to add comment