Thread: dzsbot timeout
View Single Post
Old 09-08-2004, 04:32 PM  
MaNiAx
Junior Member
 
Join Date: Jan 2004
Posts: 10
Post problem?

################################################## #######
# This script is part of zipscript-c made by dark0n3 #
# Ported by B0unTy for ioFTPD community #
################################################## #######
# BASIC CONFIG #
################################################## #######
set location(IODIR) "C:/ioFTPD"
set location(IOLOG) "C:/ioFTPD/logs"
set location(RULES) "C:/ioFTPD/help/rules.msg"
# need ioA 1.0.5+
set location(NUKESLOG) "C:/ioFTPD/scripts/ioA/ioA.nuke.log"
set location(UNNUKESLOG) "C:/ioFTPD/scripts/ioA/ioA.unnuke.log"
set location(CMDSLOG) "C:/ioFTPD/scripts/ioA/ioACommands.log"

# IF YOU DON'T KNOW WHAT TO CHANGE !!! DON'T TOUCH ANY MSGTYPES !!!
set msgtypes(RACE) "IMDB ALLOCINE NFOURL NFO NEWDATE WIPE NEWDIR DELDIR INCOMPLETE NUKE UNNUKE PRE WARN RACE SFV UPDATE HALFWAY NEWLEADER COMPLETE STATS"
set msgtypes(DEFAULT) "INVITE LOGIN LOGOUT REQUEST REQFILLED REQDEL GIVE TAKE BTRIAL OPEN CLOSE"

set sitename "MaNSiON"
set cmdpre "!m"

# SETUP THIS ONLY IF YOU HAVE BNC for your SERVER
set bnc(LIST) "stuff.goes.in.here:1111"
set bnc(USER) "sitebot"
set bnc(PASS) "sitebotpwd"
set bnc(TIMEOUT) 3

# EXTERNAL EXE PATH CONFIGURATION HERE
set binary(PASSCHK) "C:/ioFTPD/scripts/bin/ioPasswd.exe"
set binary(DF) "C:/ioFTPD/scripts/bin/ioDiskSpace.exe"
set binary(NCFTPLS) "C:/ioFTPD/scripts/bin/ncftpls.exe"
set binary(CURL) "C:/ioFTPD/scripts/bin/curl.exe"
set binary(FIND) "C:/ioFTPD/scripts/bin/find.exe"
set binary(IOA) "C:/ioFTPD/scripts/ioA/ioa.exe"
set binary(IOGROUP) "C:/ioFTPD/scripts/iogroups/iogroups.exe"
set binary(UPTIME) "C:/ioFTPD/scripts/iouptime/ioUptime.exe"
set binary(SITEKILL) "C:/ioFTPD/scripts/sitekill/sitekill.exe"
set binary(WHO) "C:/ioFTPD/scripts/sitewho/sitewho.exe"
#set binary(UNDUPE) "C:/ioFTPD/scripts/undupe.exe" ;# THIS REQUIRE DUPELOGGER 1.1

# SETUP HERE YOUR SECTIONS
set sections "ODAY APPS DVDR GAMES MP3 REQUESTS SVCD VCD XBOX XXX"

# !!! THE LOGICAL DRIVE LETTER SHOULD BE WRITED IN UPPER CASE !!!
# !!! Exemple: C: or D: or E: ...but without \ at the end !!!
# !!! OTHER ARGS SHOULD RESPECT $sections variable ABOVE !!!
set device(0) "E: ODAY APPS DVDR GAMES MP3 REQUESTS SVCD VCD XBOX XXX"
set device(TOTAL) 1
set device(COLUMN) 2

################################################## #######
# SETUP EATCH PATH YOU NEED LIKE THIS #
# set paths(section) "/vfs_path/*" (vfs format) #
# set type(section) "RACE" #
# set chanlist(section) "#chan1 #chan2" #
################################################## #######
set paths(ODAY) "/ODAY/*"
set type(ODAY) "RACE"
set chanlist(ODAY) "#somechan"

set paths(APPS) "/APPS/*"
set type(APPS) "RACE"
set chanlist(APPS) "#somechan"

