View Full Version : news annunce
Pretone
02-27-2005, 08:27 AM
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
madshadow
02-27-2005, 10:34 AM
chek the newdir.tcl et read the readme it's easy to install
Pretone
02-27-2005, 01:05 PM
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??
madshadow
02-27-2005, 01:43 PM
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
Pretone
02-27-2005, 01:55 PM
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??
madshadow
02-27-2005, 02:02 PM
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
Pretone
02-27-2005, 02:15 PM
ok tks
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.