Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-14-2005, 08:45 AM   #4
R2_2k
Junior Member
 
Join Date: Aug 2003
Posts: 13
Default

Quote:
Originally Posted by EwarWoo
I now have:
Code:
bind pub o|o !start proc_iostart

proc proc_iostart {nick uhost hand chan args} {
	global binary announce
	putquick "PRIVMSG $chan :-\[START\] + Attempting to start ioFTPD"
	cd c:/FTP-SERVER/ioFTPD/system
	set ps [exec pslist ioFTPD > nul]
	IF {$errorlevel == 1} {
			exec ioFTPD.exe 
			putquick "PRIVMSG $chan :-\[START\] + ioFTPD started"
	}
	Else {
		putquick "PRIVMSG $chan :-\[START\] + ioFTPD already running"
	}
	cd c:/FTP-SEVER/sitebot/
}

putlog "ioStart \[Loaded\]"
and still getting if is an invalid command :/

Think I'll leave the coding to you guys who know what you're doing. Hehe

Cheers for the help anyways bud, appreciated.

Okay Well try if else (tcl == case sensitive) so make all (unless otherwise known) cmds lowercase
R2_2k is offline  
 

Tags
ioftpd, putquick, restart, start, [start]


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 03:59 PM.

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