View Single Post
Old 07-05-2004, 11:53 PM  
jaja
Banned
 
Join Date: Jun 2004
Posts: 6
Default prob resolu

problem non resolu ,

malgré les modifications ci dessous


@echo off
c:
cd "C:\laouyaleegg"

rem Mettre ici le nom du fichier de configuration de votre windrop:
set botscript=eggdrop.conf

rem Mettre ici le nick de votre windrop:
set botname=_French

rem Mettre ici le nom du fichier contenant les usagers (userfile) de votre windrop:
set userfile=eggdrop.user >>> le problem vient peut etre d ici .?

rem Ne rien changer ci-bas....
if exist .share* del .share*
if exist *.stackdump del *.stackdump
if exist *.tmp del *.tmp
if not exist %botscript% echo Config file (%botscript%) missing.
if not exist %botscript% goto cantload
if exist %userfile% goto checkrunning
if exist %userfile%~new ren %userfile%~new %userfile%
if exist %userfile% echo Missing userfile... Using the last saved one..
if exist %userfile% goto checkrunning
if exist %userfile%~bak ren %userfile%~bak %userfile%
if exist %userfile% echo Missing userfile... Using the last backed up one..
if exist %userfile% goto checkrunning
if not exist %userfile% echo Userfile missing. No backup/last saved userfile either. =/
goto cantload

:checkrunning
pslist eggdrop
if errorlevel 2 goto end
if errorlevel 1 goto end
if errorlevel 0 goto restart
goto end

:restart
set result=
if not exist eggdrop.exe echo eggdrop.exe not found!
if not exist eggdrop.exe goto cantload
echo Restarting Eggdrop...
eggdrop.exe -nt
if errorlevel 8 echo Possibly Missing .dll File(s)? (tcl8*.dll, cygwin1.dll)
if errorlevel 8 goto cantload
goto success

:cantload
echo Could not reload the bot. =(
goto end

:success
echo Successfully Started Eggdrop (%botname% - %botscript%).

:end
jaja is offline   Reply With Quote