I've tried this *.bat which work perfectly when launching it myself :
@echo off
CD c:\tests\windrop
pslist eggdrop > nul
IF ERRORLEVEL 1 GOTO con
ECHO BOT STILL RUNNING (DiD NOTHiNG)
GOTO END
:CON
CD c:\tests\windrop
start hidewndw /r /n 'c:\tests\windrop\eggdrop.exe -nt eggdrop.conf'
ECHO BOT DOWN (RESTARTiNG iT)
:END
i added this line to ioFTPD.ini
OnFtpLogIn = EXEC ..\scripts\bot.bat
so i see what's going on when ioFTPD execute it, all i have is :
[R] 230-BOT DOWN (RESTARTiNG iT)
in status window, but bot haven't been launched.
Doesn't work aswell with "OnServerStart"
Any help would be apreciated.
|