View Single Post
Old 02-29-2004, 11:34 AM  
epoke
Member
 
Join Date: Nov 2003
Posts: 60
Default

@echo off
set Systemroot=C:\WINNT
cd /D C:\WINNT\eggdrop
pslist egg > nul
if errorlevel 1 goto restart
echo Eggdrop already running...
goto end

:restart
CD /D C:\WINNT\eggdrop
start hide /r /n 'C:\WINNT\eggdrop\egg.exe -nt eggconf.conf''
echo BOT DOWN (RESTARTiNG iT)
:end
exit 0

wooolF[RM] i think you need set Systemroot=C:\WINNT for pslist to work

@+
epoke is offline   Reply With Quote