set paths(DVDR) "/DVDR/*"
set type(DVDR) "RACE"
set chanlist(DVDR) "#somechan"

set paths(GAMES) "/GAMES/*"
set type(GAMES) "RACE"
set chanlist(GAMES) "#somechan"

set paths(MP3) "/MP3/*"
set type(MP3) "RACE"
set chanlist(MP3) "#somechan"

set paths(REQUESTS) "/REQUESTS/*"
set type(REQUESTS) "RACE"
set chanlist(REQUESTS) "#somechan"

set paths(SVCD) "/SVCD/*"
set type(SVCD) "RACE"
set chanlist(SVCD) "#somechan"

set paths(VCD) "/VCD/*"
set type(VCD) "RACE"
set chanlist(VCD) "#somechan"

set paths(XBOX) "/XBOX/*"
set type(XBOX) "RACE"
set chanlist(XBOX) "#somechan"

set paths(XXX) "/XXX/*"
set type(XXX) "RACE"
set chanlist(XXX) "#smechan"

set chanlist(DEFAULT) "#somechan"
set chanlist(INVITE) "#somechan"
set chanlist(WELCOME) "#somechan"

################################################## #######
# MSGTYPES: ENABLE=0 or DISABLE=1 announces
set disable(NEWDIR) 0
set disable(DELDIR) 0
set disable(WIPE) 0
set disable(PRE) 0
set disable(INVITE) 0
set disable(NUKE) 0
set disable(UNNUKE) 0
set disable(LOGIN) 1
set disable(LOGOUT) 1
set disable(NEWDATE) 0
set disable(REQUEST) 0
set disable(REQFILLED) 0
set disable(REQDEL) 0
set disable(INCOMPLETE) 0
set disable(GIVE) 0
set disable(TAKE) 0
set disable(IMDB) 0
set disable(ALLOCINE) 0
set disable(NFOURL) 0
set disable(NFO) 0

# ZIPSCRIPT: ENABLE=0 or DISABLE=1 announces
set disable(WARN) 0
set disable(RACE) 0
set disable(SFV) 0
set disable(UPDATE) 0
set disable(HALFWAY) 0
set disable(NEWLEADER) 0
set disable(COMPLETE) 0
set disable(STATS) 0

# SITEWHO: ENABLE=0 or DISABLE=1 announces
set disable(WHO) 0
set disable(SPEED) 0
set disable(BW) 0
set disable(UPLOADER) 0
set disable(LEECHER) 0
set disable(IDLER) 0

# BTRIAL: ENABLE=0 or DISABLE=1 announces
set disable(BTRIAL) 0

# OCSCRIPT: ENABLE=0 or DISABLE=1 announces
set disable(OPEN) 0
set disable(CLOSE) 0

# INDEPENDENTS: ENABLE=0 or DISABLE=1 announces
set disable(WELCOME) 0
set disable(NCFTPLS) 0
set disable(REQUESTSHOW) 0
set disable(REQUESTIRC) 0
set disable(REQDELIRC) 0
set disable(REQFILLEDIRC) 0
set disable(SEARCHIRC) 0
set disable(MSGINVITE) 0
set disable(BADMSGINVITE) 0
set disable(FREE) 0
set disable(NUKES) 0
set disable(UNNUKES) 0
set disable(PRES) 0
set disable(AFFILS) 0
set disable(BANNED) 0
set disable(RULES) 0
set disable(GETRULES) 0
set disable(GETNFO) 0
set disable(UPTIME) 0
set disable(APPROVE) 0
set disable(VERSION) 0
set disable(DEFAULT) 1

################################################## #######
# AFFILS CONFIG, EDIT THIS IF YOU NEED IT #
# set affils(section) "GRP1 GRP2 GRP3" #
################################################## #######
set affils(APPS) "GRP1 GRP2 GRP3"
set affils(DIVX) "GRP4 GRP5 GRP6"
set affils(MP3) "GRP7 GRP8 GRP9"
set affils(0DAY) "GRP10 GRP11 GRP12"

