View Single Post
Old 07-21-2006, 08:55 PM  
svengoran
Junior Member
 
Join Date: Jul 2006
Posts: 11
Default

Quote:
Originally Posted by Mouton
No programming involved, unless u call creating a .bat file programming...

OnFtpLogin = ..\windrop\restart.bat

restart.bat:
cd c:\ioftpd\windrop
pslist eggdrop.exe > nul
if errorlevel 1 goto restart
goto end

:restart
hiderun eggdrop.exe -nt eggdrop.conf

:end
about the bat file
the "cd c:\ioftpd\windrop" should be the folder where eggdrop.exe is right?

and the only text in it should be
cd c:\ioftpd\windrop
pslist eggdrop.exe > nul
if errorlevel 1 goto restart
goto end

:restart
hiderun eggdrop.exe -nt eggdrop.conf

:end

errorlevel 1 means its not running?

OnFtpLogin = ..\windrop\restart.bat where do i put this? under what part in ioftpd.ini?
svengoran is offline   Reply With Quote