View Single Post
Old 2008-10-26, 00:10   #27
IronBits
I ♥ BOINC!
 
IronBits's Avatar
 
Oct 2002
Glendale, AZ. (USA)

3·7·53 Posts
Default

Thanks, still have your perl script you sent me yarns ago.
May need to use it one of these days, but I'm still having fun with DOS

::-------------------------------------
:USER
::-------------------------------------

set LINE=%~2 %~3&rem

for /f "tokens=1,* delims=_" %%a in ("%LINE%") do (
if /i "%%b"=="" set TEAM=-& set USER=%%a& goto :EOF
if /i "%%a"=="Free-DC" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="ArsTechnica" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="XtremeSystems" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="AMDUsers" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="Team_Italia" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="XGrubbersKickAss" set TEAM=%%a& set USER=%%b& goto :EOF
if /i "%%a"=="X Grubbers Kick As" set TEAM=%%a& set USER=%%b& goto :EOF
)
set USER=%LINE:~0,100%&rem
goto :EOF
IronBits is offline   Reply With Quote