################################################## #######
# BANNED GRPS CONFIG, EDIT THIS IF YOU NEED IT #
# set banned(section) "GRP1 GRP2 GRP3" #
################################################## #######
set banned(APPS) "GRP1 GRP2 GRP3"
set banned(DIVX) "GRP4 GRP5 GRP6"
set banned(MP3) "GRP7 GRP8 GRP9"
set banned(0DAY) "GRP10 GRP11 GRP12"

################################################## #######
# IMDB CONFIG: ENABLE=0 or DISABLE=1 #
# work only if "set disable(IMDB) 0" #
################################################## #######
set disable(IMDBANNOUNCE) 0 ; # announce imdb infos in channel
set disable(IMDBURL) 0 ; # create imdb .url link in dir
set disable(IMDBTAG) 1 ; # create a tag in dir with imdb infos
set disable(IMDBMSG) 0 ; # create file(s) with imdb infos stored in dir

# setup here the filenames you want imdb infos stored in dir
set IMDBMSG_MSG ".ioFTPD.IMDB imdb.nfo"

# setup the IMDBTAG "dir" or "file"
set IMDBTAG "dir"

# IMDBMSG STYLE if you use project-zs set 0 else ioZS set 1
set IMDBMSG_STYLE 0

# set IMDB_ALT 0 = use the internal tcl http 2.4 package
# set IMDB_ALT 1 = use the external curl.exe
set IMDB_ALT 0

################################################## #######
# IOA CONFIG, EDIT THIS IF YOU USE IOA.exe from WarC #
################################################## #######
## Complete path to requests file. Make sure it exist
set ioa(REQFILE) "e:/site/requests/.ioFTPD.message"

# The max. number for searches output to give back
set ioa(MAXSRCH) 15

# set to 0 = all results will be sent as private message (default)
# set to 1 = all results will be sent publicly to the DEFAULT channel
set ioa(SEARCHIRC) 1
set ioa(REQUESTS) 1
set ioa(NUKES) 0
set ioa(UNNUKES) 0
set ioa(PRES) 0

# The max. number for nukes/unnukes/pres output
set ioa(MAX) 30

# The default number for nukes/unnukes/pres output
set ioa(DEFAULT) 10

# experimental settings are: "TRUE FALSE" (uppercase)
set ioa(GMT) "TRUE"

################################################## #######
# POST STATS CONFIG: #
################################################## #######
# set to 0 = all results will be sent as private message (default)
# set to 1 = all results will be sent publicly to the channel
set poststats(OUTPUT) 0

# The max. number for poststats output
set poststats(MAX) 30

# The default number for poststats output
set poststats(DEFAULT) 10

################################################## #######
# IRCSTATS CONFIG: #
################################################## #######
# ENABLE=0 or DISABLE=1 IRCSTATS announce
set disable(IRCSTATS) 1

# set the USERSTATS requested for output
# settings are: "alldn allup monthup monthdn wkup wkdn dayup daydn" (lowercase)
set ircstats(USR) "dayup"

# set the GROUPSTATS requested for output
# settings are: "alldn allup monthup monthdn wkup wkdn dayup daydn" (lowercase)
set ircstats(GRP) ""

# set the max TOP number to output (3 = will output TOP 3)
set ircstats(MAX) 3

# set the time frequency for ircstats output
# you can add multiple 'bind time - ......' lines to set different times
# syntax: bind time - "<mins> <hour> <day> <month> <year>" proc_ircstats
# <mins> <hour> <day> <month> are two characters long. <year> is four characters long.
# !!! If you modify the time frequency you should restart your eggy (not rehash) !!!

bind time - "00 00 * * *" proc_ircstats ; # here is every days @ 00:00
#bind time - "00 * * * *" proc_ircstats ; # here is every hours

################################################## #######
# SITEKILL CONFIG: #
################################################## #######
# ENABLE=0 or DISABLE=1 SITEKILL usage
set disable(SITEKILL) 0

# set the SiteKill exceptions (!!READ MANUAL!!)
set SK_EXCEPTIONS "group!=ioftpd"

