| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552 |
- ###########################################################################
- # ® BLaCkShaDoW Production ® #
- # #
- # PRESENTS #
- ###########################################################################
- # ® #
- #### # #### ##### # # ##### ##### ##### # #####
- # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- #### # ###### # ## # # # # # # #####
- # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- #### ##### # # ##### # # # ##### ##### ##### #####
- # #
- # One TCL. One smart Eggdrop #
- ###########################################################################
- # #
- # ##### ###### # #
- # # # ## #
- # # # # # #
- # #### ###### # #
- # # # # #
- # # # # #
- # ##### # ##### # ##### #
- # #
- # #
- # THE NEXT GENERATION TCL #
- # #
- # - #TCL-HELP @ UNDERNET - #
- # #
- # Copyright 2008 - 2017 @ WwW.TCLScripts.NET #
- ###########################################################################
- # A Next Generation Channel Control Script that contains a lot of commands#
- # modules, and protections that make`s your life easy #
- # for you and for your Eggdrop. #
- # #
- ###########################################################################
- # NOTE: read the texts here carefully, i get many many emails asking #
- # questions which are actually answered in the manual. #
- # dont expect me to answer these mails :P #
- # #
- ###########################################################################
- # Special thanks to: #
- # o Time2Go [ #Tcl-Help Admin ] #
- # o Florian [ florian@tclscripts.net ] #
- # #
- # without whom this script would not have gone so far #
- # #
- # Thanks also to all those people who found bugs and reported them and to#
- # all users who joined #TCL-HELP and shared their ideas and suggestions. #
- # #
- ###########################################################################
- #-------------------------- Scripts directory ----------------------------#
- ### ###
- set black(dirname) "scripts"
- ###########################################################################
- #------------------------ Home Chan (Optional) ---------------------------#
- # Here you set your eggdrop's homechan. If you modify here the eggdrop #
- #will join homechan. If not leave it "#no_home_chan" or "" (empty) #
- ### ###
- set black(homechan) "#no_home_chan"
- ###########################################################################
- #---------------------------- First Char ---------------------------------#
- ### ###
- #First Char (use "none" for no chars)
- set black(cmdchar) "! . `"
- ###########################################################################
- #-------------------------- Default Language -----------------------------#
- ### ###
- #Default language of the script ( RO / EN )
- set black(default_lang) "RO"
- #-------------------------- Default host ---------------------------------#
- ### ###
- #Default hostmask for BOSS OWNER
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(hello:mask) "1"
- ###########################################################################
- #------------------------ Default Output Method --------------------------#
- ### ###
- #Default output method ( 0 - NOTICE ; 1 - CHAN ; 2 - MSG )
- set black(default_output) "0"
- ###########################################################################
- #------------------------ Default output colors --------------------------#
- ### ###
- #Colors list : bold, underline, red, blue, green, yellow, orange, cyan
- # grey, brown, purple, pink, black
- #You can choose 4 colors from the list (\002, \001, \005, \004)
- set black(default_colors) "red blue black red"
- ###########################################################################
- #-------------------------- Default Away ---------------------------------#
- ### ###
- #Default away (you can change'it online ofcourse.)
- set black(default_away) "I am using BlackTools 2.5.1 ;-)"
- ###########################################################################
- #------------------------- Default BanTime -------------------------------#
- #Chan bans removal (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(default:bantime) "120m"
- ###########################################################################
- #------------------------ Channel Remove Data ----=-----------------------#
- ### ###
- #Remove the BlackTools Data on channel remove ? (bans,excepts,greet..etc)
- # 1 - yes
- # 0 no
- set black(chanremove_all) "1"
- ###########################################################################
- #------------------------- Anti Command flood-----------------------------#
- ### ###
- #Antiflood for .h & .man commands (commands:seconds)
- set black(antiflood:cmd) "3:5"
- #-------------------------- Anti Message Flood ---------------------------#
- ### ###
- #Messages in seconds
- set black(msg:flood) "10:20"
- #Ignore time (minutes) (for those with access)
- set black(msg:flood:ignore_access) "1"
- #Ignore time (minutes) (for those without access)
- set black(msg:flood:ignore_others) "30"
- #-------------------------- Anti Notice Flood ----------------------------#
- ### ###
- #Notices in seconds
- set black(notice:flood) "3:5"
- #Ignore time (minutes)
- set black(notice:flood:notc_time) "10"
- #--------------------------- Join Flood ----------------------------------#
- ### ###
- #JoinFlood Protect (commands:seconds)
- set black(joinflood:protect) "4:8"
- #------------------------- Internal MsgFlood -----------------------------#
- ### ###
- #Setup this variable to '0:0' to deactivate it. BlackTools has protection
- #against flooding
- set flood-msg "0:0"
- #---------------------------- Lines flood protect ------------------------#
- ### ###
- #Number of entries per page when using - list - ( using -next for next entries)
- set black(modul:nr:entries) "5"
- #---------------------------- Internal BanTime ------------------------#
- ### ###
- #Setup this variable to 0 to deactivate it.
- #BlackTools use his own bantime procedure.
- set global-ban-time 0
- ###########################################################################
- #----------------------------- User Expire -------------------------------#
- ### ###
- #Expire Time (days)
- set black(user_expire_time) "180"
- ###########################################################################
- #------------------------ Anunt & BT Protection --------------------------#
- ### ###
- #How many entries to be shown until the modules stop because of the lack of activity
- #(joins,parts,ban,kick,quit,split,text)
- set black(entry:shown) "2"
- ###########################################################################
- ############################ Chanserv Login ###############################
- #-------------------------- Automaticaly Login ---------------------------#
- # 1 - yes ; 0 - no
- set black(autologin) "0"
- #---------------------------- Chanserv Name ------------------------------#
- set black(chanserv) "X"
- #---------------------------- Chanserv Host ------------------------------#
- set black(hostchanserv) "x@channels.undernet.org"
- #--------------------------- Chanserv User -------------------------------#
- set black(username) "Xusername"
- #--------------------------- Chanserv Pass -------------------------------#
- set black(password) "Xpassword"
- #----------------------------- Login Mode --------------------------------#
- set black(xmod) "+x"
- #------------------------ Chanserv Ignore Protect ------------------------#
- set black(chanserv:ignore_host) "*!*@undernet.org"
- #---------------------------- Chanserv Ban Time --------------------------#
- set black(chanserv:bantime) "1"
- #--------------------------- Chanserv Ban Level --------------------------#
- set black(chanserv:banlevel) "100"
- ###########################################################################
- #----------------------------- add command -------------------------------#
- #Default Hostname (%user% stands for the username added)
- set black(hostadd) "*!*@%user%.users.undernet.org"
- #--------------------------- adduser command -----------------------------#
- #This add command take's the hostname from the online <nick>
- #Default hostmask for adduser <nick>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(addusermask) "1"
- ##########################################################################
- #------------------------------ InviteBan -------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(inviteban:bantime) "3h"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(inviteban:banmask) "1"
- ##########################################################################
- #------------------------------- Antipub --------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antipub:bantime) "2d"
- #Words
- set black(antipubword) {
- "*#*"
- "*www.*"
- "*http://*"
- "*.ro"
- "*.com"
- "*/server*"
- }
- #Except words
- set black(antipubexcept) {
- "http://tclscripts.net"
- "http://mysite.co.jp"
- "#my_no_name_channel"
- }
- #Ban-Mode
- set black(antipubmode) ""
- #Ban-mode Time (Seconds)
- set black(antipubsecunde) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antipub:banmethod) "3"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antipub:banmask) "1"
- #########################################################################
- #------------------------------- Badhost -------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(badhost:bantime) "3h"
- #Words
- set black(badhostword) {
- "*pula*"
- "*pizda*"
- "*muie*"
- "*sugi"
- "mwie"
- "*pwla*"
- "*muisti*"
- "*fut*"
- "*fwt*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badhost:banmask) "1"
- #########################################################################
- #----------------------------- Antinotice ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antinotice:bantime) "2d"
- #Ban-Mode
- set black(antinoticemode) "mr"
- #Ban-mode Time (Seconds)
- set black(antinoticesecunde) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antinotice:banmethod) "3"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antinotice:banmask) "1"
- #########################################################################
- #------------------------------ AntiCTCP -------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antictcp:bantime) "3d"
- #Ban-Mode
- set black(antictcpmode) "m"
- #Ban-mode Time (Seconds)
- set black(antictcpsecunde) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antictcp:banmethod) "3"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antictcp:banmask) "1"
- #########################################################################
- #----------------------------- AntiBadWord -----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antibadword:bantime) "6h"
- #Words
- set black(antibadword) {
- "*pula*"
- "*pizda*"
- "*muie*"
- "*muist*"
- "*fut"
- "*fuck*"
- "*dick"
- "*suck*"
- "*whore*"
- "*wh0re*"
- "*futeo*"
- "*fute-o*"
- "*fututi*"
- "*blowjob*"
- "*anal*"
- "*dickest*"
- }
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antibadword:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antibadword:banmask) "1"
- ########################################################################
- #--------------------------- AntiLongText -----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antilongtext:bantime) "30m"
- #Char length
- set black(longchar) "215"
- #Ban Mode
- set black(longmode) "m"
- #Mode Time (Seconds)
- set black(longtimemode) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antilongtext:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antilongtext:banmask) "1"
- #######################################################################
- #------------------------- AntiBadQuitPart ---------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antibadquitpart:bantime) "1h"
- #Words
- set black(badquitpartwords) {
- "*www.*"
- "*http://*"
- "*#*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antibadquitpart:banmask) "1"
- #Except words
- set black(badquitpartexcept) {
- "http://tclscripts.net"
- "www.yoursite.com"
- "#mychannel"
- }
- #######################################################################
- #--------------------------- AntiJoinPart ----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antijoinpart:bantime) "30m"
- #Stay-Time
- set black(joinparttime) "5"
- #Ban-Mode
- set black(joinpartmode) "mr"
- #Ban-Mode Time (Seconds)
- set black(joinparttimemode) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antijoinpart:banmethod) "3"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antijoinpart:banmask) "1"
- #######################################################################
- #----------------------------- AntiSpam ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antispam:bantime) "6d"
- #Words
- set black(spamword) {
- "*#*"
- "*www.*"
- "*http://*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antispam:banmask) "1"
- #Cycle-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(spamcycle) "60m"
- #######################################################################
- #---------------------------- AntiRepeat -----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antirepeat:bantime) "10m"
- #Repeat Setting (number repeats:seconds)
- set black(antirepeat:repeats) "3:5"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antirepeat:banmethod) "5"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antirepeat:banmask) "1"
- #######################################################################
- #----------------------------- AntiColor -----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(anticolor:bantime) "10m"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(anticolor:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(anticolor:banmask) "1"
- #######################################################################
- #----------------------------- AntiBold ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
-
- set black(antibold:bantime) "10m"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antibold:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antibold:banmask) "1"
- #######################################################################
- #-------------------------- AntiUnderline ----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antiunderline:bantime) "10m"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antiunderline:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antiunderline:banmask) "1"
- #######################################################################
- #----------------------------- AntiCaps ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(anticaps:bantime) "10m"
- #Caps Char Length
- set black(anticapscount) "40"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(anticaps:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(anticaps:banmask) "1"
- #######################################################################
- #--------------------------- BadRealname -----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(badrealname:bantime) "2h"
- #Words
- set black(badfwords) {
- "*www.*"
- "*#*"
- "*http://*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badrealname:banmask) "1"
- #######################################################################
- #------------------------------ BadNick ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(badnick:bantime) "1h"
- #badNicks
- set black(badnickwords) {
- "*pula*"
- "*muie *"
- "pwla*"
- "pizda*"
- "laba*"
- "*gay*"
- "*fuck*"
- "*bitch*"
- "*slut*"
- "*cock*"
- "*shit*"
- "*sex*"
- "*pussy*"
- "*whore*"
- "*suck*"
- "*dick*"
- "*porn*"
- "*p0rn*"
- "*horny*"
- "*cuplu*"
- "*lesbi*"
- "*orgasm*"
- "*naked*"
- "*slave*"
- "*boobs*"
- "*dick*"
- "penis*"
- "*blowjob*"
- "*shit*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badnick:banmask) "4"
- #######################################################################
- #----------------------------- BadIdent ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(badident:bantime) "1h"
- #Words
- set black(badidentwords) {
- "*pula*"
- "*muie*"
- "*pwla*"
- "*pizda*"
- "*cunt*"
- "*shit*"
- "*fuck*"
- "*horny*"
- "*pussy*"
- "*dick*"
- "penis*"
- "*bitch*"
- "*blowjob*"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badident:banmask) "5"
- #######################################################################
- #-------------------------- AntiJoinFlood ----------------------------#
- #Join-Mode
- set black(modes) "mir"
- #Join-Mode Time (Seconds)
- set black(nomodetime) "22"
- #Op ALERT (1 - ON ; 0 - OFF)
- set black(fjoinhow) "1"
- #######################################################################
- #-------------------------- AntiChanFlood ----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antichanflood:bantime) "10m"
- #Number of repeats in seconds (X:Y)
- set black(antichanfloodrepeats) "4:5"
- #ChanMode
- set black(antichanflood:chanmode) "m"
- #ChanMode Time (seconds)
- set black(antichanflood:chanmodetime) "22"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(antichanflood:banmethod) "6"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antichanflood:banmask) "1"
- #######################################################################
- #---------------------------- NickFLood ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(nickflood:bantime) "10m"
- #Number of repeats in seconds (X:Y)
- set black(nickfloodrepeats) "3:120"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(nickflood:banmethod) "7"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(nickflood:banmask) "1"
- ############################### Modules ###############################
- #------------------------------- Quote -------------------------------#
- #Default time for showing "Quote of the Day" (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(quote:msgtime) "3h"
- #Output type (0 - MSG ; 1 - ACTION)
- set black(quote:outtype) "0"
- #------------------------------- VoiceMe -----------------------------#
- #Default time for voiceme message (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(voiceme:msgtime) "10m"
- #------------------------------- TopWords ----------------------------#
- #Default host for user storage
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(topwords:mask) "1"
- #######################################################################
- #------------------------------ GuestNick ----------------------------#
- #Default msg method (NOTICE, PRIVMSG, CHAN)
- set black(guestnick:msgmethod) "CHAN"
- #######################################################################
- #------------------------------- limit -------------------------------#
- #Default limit
- set black(limit:default) "10"
- #######################################################################
- #---------------------------- VoiceOnMsg -----------------------------#
- #Number of lines to pe said to receive VOICE
- set black(voiceonmsg:linenum) "7"
- #Max chan-idle time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(voiceonmsg:idletime) "25m"
- #######################################################################
- #------------------------------ BadChan ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(badchan:bantime) "6h"
- #Default badchannels
- set black(badcchannels) {
- "#badchan1"
- "#badchan2"
- "#badchan3"
- }
- #Default hostmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badchan:banmask) "1"
- #Badchan scantime (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(badchan:scantime) "30m"
- #Act-Method ( 1 - message, after 30 sec ban; 2 - ban)
- set black(badcbanmethod) "1"
- ########################################################################
- #-------------------------------- Anunt -------------------------------#
- #Show-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(anunttime) "90m"
- #MSg Type ( 1 - ACTION ; 0 - PRIVMSG )
- set black(anunthow) "0"
- ########################################################################
- #---------------------------- AutoBroadcast ---------------------------#
- #Show-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(bttime) "60m"
- #MSg Type ( 1 - ACTION ; 0 - PRIVMSG )
- set black(bthow) "1"
- #######################################################################
- #----------------------------- CloneScan -----------------------------#
- #Scan Time (minutes), <x>h (hours), <x>d (days)
- set black(clonescantime) "45m"
- #Max Clones
- set black(maxclone) "3"
- #Default banmask
- #1 - *!*@host
- #Ban-Time (minutes), <x>h (hours), <x>d (days)
- set black(clonescan:bantime) "180m"
- #######################################################################
- #-------------------------------- Seen -------------------------------#
- #Flood-Protection (searches : seconds)
- set black(seenflood) "4:5"
- #Expire Time (days)
- set black(seen:expire:time) "60"
- ########################################################################
- #-------------------------------- Greet -------------------------------#
- #Default greet method (NOTICE ; PRIVMSG)
- set black(greet:method) "NOTICE"
- ########################################################################
- #-------------------------------- Leave -------------------------------#
- #Default greet method (NOTICE ; PRIVMSG)
- set black(leave:method) "PRIVMSG"
- #Flood-Protection (joins:seconds)
- set black(leaveflood) "4:5"
- ########################################################################
- #------------------------------ AntiIdle ------------------------------#
- #Idle Scan Time (minutes), <x>h (hours), <x>d (days)
- set black(idleinterval) "45m"
- #Op max idle
- set black(idleopmax) "60"
- #Voice idle Max
- set black(idlevoicemax) "30"
- #HalfOP idle Max
- set black(idlehalfopmax) "30"
- ########################################################################
- #--------------------------------- Gag --------------------------------#
- #Gag-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(gag:bantime) "10m"
- #Default hostmask for gag <host>/<nick>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(gag:banmask) "2"
- ########################################################################
- #------------------------------- Private ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(private:bantime) "60m"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(private:banmask) "1"
- ########################################################################
- #--------------------------------- Next -------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(next:bantime) "1m"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(next:banmask) "1"
- ########################################################################
- #-------------------------------- Notes -------------------------------#
- #Expire time for Notes INBOX (days)
- set black(notes:expiretime) "30"
- ############################## Commands ################################
- #------------------------------- troll --------------------------------#
- #Default hostmask for troll <nick>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(troll:banmask) "1"
- ########################################################################
- #--------------------------------- dr ---------------------------------#
- #Default hostmask for dr <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(dr:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(dr:bantime) "15d"
- ########################################################################
- #--------------------------------- vr ---------------------------------#
- #Default hostmask for vr <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(vr:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(vr:bantime) "3d"
- ########################################################################
- #--------------------------------- bot --------------------------------#
- #Default hostmask for bot <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(bot:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(bot:bantime) "7d"
- ########################################################################
- #--------------------------------- b ----------------------------------#
- #Default hostmask for b <host> -level <time> [reason]
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(b:banmask) "1"
- #Default hostmask for b <host> <time> global [reason]
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(b:gl:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(b:bantime) "2d"
- ########################################################################
- #--------------------------------- n ----------------------------------#
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(n:banmask) "4"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(n:bantime) "2h"
- ########################################################################
- #--------------------------------- id ---------------------------------#
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(id:banmask) "5"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(id:bantime) "2h"
- ########################################################################
- #-------------------------------- spam --------------------------------#
- #Default hostmask for spam <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(spam:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(spam:bantime) "7d"
- ########################################################################
- #--------------------------------- bw ---------------------------------#
- #Default hostmask for bw <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(bw:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(bw:bantime) "1d"
- ########################################################################
- #--------------------------------- mb ---------------------------------#
- #Default hostmask for bw <nick>/<host>
- #5 - *!user@*
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(mb:bantime) "2d"
- ########################################################################
- #-------------------------------- black -------------------------------#
- #Default hostmask for black <time> <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(black:banmask) "1"
- ########################################################################
- #------------------------------- stick --------------------------------#
- #Default hostmask for stick <time> <nick>/<host>
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(stick:banmask) "1"
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(stick:bantime) "2d"
- ########################################################################
- #------------------------------ banlist -------------------------------#
- ########################################################################
- #--------------------------------- k ----------------------------------#
- ########################################################################
- #--------------------------------- s ----------------------------------#
- #default suspend time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(s:default_time) "2d"
- ########################################################################
- #------------------------------ ignore --------------------------------#
- #default ignore time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(ignore:default_time) "6h"
- ############################# The End ##################################
- set black(name) "BlackToolS"
- set black(author) "BLaCkShaDoW"
- set black(vers) "2.5.1"
- set black(site) "wWw.TclScriptS.NeT"
- bind evnt - init-server loginpublic
- bind time - "* * * * *" timer:login:check
-
- set black(loader_error) [catch {source $black(dirname)/BlackTools/BT.Loader.tcl} black(loader_error_stats)]
- if {$black(loader_error) == "1"} {
- die "\[BT\] Error. Couldn't load the \"BT Loader\". Reason: \"$black(loader_error_stats)\""
- }
- #Add the first channel (HOME)
- proc add:home:chan {chan} {
- global black
- channel add $chan
- }
- if {!($black(homechan) == "") && ![string equal -nocase $black(homechan) "#no_home_chan"]} {
- if {![validchan $black(homechan)]} {
- add:home:chan $black(homechan)
- }
- }
- #Start login
- loginpublic:start
- putlog "$black(name) $black(vers) by $black(author) Loaded *** The Future is Here ***"
- putlog "\[BT\] Language files loaded: [join [string toupper $black(current_lang)] ", "]"
- #unset the languages
- if {[info exists black(current_lang)]} {
- unset black(current_lang)
- }
|