Old 02-27-2005, 08:27 AM   #1
Pretone
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2004
Posts: 109
Default news annunce

Hi
I see on dzSbot present proc_news but don't find the proc on the botton......
I want that when I trigg !new on channel tell me te last 10 dir create on the site ......any idea? other to use newdir???? I install nxTools
Pretone is offline   Reply With Quote
Old 02-27-2005, 10:34 AM   #2
madshadow
Junior Member
 
Join Date: Aug 2004
Posts: 24
Default

chek the newdir.tcl et read the readme it's easy to install
madshadow is offline   Reply With Quote
Old 02-27-2005, 01:05 PM   #3
Pretone
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2004
Posts: 109
Default

I don't understand this

OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
;!!! this OnUploadComplete line must be added after any zipscript !!!
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl

and exactly
;!!! this OnUploadComplete line must be added after any zipscript !!!

what mean after any zipscript ...?? can help with an example??
Pretone is offline   Reply With Quote
Old 02-27-2005, 01:43 PM   #4
madshadow
Junior Member
 
Join Date: Aug 2004
Posts: 24
Default

here for example:

[FTP_Custom_Commands]
## SITE <trigger> <parameters>
#
trigger = !file # Show file
trigger = @string # Alias
trigger = EXEC script.exe # Execute file.exe
trigger = %EXEC script.exe # Execute file.exe (translate cookies)
trigger = TCL script.itcl # Execute file.itcl
#
## Examples
welcome = !..\text\ftp\welcome.msg
rehash = @config rehash
exec = EXEC ..\scripts\exec.bat
myinfo = %TCL ..\scripts\whoami.itcl %[$user]
cat = TCL ..\scripts\showfile.itcl
#
EXEC = ..\scripts\Exec\exec.bat
TCL = TCL ..\scripts\EggTalk\bottalk.itcl
new = TCL ..\scripts\newdir\OnSiteNew.itcl
undupe = TCL ..\scripts\newdir\OnSiteUndupe.itcl
dupe = TCL ..\scripts\newdir\OnSiteDupe.itcl
version = TCL ..\scripts\version\OnSiteVersion.itcl
madshadow is offline   Reply With Quote
Old 02-27-2005, 01:55 PM   #5
Pretone
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2004
Posts: 109
Default

the line
;!!! this OnUploadComplete line must be added after any zipscript !!!
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl

must put on after all zip script or only 1 at the end of section??
Pretone is offline   Reply With Quote
Old 02-27-2005, 02:02 PM   #6
madshadow
Junior Member
 
Join Date: Aug 2004
Posts: 24
Default

I give my example

[Events]
OnUploadError = TCL ..\scripts\newdir\OnUploadError.itcl
;OnUploadComplete = EXEC d:\test.bat
;OnDownloadError =
;OnDownloadComplete =
;OnResume =
;OnUpload =
OnNewDir = TCL ..\scripts\newdir\OnNewDir.itcl
OnDelDir = TCL ..\scripts\newdir\OnDelDir.itcl
;OnLogIn =
OnServerStart = TCL ..\scripts\newdir\OnServerStart.itcl
;OnServerStop =
;OnServiceStart =
;OnServiceStop =
OnFtpLogIn = EXEC ..\scripts\ioA\ioA.exe logon
OnUploadComplete = EXEC ..\scripts\ioZS\ioZS.exe Upload
OnUploadComplete = TCL ..\scripts\newdir\OnUploadComplete.itcl
madshadow is offline   Reply With Quote
Old 02-27-2005, 02:15 PM   #7
Pretone
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Aug 2004
Posts: 109
Default

ok tks
Pretone is offline   Reply With Quote
Reply

Tags
create, dir, idea, newdir, site

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:02 AM.

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