| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823 |
- ###########################################################################
- # _ _ _ _ _ _ _ _ _ _ _ _ _ _ #
- # / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ #
- # ( 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 ----------------------------#
- ### ###
- ###
- #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) "60"
- ###########################################################################
- #----------------------------- 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) "#bt"
- ###########################################################################
- #---------------------------- 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) "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"
- #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 ###############################
- #------------------------------- 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-2021 Daniel Voipan (aka BLaCkShaDoW) ##
- ###########################################################################
|