| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848 |
- ###########################################################################
- # _ _ _ _ _ _ _ _ _ _ _ _ _ _ #
- # / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ #
- # ( T | C | L | S | C | R | I | P | T | S | . | N | E | T ) #
- # \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ #
- # #
- # ® BLaCkShaDoW Production ® #
- # #
- # PRESENTS #
- ###########################################################################
- # ® #
- #### # #### ##### # # ##### ##### ##### # #####
- # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- #### # ###### # ## # # # # # # #####
- # # # # # # # # # # # # # # #
- # # # # # # # # # # # # # # #
- #### ##### # # ##### # # # ##### ##### ##### #####
- # #
- # One TCL. One smart Eggdrop. #
- # #
- # ##### ###### ##### #
- # # # # #
- # # # # #
- # #### ###### ##### #
- # # # # #
- # # # # #
- # ##### # ###### # ##### #
- # #
- # #
- # THE NEXT GENERATION TCL #
- # #
- # - #TCL-HELP @ UNDERNET - #
- # #
- # Copyright 2008 - 2021 @ WwW.TCLScripts.NET #
- # #
- ###########################################################################
- # #
- # BlackTools: #
- # The Ultimate Channel Control Script that contains a lot #
- # of commands, modules and protections to make your #
- # life easy for you and for your Eggdrop. #
- # #
- ###########################################################################
- # #
- # Minimum requirements: #
- # o Eggdrop 1.8.x #
- # o Tcl >= 8.5 #
- # #
- ###########################################################################
- # #
- # 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 to the many people who have contributed over the years, in a #
- # variety of ways. Also to all those users who joined #TCL-HELP to report#
- # bugs or to share their ideas, tips and suggestions. #
- # #
- ###########################################################################
- # #
- # Official links: #
- # Download : http://blacktools.tclscripts.net #
- # Bugs report : http://www.tclscripts.net #
- # History : http://www.tclscripts.net/release-notes #
- # GitHub page : https://github.com/tclscripts/BlackToolS-TCL-script #
- # Online help : irc://irc.undernet.org/tcl-help #
- # #
- # paypal.me/DanielVoipan = Please consider a donation. Thanks! #
- # #
- ###########################################################################
- # #
- # You want a customised TCL Script for your eggdrop? #
- # Easy-peasy, just tell us what you need! #
- # We can create almost anything in TCL based on your ideas and donations. #
- # Email blackshadow@tclscripts.net or info@tclscripts.net with your #
- # request informations and we'll contact you as soon as possible. #
- # #
- ###########################################################################
- #-------------------------- Scripts directory ----------------------------#
- ### ###
- set black(dirname) "scripts"
- ###########################################################################
- #-------------------------- AutoUpdate Module ----------------------------#
- ### ###
- ###
- #If you want the autoupdate to be turned off completely, set here "0"
- set black(update_on) "1"
- ###
- #How do you want for the update to be made
- # 0 - autoupdate on TIME interval and by command
- # 1 - update ONLY on command
- set black(update_type) "1"
- ###
- #Do you want the eggdrop to send NOTE to BOSS OWNER if a new update is found?
- # (only when autoupdate is turned off)
- # 0 - no
- # 1 - yes
- set black(update_note) "1"
- ###
- #Time interval check (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(update_time_check) "60m"
- ###########################################################################
- #----------------------------- AntiBotIdle -------------------------------#
- ### ###
- ###
- #Enable antibotidle for eggdrop ? [1 - no idle ; 0 ; - idle]
- set black(antibotidle_status) "0"
- ###########################################################################
- #-------------------------------- Dns Host ------------------------------#
- ### ###
- ###
- #Enable DNS-onjoin ? 0 - no ; 1 - yes (please be advised that it will make
- #the bot a bit slower on big channels with lot of joins)
- set black(dns_onjoin) "0"
- #This host excepts will not receive DNS onjoin, onban etc to improve the
- #performance of the eggdrop.
- set black(dns:host_excepts) {
- "*.users.undernet.org"
- "undernet.org"
- }
- ###########################################################################
- #------------------------ 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 / ES / FR)
- set black(default_lang) "EN"
- ###########################################################################
- #-------------------------- 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)
- #Suggestion: red blue black red
- set black(default_colors) "bold underline none underline"
- ###########################################################################
- #-------------------------- Default Away ---------------------------------#
- ### ###
- #Default away (you can change'it online ofcourse.)
- set black(default_away) "BlackTools 2.5.5 - The Next Generation TCL - www.TCLScripts.Net"
- ###########################################################################
- #------------------------- 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 User 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 Mass Message Flood ------------------------#
- ### ###
- #Number of users message in seconds
- set black(mass:msg:flood) "4:5"
- #silence time (seconds)
- set black(mass:msg:silence_time) "60"
- ###########################################################################
- #-------------------------- Anti Notice Flood ----------------------------#
- ### ###
- #Notices in seconds
- set black(notice:flood) "3:5"
- #Ignore time (minutes)
- set black(notice:flood:notc_time) "10"
- ###########################################################################
- #-------------------------- Chanserv MASSBAN -----------------------------#
- #Time to execute chanserv suspend (must have +400 access)
- set black(chanserv:suspend_time) "1d"
- #Level to execute chanserv suspend (must have +400 access)
- set black(chanserv:suspend_level) "400"
- #How many percent from channel users the ban should cover in order for
- #eggdrop to identify as being a massban
- set black(chanserv:percent_ban) "50%"
- ###########################################################################
- #--------------------------- 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 uses his own bantime procedure.
- set global-ban-time 0
- ###########################################################################
- #------------------------------ Full Banlist --------------------------#
- ### ###
- #Setup here how many bans to remove if FULLBANLIST
- set black(fullbanlist_remove) "10"
- #Chanmodes to put while clearing bans
- set black(fullbanlist_modes) "mi"
- #Chanmode hold time (seconds)
- set black(fullbanlist_hold_mode) "35"
- ###########################################################################
- #----------------------------- User Expire -------------------------------#
- ### ###
- #Expire Time (days)
- set black(user_expire_time) "180"
- ###########################################################################
- #------------------------------ AutoStop ---------------------------------#
- ### ###
- #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"
- ###########################################################################
- #-------------------------- Ban Method Memory Expire ---------------------#
- ###
- #Set here after what period of time the banmethod memory expires
- set black(banmethod_memory_time) "60m"
- ###########################################################################
- ############################ 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"
- ###########################################################################
- ########################### NickServ Identify #############################
- #------------------------ Automaticaly identify --------------------------#
- # 1 - yes ; 0 - no
- set black(nickserv:identify) "0"
- #--------------------------- Nickserv Host -------------------------------#
- set black(nickserv:host) "NickServ@services.dal.net"
- #--------------------------- Nickserv Pass -------------------------------#
- set black(nickserv:pass) "NickServPassword"
- ###########################################################################
- #----------------------------- Webchat Ban -------------------------------#
- #If a user has one of these hosts and receives BAN
- #the banmask will contain only the IDENT.
- set black(webchat_hosts) {
- "*.mibbit.com"
- "*.kiwiirc.com"
- "*.irccloud.com"
- "*!*@64.62.228.82"
- "*!*@78.129.202.38"
- "*!*@87.98.219.117"
- "*!*@107.161.19.53"
- "*!*@107.161.19.109"
- "*!*@109.169.31.4"
- "*!*@109.169.29.95"
- "*!*@192.184.8.73"
- "*!*@192.184.9.110"
- "*!*@192.184.10.9"
- "*!*@192.184.10.118"
- "*!*@195.154.53.5"
- "*!*@195.154.52.250"
- "*!*@207.192.75.252"
- "*!*@212.83.148.225"
- "*!*@aaa"
- }
- ###########################################################################
- #----------------------------- add command -------------------------------#
- #Default Hostname (%user% stands for the username added)
- #If <user> is not on chan.
- set black(hostadd) "*!*@%user%.users.undernet.org"
- #Hostmask for add <nick>
- #if <user> is on chan
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(hostdefaultadd) "2"
- ##########################################################################
- #------------------------------ 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) "2"
- ##########################################################################
- #------------------------------- Antipub --------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antipub:bantime) "2d"
- #Words
- set black(antipubword) {
- "*#*"
- "*www.*"
- "*http://*"
- "*https://*"
- "*.ro"
- "*.com"
- "*/server*"
- }
- #Except words
- set black(antipubexcept) {
- "*tclscripts.net"
- "*youtube.com*"
- "*youtu.be*"
- "http://yoursite.co"
- "#name_channel"
- }
- #Ban-Mode
- set black(antipubmode) ""
- #Ban-mode Time (Seconds)
- set black(antipubsecunde) "45"
- #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) "6"
- #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*"
- "*fuck*"
- "*blowjob*"
- }
- #Except words
- set black(badhostexcept) {
- "populatie"
- "except2"
- "except3"
- }
- #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) "45"
- #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) "mC"
- #Ban-mode Time (Seconds)
- set black(antictcpsecunde) "45"
- #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 (You can add them with a specific method of action)
- #Ex : *word*:<number> (see action methods numbers below)
- set black(antibadword) {
- "*pula*:3"
- "*pizda*"
- "*muie*"
- "*fuck*"
- "*blowjob*"
- }
- #Except words
- set black(except_badwords) {
- "populatie"
- "muiere"
- }
- #Ban-Mode
- set black(badwordmode) ""
- #Ban-mode Time (Seconds)
- set black(badwordsecunde) "45"
- #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) "45"
- #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://*"
- "*https://*"
- "*#*"
- }
- #Except words
- set black(badquitpartexcept) {
- "except1"
- "except2"
- }
- #BadQuitPart Message Flood (characters number)
- set black(badquitpartmsgchar) "120"
- #Ban-Mode
- set black(badquitpartmode) "m"
- #Ban-mode Time (Seconds)
- set black(badquitpartsecunde) "45"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antibadquitpart:banmask) "2"
- #Except words
- set black(badquitpartexcept) {
- "http://tclscripts.net"
- "www.yoursite.com"
- "#name_channel"
- }
- #######################################################################
- #----------------------------- AntiSpam ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antispam:bantime) "6d"
- #Antispam Words
- set black(spamword) {
- "*#*"
- "*www.*"
- "*http://*"
- "*https://*"
- }
- #Except words
- set black(spamwordexcept) {
- "#chan1"
- "www.myexcept.ro"
- }
- #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) "7"
- #if you want to punish only on specific colors, set here the colors like
- # "\00308 \00312" if not, leave it ""
- set black(anticolor:specific_colors) ""
- #Ban-Mode
- set black(antirepeatmode) ""
- #Ban-mode Time (Seconds)
- set black(antirepeatsecunde) "45"
- #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) "7"
- #Ban-Mode
- set black(anticolormode) "c"
- #Ban-mode Time (Seconds)
- set black(anticolorsecunde) "45"
- #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) "7"
- #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) "7"
- #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) "50"
- #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) "7"
- #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://*"
- "*https://*"
- }
- #Except words
- set black(badfexcept) {
- "except1"
- "except2"
- }
- #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*"
- "*pizda*"
- "*muie*"
- "*fuck*"
- "*blowjob*"
- }
- #Except words
- set black(badnickexcept) {
- "except1"
- "except2"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badnick:banmask) "4"
- #Act-Method ( 1 - message, after <X> sec ban; 2 - ban)
- set black(badnbanmethod) "1"
- #if act-method set to 1, set here the time to wait before rescan (seconds)
- set black(badnbanwait) "30"
- #######################################################################
- #----------------------------- BadIdent ------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(badident:bantime) "1h"
- #Words
- set black(badidentwords) {
- "*pula*"
- "*pizda*"
- "*muie*"
- "*fuck*"
- "*blowjob*"
- }
- #Except words
- set black(badidentexcept) {
- "except1"
- "except2"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(badident:banmask) "5"
- #######################################################################
- #-------------------------- AntiJoinFlood ----------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(antijoinflood:bantime) "1h"
- #Join-Mode
- set black(modes) "mr"
- #Join-Mode Time (Seconds)
- set black(nomodetime) "45"
- #Op ALERT (1 - ON ; 0 - OFF)
- set black(fjoinhow) "0"
- #Number of joins per user in seconds (joins:seconds)
- set black(antijoinflood_user_joins) "3:15"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(antijoinflood:banmask) "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) "mr"
- #ChanMode Time (seconds)
- set black(antichanflood:chanmodetime) "45"
- #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"
- #Ban-Mode
- set black(nickfloodmode) ""
- #Ban-mode Time (Seconds)
- set black(nickfloodsecunde) "45"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(nickflood:banmask) "3"
- #######################################################################
- #------------------------ Repetitive chars ---------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(repetitivechars:bantime) "10m"
- #Number of repetitive chars in a line
- set black(repetitivechars:num) "10"
- #Action-Method
- #1 - warn
- #2 - kick
- #3 - ban
- #4 - warn -> kick
- #5 - warn -> kick -> ban
- #6 - kick -> ban
- #7 - warn -> ban
- set black(repetitivechars:banmethod) "7"
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(repetitivechars:banmask) "2"
- #########################################################################
- #------------------------------- NoProxy -------------------------------#
- #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(noproxy:bantime) "1h"
- #Excepts hosts from checking
- set black(noproxy:excepts) {
- "*users.undernet.org"
- "undernet.org"
- }
- #Default banmask
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(noproxy:banmask) "1"
- ############################### Modules ###############################
- #------------------------------- Vote --------------------------------#
- #Default hostmask for Voting
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(vote:mask) "1"
- #Default voting type (1 - for valid users, 0 - for all users)
- set black(vote:type) "0"
- #######################################################################
- #------------------------------- Quote -------------------------------#
- #Default time for showing "Quote of the Day" (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(quote:msgtime) "3h"
- #Who can use quote ? (0 - users with access ; 1 - all users)
- set black(quote:usage) "0"
- #######################################################################
- #------------------------------- VoiceMe -----------------------------#
- #Default time for voiceme message (<x>m (minutes), <x>h (hours), <x>d (days))
- set black(voiceme:msgtime) "25m"
- #######################################################################
- #------------------------------- TopWords ----------------------------#
- #Default host for user storage
- #1 - *!*@host
- #2 - *!user@host
- #3 - nick!user@host
- #4 - nick!*@*
- #5 - *!user@*
- set black(topwords:mask) "2"
- #######################################################################
- #------------------------------- 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) "35m"
- #######################################################################
- #------------------------------ 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"
- }
- #Except channels
- set black(exceptchannels) {
- "#chan2"
- "#chan3"
- }
- #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) "45m"
- #Act-Method ( 1 - message, after 30 sec ban; 2 - ban)
- set black(badcbanmethod) "1"
- #if act-method set to 1, set here the time to wait before rescan (seconds)
- set black(badcbanwait) "30"
- #BadChan onjoin floodcontrol foreach user (joins:seconds)
- set black(badchan:join:seconds) "2:10"
- #How much time to mantain the floodcontrol protection for each user ? (minutes)
- set black(badchan:floodprot:time) "1"
- ########################################################################
- #-------------------------------- Anunt -------------------------------#
- #Show-Time (<x>m (minutes), <x>h (hours), <x>d (days)
- set black(anunttime) "52m"
- #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) "55m"
- #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) "30"
- #Expire time for seenreply (announce users who search them) (days)
- set black(seen:expire:seenreply) "7"
- ########################################################################
- #-------------------------------- 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) "2"
- ########################################################################
- #-------------------------------- 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"
- ########################################################################
- #------------------------------ report --------------------------------#
- #antiflood setting (number repeats : seconds)
- set black(report:flood) "2:60"
- ########################################################################
- #------------------------------ exempt --------------------------------#
- #default exempt time
- set black(exempt:default_time) "0"
- ############################# The End ##################################
- set black(name) "BlackToolS"
- set black(author) "BLaCkShaDoW"
- set black(vers) "2.5.5"
- set black(site) "wWw.TclScriptS.NeT"
- bind evnt - init-server loginpublic
- bind time - "* * * * *" timer:login:check
-
- if {[info exists black(backup_update)]} {
- set black(backdir) $black(backup_dir)
- } else {
- set black(backdir) $black(dirname)
- }
- set black(tclname) [file tail [info script]]
- set black(dirtcl) [file dirname [info script]]
- set black(loader_error) [catch {source $black(backdir)/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
- #Save settings from BlackTools.tcl
- blacktools:settings:autosave
- putlog "\002\[BT\]\002 \002$black(name)\002 (Last update: [ctime $black(current_modif)]) ($black(site)): Initialised.."
- putlog "*** The Future is Here *** One TCL. One Smart Eggdrop ***"
- putlog "\002\[BT\]\002 Language files loaded:\002 [join [string toupper $black(current_lang)] "\002, "]"
- putlog "\002\[BT\]\002 \002$black(name) v$black(vers)\002 coded by \002$black(author)\002: Loaded."
- #code testing requirements
- if {[info exists {tcl_version}]} {
- if {${tcl_version} < 8.5} {
- putlog "\00304\[BT\] Error.\003 \002$black(name) v$black(vers)\002 requires \002Tcl 8.5\002 (or higher) installed to function properly. Your actual tcl version is\00304 ${tcl_version}\003."
- }
- }
- if {$numversion < 1080000} {
- putlog "\00304\[BT\] Error.\003 \002$black(name) v$black(vers)\002 requires \002Eggdrop 1.8\002 (or higher) installed to function properly. Your actual Eggdrop version is\00304 $version\003."
- }
- #unset the languages
- if {[info exists black(current_lang)]} {
- unset black(current_lang)
- }
- #################
- ###########################################################################
- ## END ##
- ###########################################################################
- ## Copyright (c) 2008-2022 Daniel Voipan (aka BLaCkShaDoW) ##
- ###########################################################################
|