# set the IdleTime Limit
set IT_LIMIT 120

################################################## #######
# UNDUPE CONFIG: #
################################################## #######
# ENABLE=0 or DISABLE=1 UNDUPE usage
set disable(UNDUPE) 1

# set UNDUPE_ALT 0 = undupe for NEWDIR 3.2.0+ users (default)
# set UNDUPE_ALT 1 = undupe for DUPELOGGER 1.1 users
# !!! if you use DUPELOGGER 1.1 you can use wildcards in argument !!!
set UNDUPE_ALT 0


################################################## #######
# FIND CONFIG: #
################################################## #######
# REQUIRED FOR !APPROVE & !INCOMPLETE
# set here all physical paths you want find.exe to monitor
# syntax : set find_path "<physical/path1>|<maxdepth#> <physical/path2>|<maxdepth#> ...etc"
# You can adjust the dated paths using cookies below (then don't forget to adjust maxdepth)
# date syntax: day=%d , week=%W , month=%m , year(2digits)=%y , year(4digits)=%Y
set find_path "e:/site/apps|1 e:/site/dvdr|1 e:/site/games|1 e:/site/request|1 e:/site/svcd|1 e:/site/vcd|1 e:/site/xbox|1 e:/site/xxx|1 e:/site/mp3/%m%d|1 e:/site/0day/%m%d|1"
# set here your incomplete tag
set inc_tag "(incomplete)-*"

################################################## #######
# ADVANCED CONFIG, EDIT _VERY_ CAREFULLY #
################################################## #######
# !!! denypost is CASE SENSITIVE !!!
set denypost "*Done* *Complete* *COMPLETE* *Nuked* *IMDB* */ADMIN* */PRE*"
set hidenuke "UNKNOWN"

## Defining variables for announce
#
# Special variables:
# %pf = path filter, must be the first parameter and contain full path of the release, it defines:
# %release = Last directory in path ( /site/xxx/marissa-exxtasy/cd1 => cd1 )
# %path = Second last directory in path ( /site/xxx/marissa-exxtasy/cd1 => marissa-exxtasy )
# %relname = all directories after those defined in paths
# ( paths(ISO) = "/site/xxx/" does: /site/xxx/marissa-exxtasy/cd1 => marissa-exxtasy/cd1 )
#

# !!! MODIFY _VERY_ CAREFULLY ANY VARIABLES BELOW !!!
# !!! IF YOU DON'T KNOW WHAT CHANGE !!! DON'T CHANGE !!!

set variables(NEWDIR) "%pf %user %group"
set variables(DELDIR) "%pf %user %group"
set variables(LOGIN) "%service %user %group %tagline %host"
set variables(LOGOUT) "%service %user %group %tagline %host"
set variables(INVITE) "%user %group %ircnick"
set variables(WIPE) "%pf %user %group %dirs %files %size"
set variables(PRE) "%pf %user %group %files %mbytes %type %desc %ufo"
set variables(PREMP3) "%pf %user %group %files %mbytes %type %desc %ufo %genre %kbit %year"
set variables(REQUEST) "%user %group %request"
set variables(REQFILLED) "%user %group %request"
set variables(REQDEL) "%user %group %request"
set variables(NEWDATE) "%pf"
set variables(IMDB) "%pf %url %title %name %genre %plot %rating %votes %time %budget %screens %tagline %top250 %mpaa %country %language %soundmix %user %group"
set variables(ALLOCINE) "%pf %url %user %group"
set variables(NFOURL) "%pf %url %user %group"
set variables(NFO) "%pf %no %user %group"
set variables(GIVE) "%user %group %mb %target"
set variables(TAKE) "%user %group %mb %target"
set variables(DEFAULT) "%pf %msg"

# BTRIAL VARIABLE
set variables(BTRIAL) "%msg"

# OCSCRIPT VARIABLES
set variables(OPEN) "%user %group"
set variables(CLOSE) "%user %group %reason"

## Converts empty or zero variable to something else if defined
#
# Example:
# set zeroconvert(%user) "NoOne"

