Go Back   FlashFXP Forums > > > >

Eggdrop All eggdrop related questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-10-2004, 06:00 AM   #1
MonsterDK
Junior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 21
Default Bot restart and kill through ioFTPD

I've looked on the forums and got as far as below with this, which worked fine on an older version of ioFTPD but don't seem to work on latest version (ioFTPD 5.8.5).

I want to be able to log onto the client and restart the eggdrop bot using commands (site bot) and also to be able to kill it (site botkill).

for eggdrop kill i'm using...
BAT FILE.....
@echo off
c:\WindropIO****ed\pskill.exe eggdrop
:END

and in the ioFTPD.ini....
botkill = EXEC ..\scripts\botkill.bat
botkill = 1MS
The above works fine.



For eggdrop restart...
BAT FILE...
@echo off
CD c:\WindropIO****ed
pslist eggdrop > nul
IF ERRORLEVEL 1 GOTO con
ECHO BOT STILL RUNNING (DiD NOTHiNG)
GOTO END

:CON
CD c:\WindropIO****ed
start hidewndw /r /n 'c:\WindropIO****ed\eggdrop.exe -nt'
ECHO BOT DOWN (RESTARTiNG iT)

:END

and in the ioFTPD.ini...
bot = EXEC ..\scripts\restart.bat
bot = 1MS

The above does not give any errors but does NOT work
when the bat file is run on the machine manually it works fine so the bat file does work, just not as a command from ioFTPD..... anyone any ideas or solutions around this?
MonsterDK is offline   Reply With Quote
Old 12-18-2004, 04:42 PM   #2
JoeBAR
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 42
Default Re: Bot restart and kill through ioFTPD

Quote:
Originally posted by MonsterDK


:CON
CD c:\WindropIO****ed
start hidewndw /r /n 'c:\WindropIO****ed\eggdrop.exe -nt'
ECHO BOT DOWN (RESTARTiNG iT)

:END
I had it as :

cd /d c:\WindropIO****ed
start hidewndw /r eggdrop.exe -nt eggdrop.conf
ECHO BOT DOWN (RESTARTiNG iT)

i.e. no path to eggdrop.exe since we're already there, but specify conf filename.

Now I use firedaemon and it's all service... The trick to make FireDaemon to werk with eggdrop is in eggdrop.conf:

set userfile-perm 0666

Hope this helps
JoeBAR is offline   Reply With Quote
Reply

Tags
bat, bot, eggdrop, file, ioftpd

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:55 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)