set zeroconvert(%group) ""

## Splits output line to smaller pieces
#
# To disable set it to "\n"

set splitter(CHAR) "\n"

## RANDOMIZING OUTPUT
#
# Example:
# set random(NEWDIR-0) "-%sitename- \[%section\] + %user@%group creates a directory called %release"
# set random(NEWDIR-1) "-%sitename- \[%section\] + %user@%group makes a directory called %release"
# set random(NEWDIR-2) "-%sitename- \[%section\] + %user@%group does mkdir %release"
# TYPE --------^ ^
# ID --------^
#
# set announce(NEWDIR) "random 3"
# TYPE ---------^ ^ ^
# RANDOM ----------^ ^
# # OF IDS ---------^

set announce(NEWDIR) "-%sitename- \[%section\] + New Release: %path/%bold%release%bold (%relname) by %bold%user%bold@%group"
set announce(DELDIR) "-%sitename- \[%section\] + Directory deleted: %path/%bold%release%bold by %bold%user%bold@%group"
set announce(LOGIN) "-%sitename- \[LOGIN\] + %bold%user%bold@%group has logged in"
set announce(LOGOUT) "-%sitename- \[LOGOUT\] + %bold%user%bold@%group has logged out"
set announce(NUKE) "-%sitename- \[%section\] + %path/%bold%release%bold was %ulinenuked %mult%ulinex by %bold%nuker%bold - reason: %reason - nukees: %nukees"
set announce(UNNUKE) "-%sitename- \[%section\] + %path/%bold%release%bold was %ulineunnuked %mult%ulinex by %bold%nuker%bold - reason: %bold%reason%bold - returned: %nukees"
set announce(INVITE) "-%sitename- \[INVITE\] + %bold%user%bold@%group invited himself as %bold%ircnick%bold"
set announce(MSGINVITE) "-%sitename- \[%section\] + %bold%user%bold@%group invited himself as %bold%ircnick%bold"
set announce(BADMSGINVITE) "-%sitename- \[%section\] + %bold%ircnick%bold (%host) tried to invite himself with invalid login!"
set announce(WIPE) "-%sitename- \[%section\] + %bold%user%bold@%group wiped %path/%bold%release%bold %sizeMB (%bold%files%bold files, %bold%dirs%bold dirs)"
set announce(NEWDATE) "-%sitename- \[%section\] + That's it! New day has come, change your current %bold%path%bold dir to %bold%release%bold"
set announce(PRE) "-%sitename- \[%section\] + %bold%user%bold launches new %bold%group-PRE%bold called %release (%bold%mbytes%boldM in %bold%files%boldF) in %bold%path%bold"
set announce(PREMP3) "-%sitename- \[%section\] + %bold%user%bold launches new %bold%group-PRE%bold called %release (%bold%mbytes%boldM in %bold%files%boldF - %bold%genre%bold - %bold%kbit%boldkbits - %bold%year%bold) in %bold%path%bold"
set announce(REQUEST) "-%sitename- \[REQUEST\] + %bold%request%bold added by %bold%user%bold@%group"
set announce(REQUESTIRC) "-%sitename- \[REQUEST\] + %bold%request%bold added by %bold%user%bold"
set announce(REQFILLED) "-%sitename- \[REQFILLED\] + %bold%request%bold filled by %bold%user%bold@%group"
set announce(REQDEL) "-%sitename- \[REQDEL\] + %bold%request%bold deleted by %bold%user%bold@%group"
set announce(IMDB) "-%sitename- \[%section\] + IMDB info for %bold%title%bold Directed by %name -> rated %uline%rating%uline (%votes votes) - genre: %genre - runtime: %timemin >> URL: %uline%url%uline >> %boldBudget:%bold %budget >> Opening Weekend: (USA) %screens"
set announce(ALLOCINE) "-%sitename- \[%section\] + Recieved info for %bold%path%bold URL: %uline%url%uline"
set announce(NFOURL) "-%sitename- \[%section\] + Recieved info for %bold%path%bold URL: %uline%url%uline"
set announce(NFO) "-%sitename- \[%section\] + %bold%user%bold@%group found a flyer for %bold%path%bold, called %bold%release%bold"
set announce(GIVE) "-%sitename- \[GIVE\] + Hey!! %bold%target%bold you are a lucky guy. %bold%user%bold@%group GAVE you %bold%mb%boldMB"
set announce(TAKE) "-%sitename- \[TAKE\] + Hey!! %bold%target%bold what's wrong with you? %bold%user%bold@%group TOOK you %bold%mb%boldMB"
set announce(BW) "-%sitename- \[%section\] + Uploaders: %uploaders@%bold%upspeed%boldkb/sec - Leechers: %leechers@%bold%dnspeed%boldkb/sec - Idlers: %bold%idlers%bold - Total: %totalusers@%bold%totalspeed%boldkb/sec"
set announce(UPTIME) "-%sitename- \[%section\] + %taskname started @ %EUdate %time, running for %dayd %hourh %minutem %seconds"
set announce(VERSION) "-%sitename- \[%section\] + ioFTPD %bold%iover%bold - dZSbot %bold%dzver%bold - Eggdrop %bold%eggver%bold - ioA %bold%ioaver%bold"
set announce(APPROVE) "-%sitename- \[%section\] + %bold%release%bold is approved by %bold%user%bold"
set announce(WELCOME) "Welcome to this site channel. Type ${cmdpre}help for help."
set announce(OPEN) "-%sitename- \[OPEN\] + %bold%user%bold@%group has opened the server"
set announce(CLOSE) "-%sitename- \[CLOSE\] + %bold%user%bold@%group has closed the server. Reason: %reason"

## NO RANDOMIZING OUTPUT with announces below
## IF YOU DON'T KNOW WHAT TO CHANGE !!! DON'T TOUCH !!!
set announce(UPLOAD) "-%sitename- \[%section\] + %bold%user%bold@%group is uploading %file @ %bold%speed%boldkb/sec"
set announce(LEECH) "-%sitename- \[%section\] + %bold%user%bold@%group is downloading %file @ %bold%speed%boldkb/sec - %tsizeMB/%fsizeMB (%progress%)"
set announce(IDLE) "-%sitename- \[%section\] + %bold%user%bold@%group is idle for %idletime - Online for %logintime"
set announce(NOUPLOAD) "-%sitename- \[%section\] + Ohh Noo !! Give us something to trade !!"
set announce(NOLEECH) "-%sitename- \[%section\] + Ohh Yeah !! We are free from Leechers !!"
set announce(NOIDLE) "-%sitename- \[%section\] + Yeah Good !! no ****ing Idlers online !!"
set announce(SPEED) "-%sitename- \[%section\] + %bold%user%bold@%group is %action %file @ %bold%speed%boldkb/sec"
set announce(AFFILS) "-%sitename- \[%section-AFFILS\] + %affils"
set announce(BANNED) "-%sitename- \[%section-BANNED\] + %banned"
set announce(NUKES) "-%sitename- \[%section\] + \[%cnt\] %date %release was nuked %multi by %nuker reason: %reason"
set announce(UNNUKES) "-%sitename- \[%section\] + \[%cnt\] %date %release was unnuked %multi by %nuker reason: %reason"
set announce(PRES) "-%sitename- \[%section\] + \[%cnt\] %release was preed %time ago by %user in %section"
set announce(IRCSTATS) "-%sitename- \[%section\] + %usrgrp %status: %result"
set announce(BNC) "-%sitename- \[%section\] + %host - %bold%status%bold %speed"
set announce(INCOMPLETE) "-%sitename- \[%section\] + %release"
# !!! add nothing after %msg in announce(DEFAULT) !!!
set announce(DEFAULT) "-%sitename- \[%section\] + %msg"
# BTRIAL ANNOUNCE
set announce(BTRIAL) "-%sitename- \[TRIAL\] + %msg"


# set the blowfish encrytion key (empty = no encryption)
set blfs(KEY) ""
# set the blowfish header tag
set blfs(HEADER) "mcps"
MaNiAx is offline   Reply With Quote