BlackTools.tcl 44 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823
  1. ###########################################################################
  2. # _ _ _ _ _ _ _ _ _ _ _ _ _ _ #
  3. # / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ #
  4. # ( T | C | L | S | C | R | I | P | T | S | . | N | E | T ) #
  5. # \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ #
  6. # #
  7. # ® BLaCkShaDoW Production ® #
  8. # #
  9. # PRESENTS #
  10. ###########################################################################
  11. # ® #
  12. #### # #### ##### # # ##### ##### ##### # #####
  13. # # # # # # # # # # # # # # #
  14. # # # # # # # # # # # # # # #
  15. #### # ###### # ## # # # # # # #####
  16. # # # # # # # # # # # # # # #
  17. # # # # # # # # # # # # # # #
  18. #### ##### # # ##### # # # ##### ##### ##### #####
  19. # #
  20. # One TCL. One smart Eggdrop. #
  21. # #
  22. # ##### ###### ##### #
  23. # # # # #
  24. # # # # #
  25. # #### ###### ##### #
  26. # # # # #
  27. # # # # #
  28. # ##### # ###### # ##### #
  29. # #
  30. # #
  31. # THE NEXT GENERATION TCL #
  32. # #
  33. # - #TCL-HELP @ UNDERNET - #
  34. # #
  35. # Copyright 2008 - 2021 @ WwW.TCLScripts.NET #
  36. # #
  37. ###########################################################################
  38. # #
  39. # BlackTools: #
  40. # The Ultimate Channel Control Script that contains a lot #
  41. # of commands, modules and protections to make your #
  42. # life easy for you and for your Eggdrop. #
  43. # #
  44. ###########################################################################
  45. # #
  46. # Minimum requirements: #
  47. # o Eggdrop 1.8.x #
  48. # o Tcl >= 8.5 #
  49. # #
  50. ###########################################################################
  51. # #
  52. # NOTE: #
  53. # Read the texts here carefully, I get many many emails asking #
  54. # questions which are actually answered in the manual. #
  55. # Dont expect me to answer these mails :P #
  56. # #
  57. ###########################################################################
  58. # #
  59. # Special thanks to: #
  60. # o Time2Go [ #Tcl-Help Admin ] #
  61. # o Florian [ florian@tclscripts.net ] #
  62. # without whom this script would not have gone so far.#
  63. # ------- ------- #
  64. # Thanks to the many people who have contributed over the years, in a #
  65. # variety of ways. Also to all those users who joined #TCL-HELP to report#
  66. # bugs or to share their ideas, tips and suggestions. #
  67. # #
  68. ###########################################################################
  69. # #
  70. # Official links: #
  71. # Download : http://blacktools.tclscripts.net #
  72. # Bugs report : http://www.tclscripts.net #
  73. # History : http://www.tclscripts.net/release-notes #
  74. # GitHub page : https://github.com/tclscripts/BlackToolS-TCL-script #
  75. # Online help : irc://irc.undernet.org/tcl-help #
  76. # #
  77. # paypal.me/DanielVoipan = Please consider a donation. Thanks! #
  78. # #
  79. ###########################################################################
  80. # #
  81. # You want a customised TCL Script for your eggdrop? #
  82. # Easy-peasy, just tell us what you need! #
  83. # We can create almost anything in TCL based on your ideas and donations. #
  84. # Email blackshadow@tclscripts.net or info@tclscripts.net with your #
  85. # request informations and we'll contact you as soon as possible. #
  86. # #
  87. ###########################################################################
  88. #-------------------------- Scripts directory ----------------------------#
  89. ### ###
  90. set black(dirname) "scripts"
  91. ###########################################################################
  92. #-------------------------- AutoUpdate Module ----------------------------#
  93. ### ###
  94. ###
  95. #How do you want for the update to be made
  96. # 0 - autoupdate on TIME interval and by command
  97. # 1 - update ONLY on command
  98. set black(update_type) "1"
  99. ###
  100. #Do you want the eggdrop to send NOTE to BOSS OWNER if a new update is found?
  101. # (only when autoupdate is turned off)
  102. # 0 - no
  103. # 1 - yes
  104. set black(update_note) "1"
  105. ###
  106. #Time interval check (<x>m (minutes), <x>h (hours), <x>d (days))
  107. set black(update_time_check) "60"
  108. ###########################################################################
  109. #----------------------------- AntiBotIdle -------------------------------#
  110. ### ###
  111. ###
  112. #Enable antibotidle for eggdrop ? [1 - no idle ; 0 ; - idle]
  113. set black(antibotidle_status) "0"
  114. ###########################################################################
  115. #-------------------------------- Dns Host ------------------------------#
  116. ### ###
  117. ###
  118. #Enable DNS-onjoin ? 0 - no ; 1 - yes (please be advised that it will make
  119. #the bot a bit slower on big channels with lot of joins)
  120. set black(dns_onjoin) "0"
  121. #This host excepts will not receive DNS onjoin, onban etc to improve the
  122. #performance of the eggdrop.
  123. set black(dns:host_excepts) {
  124. "*.users.undernet.org"
  125. "undernet.org"
  126. }
  127. ###########################################################################
  128. #------------------------ Home Chan (Optional) ---------------------------#
  129. # Here you set your eggdrop's homechan. If you modify here the eggdrop #
  130. #will join homechan. If not leave it "#no_home_chan" or "" (empty) #
  131. ### ###
  132. set black(homechan) "#bt"
  133. ###########################################################################
  134. #---------------------------- First Char ---------------------------------#
  135. ### ###
  136. #First Char (use "none" for no chars)
  137. set black(cmdchar) "! . ` \^"
  138. ###########################################################################
  139. #-------------------------- Default Language -----------------------------#
  140. ### ###
  141. #Default language of the script ( RO / EN )
  142. set black(default_lang) "EN"
  143. ###########################################################################
  144. #-------------------------- Default host ---------------------------------#
  145. ### ###
  146. #Default hostmask for BOSS OWNER
  147. #1 - *!*@host
  148. #2 - *!user@host
  149. #3 - nick!user@host
  150. #4 - nick!*@*
  151. #5 - *!user@*
  152. set black(hello:mask) "1"
  153. ###########################################################################
  154. #------------------------ Default Output Method --------------------------#
  155. ### ###
  156. #Default output method ( 0 - NOTICE ; 1 - CHAN ; 2 - MSG )
  157. set black(default_output) "0"
  158. ###########################################################################
  159. #------------------------ Default output colors --------------------------#
  160. ### ###
  161. #Colors list : bold, underline, red, blue, green, yellow, orange, cyan
  162. # grey, brown, purple, pink, black
  163. #You can choose 4 colors from the list (\002, \001, \005, \004)
  164. #Suggestion: red blue black red
  165. set black(default_colors) "bold underline none underline"
  166. ###########################################################################
  167. #-------------------------- Default Away ---------------------------------#
  168. ### ###
  169. #Default away (you can change'it online ofcourse.)
  170. set black(default_away) "BlackTools 2.5.5 - The Next Generation TCL - www.TCLScripts.Net"
  171. ###########################################################################
  172. #------------------------- Default BanTime -------------------------------#
  173. #Chan bans removal (<x>m (minutes), <x>h (hours), <x>d (days))
  174. set black(default:bantime) "120m"
  175. ###########################################################################
  176. #------------------------ Channel Remove Data ----=-----------------------#
  177. ### ###
  178. #Remove the BlackTools Data on channel remove ? (bans,excepts,greet..etc)
  179. # 1 - yes
  180. # 0 no
  181. set black(chanremove_all) "1"
  182. ###########################################################################
  183. #------------------------- Anti Command flood-----------------------------#
  184. ### ###
  185. #Antiflood for .h & .man commands (commands:seconds)
  186. set black(antiflood:cmd) "3:5"
  187. ###########################################################################
  188. #------------------------ Anti User Message Flood ------------------------#
  189. ### ###
  190. #Messages in seconds
  191. set black(msg:flood) "10:20"
  192. #Ignore time (minutes) (for those with access)
  193. set black(msg:flood:ignore_access) "1"
  194. #Ignore time (minutes) (for those without access)
  195. set black(msg:flood:ignore_others) "30"
  196. ###########################################################################
  197. #------------------------ Anti Mass Message Flood ------------------------#
  198. ### ###
  199. #Number of users message in seconds
  200. set black(mass:msg:flood) "4:5"
  201. #silence time (seconds)
  202. set black(mass:msg:silence_time) "60"
  203. ###########################################################################
  204. #-------------------------- Anti Notice Flood ----------------------------#
  205. ### ###
  206. #Notices in seconds
  207. set black(notice:flood) "3:5"
  208. #Ignore time (minutes)
  209. set black(notice:flood:notc_time) "10"
  210. ###########################################################################
  211. #-------------------------- Chanserv MASSBAN -----------------------------#
  212. #Time to execute chanserv suspend (must have +400 access)
  213. set black(chanserv:suspend_time) "1d"
  214. #Level to execute chanserv suspend (must have +400 access)
  215. set black(chanserv:suspend_level) "400"
  216. #How many percent from channel users the ban should cover in order for
  217. #eggdrop to identify as being a massban
  218. set black(chanserv:percent_ban) "50%"
  219. ###########################################################################
  220. #--------------------------- Join Flood ----------------------------------#
  221. ### ###
  222. #JoinFlood Protect (commands:seconds)
  223. set black(joinflood:protect) "4:8"
  224. ###########################################################################
  225. #------------------------- Internal MsgFlood -----------------------------#
  226. ### ###
  227. #Setup this variable to '0:0' to deactivate it. BlackTools has protection
  228. #against flooding
  229. set flood-msg "0:0"
  230. ###########################################################################
  231. #---------------------------- Lines flood protect ------------------------#
  232. ### ###
  233. #Number of entries per page when using - list - ( using -next for next entries)
  234. set black(modul:nr:entries) "5"
  235. ###########################################################################
  236. #---------------------------- Internal BanTime ------------------------#
  237. ### ###
  238. #Setup this variable to 0 to deactivate it.
  239. #BlackTools uses his own bantime procedure.
  240. set global-ban-time 0
  241. ###########################################################################
  242. #------------------------------ Full Banlist --------------------------#
  243. ### ###
  244. #Setup here how many bans to remove if FULLBANLIST
  245. set black(fullbanlist_remove) "10"
  246. #Chanmodes to put while clearing bans
  247. set black(fullbanlist_modes) "mi"
  248. #Chanmode hold time (seconds)
  249. set black(fullbanlist_hold_mode) "35"
  250. ###########################################################################
  251. #----------------------------- User Expire -------------------------------#
  252. ### ###
  253. #Expire Time (days)
  254. set black(user_expire_time) "180"
  255. ###########################################################################
  256. #------------------------------ AutoStop ---------------------------------#
  257. ### ###
  258. #How many entries to be shown until the modules stop because of the lack of activity
  259. #(joins,parts,ban,kick,quit,split,text)
  260. set black(entry:shown) "2"
  261. ###########################################################################
  262. #-------------------------- Ban Method Memory Expire ---------------------#
  263. ###
  264. #Set here after what period of time the banmethod memory expires
  265. set black(banmethod_memory_time) "60m"
  266. ###########################################################################
  267. ############################ Chanserv Login ###############################
  268. #-------------------------- Automaticaly Login ---------------------------#
  269. # 1 - yes ; 0 - no
  270. set black(autologin) "0"
  271. #---------------------------- Chanserv Name ------------------------------#
  272. set black(chanserv) "X"
  273. #---------------------------- Chanserv Host ------------------------------#
  274. set black(hostchanserv) "x@channels.undernet.org"
  275. #--------------------------- Chanserv User -------------------------------#
  276. set black(username) "xusername"
  277. #--------------------------- Chanserv Pass -------------------------------#
  278. set black(password) "xpassword"
  279. #----------------------------- Login Mode --------------------------------#
  280. set black(xmod) "+x"
  281. #------------------------ Chanserv Ignore Protect ------------------------#
  282. set black(chanserv:ignore_host) "*!*@undernet.org"
  283. #---------------------------- Chanserv Ban Time --------------------------#
  284. set black(chanserv:bantime) "1"
  285. #--------------------------- Chanserv Ban Level --------------------------#
  286. set black(chanserv:banlevel) "100"
  287. ###########################################################################
  288. ########################### NickServ Identify #############################
  289. #------------------------ Automaticaly identify --------------------------#
  290. # 1 - yes ; 0 - no
  291. set black(nickserv:identify) "0"
  292. #--------------------------- Nickserv Host -------------------------------#
  293. set black(nickserv:host) "NickServ@services.dal.net"
  294. #--------------------------- Nickserv Pass -------------------------------#
  295. set black(nickserv:pass) "NickServPassword"
  296. ###########################################################################
  297. #----------------------------- Webchat Ban -------------------------------#
  298. #If a user has one of these hosts and receives BAN
  299. #the banmask will contain only the IDENT.
  300. set black(webchat_hosts) {
  301. "*.mibbit.com"
  302. "*.kiwiirc.com"
  303. "*.irccloud.com"
  304. "*!*@64.62.228.82"
  305. "*!*@78.129.202.38"
  306. "*!*@87.98.219.117"
  307. "*!*@107.161.19.53"
  308. "*!*@107.161.19.109"
  309. "*!*@109.169.31.4"
  310. "*!*@109.169.29.95"
  311. "*!*@192.184.8.73"
  312. "*!*@192.184.9.110"
  313. "*!*@192.184.10.9"
  314. "*!*@192.184.10.118"
  315. "*!*@195.154.53.5"
  316. "*!*@195.154.52.250"
  317. "*!*@207.192.75.252"
  318. "*!*@212.83.148.225"
  319. "*!*@aaa"
  320. }
  321. ###########################################################################
  322. #----------------------------- add command -------------------------------#
  323. #Default Hostname (%user% stands for the username added)
  324. #If <user> is not on chan.
  325. set black(hostadd) "*!*@%user%.users.undernet.org"
  326. #Hostmask for add <nick>
  327. #if <user> is on chan
  328. #1 - *!*@host
  329. #2 - *!user@host
  330. #3 - nick!user@host
  331. #4 - nick!*@*
  332. #5 - *!user@*
  333. set black(hostdefaultadd) "2"
  334. ##########################################################################
  335. #------------------------------ InviteBan -------------------------------#
  336. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  337. set black(inviteban:bantime) "3h"
  338. #Default banmask
  339. #1 - *!*@host
  340. #2 - *!user@host
  341. #3 - nick!user@host
  342. #4 - nick!*@*
  343. #5 - *!user@*
  344. set black(inviteban:banmask) "2"
  345. ##########################################################################
  346. #------------------------------- Antipub --------------------------------#
  347. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  348. set black(antipub:bantime) "2d"
  349. #Words
  350. set black(antipubword) {
  351. "*#*"
  352. "*www.*"
  353. "*http://*"
  354. "*https://*"
  355. "*.ro"
  356. "*.com"
  357. "*/server*"
  358. }
  359. #Except words
  360. set black(antipubexcept) {
  361. "*tclscripts.net"
  362. "*youtube.com*"
  363. "*youtu.be*"
  364. "http://yoursite.co"
  365. "#name_channel"
  366. }
  367. #Ban-Mode
  368. set black(antipubmode) ""
  369. #Ban-mode Time (Seconds)
  370. set black(antipubsecunde) "45"
  371. #Action-Method
  372. #1 - warn
  373. #2 - kick
  374. #3 - ban
  375. #4 - warn -> kick
  376. #5 - warn -> kick -> ban
  377. #6 - kick -> ban
  378. #7 - warn -> ban
  379. set black(antipub:banmethod) "6"
  380. #Default banmask
  381. #1 - *!*@host
  382. #2 - *!user@host
  383. #3 - nick!user@host
  384. #4 - nick!*@*
  385. #5 - *!user@*
  386. set black(antipub:banmask) "1"
  387. #########################################################################
  388. #------------------------------- Badhost -------------------------------#
  389. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  390. set black(badhost:bantime) "3h"
  391. #Words
  392. set black(badhostword) {
  393. "*pula*"
  394. "*pizda*"
  395. "*muie*"
  396. "*fuck*"
  397. "*blowjob*"
  398. }
  399. #Except words
  400. set black(badhostexcept) {
  401. "populatie"
  402. "except2"
  403. "except3"
  404. }
  405. #Default banmask
  406. #1 - *!*@host
  407. #2 - *!user@host
  408. #3 - nick!user@host
  409. #4 - nick!*@*
  410. #5 - *!user@*
  411. set black(badhost:banmask) "1"
  412. #########################################################################
  413. #----------------------------- Antinotice ------------------------------#
  414. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  415. set black(antinotice:bantime) "2d"
  416. #Ban-Mode
  417. set black(antinoticemode) "mr"
  418. #Ban-mode Time (Seconds)
  419. set black(antinoticesecunde) "45"
  420. #Action-Method
  421. #1 - warn
  422. #2 - kick
  423. #3 - ban
  424. #4 - warn -> kick
  425. #5 - warn -> kick -> ban
  426. #6 - kick -> ban
  427. #7 - warn -> ban
  428. set black(antinotice:banmethod) "3"
  429. #Default banmask
  430. #1 - *!*@host
  431. #2 - *!user@host
  432. #3 - nick!user@host
  433. #4 - nick!*@*
  434. #5 - *!user@*
  435. set black(antinotice:banmask) "1"
  436. #########################################################################
  437. #------------------------------ AntiCTCP -------------------------------#
  438. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  439. set black(antictcp:bantime) "3d"
  440. #Ban-Mode
  441. set black(antictcpmode) "mC"
  442. #Ban-mode Time (Seconds)
  443. set black(antictcpsecunde) "45"
  444. #Action-Method
  445. #1 - warn
  446. #2 - kick
  447. #3 - ban
  448. #4 - warn -> kick
  449. #5 - warn -> kick -> ban
  450. #6 - kick -> ban
  451. #7 - warn -> ban
  452. set black(antictcp:banmethod) "3"
  453. #Default banmask
  454. #1 - *!*@host
  455. #2 - *!user@host
  456. #3 - nick!user@host
  457. #4 - nick!*@*
  458. #5 - *!user@*
  459. set black(antictcp:banmask) "1"
  460. #########################################################################
  461. #----------------------------- AntiBadWord -----------------------------#
  462. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  463. set black(antibadword:bantime) "6h"
  464. #Words (You can add them with a specific method of action)
  465. #Ex : *word*:<number> (see action methods numbers below)
  466. set black(antibadword) {
  467. "*pula*:3"
  468. "*pizda*"
  469. "*muie*"
  470. "*fuck*"
  471. "*blowjob*"
  472. }
  473. #Except words
  474. set black(except_badwords) {
  475. "populatie"
  476. "muiere"
  477. }
  478. #Ban-Mode
  479. set black(badwordmode) ""
  480. #Ban-mode Time (Seconds)
  481. set black(badwordsecunde) "45"
  482. #Action-Method
  483. #1 - warn
  484. #2 - kick
  485. #3 - ban
  486. #4 - warn -> kick
  487. #5 - warn -> kick -> ban
  488. #6 - kick -> ban
  489. #7 - warn -> ban
  490. set black(antibadword:banmethod) "6"
  491. #Default banmask
  492. #1 - *!*@host
  493. #2 - *!user@host
  494. #3 - nick!user@host
  495. #4 - nick!*@*
  496. #5 - *!user@*
  497. set black(antibadword:banmask) "1"
  498. ########################################################################
  499. #--------------------------- AntiLongText -----------------------------#
  500. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  501. set black(antilongtext:bantime) "30m"
  502. #Char length
  503. set black(longchar) "215"
  504. #Ban Mode
  505. set black(longmode) "m"
  506. #Mode Time (Seconds)
  507. set black(longtimemode) "45"
  508. #Action-Method
  509. #1 - warn
  510. #2 - kick
  511. #3 - ban
  512. #4 - warn -> kick
  513. #5 - warn -> kick -> ban
  514. #6 - kick -> ban
  515. #7 - warn -> ban
  516. set black(antilongtext:banmethod) "6"
  517. #Default banmask
  518. #1 - *!*@host
  519. #2 - *!user@host
  520. #3 - nick!user@host
  521. #4 - nick!*@*
  522. #5 - *!user@*
  523. set black(antilongtext:banmask) "1"
  524. #######################################################################
  525. #------------------------- AntiBadQuitPart ---------------------------#
  526. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  527. set black(antibadquitpart:bantime) "1h"
  528. #Words
  529. set black(badquitpartwords) {
  530. "*www.*"
  531. "*http://*"
  532. "*https://*"
  533. "*#*"
  534. }
  535. #Except words
  536. set black(badquitpartexcept) {
  537. "except1"
  538. "except2"
  539. }
  540. #BadQuitPart Message Flood (characters number)
  541. set black(badquitpartmsgchar) "120"
  542. #Ban-Mode
  543. set black(badquitpartmode) "m"
  544. #Ban-mode Time (Seconds)
  545. set black(badquitpartsecunde) "45"
  546. #Default banmask
  547. #1 - *!*@host
  548. #2 - *!user@host
  549. #3 - nick!user@host
  550. #4 - nick!*@*
  551. #5 - *!user@*
  552. set black(antibadquitpart:banmask) "2"
  553. #Except words
  554. set black(badquitpartexcept) {
  555. "http://tclscripts.net"
  556. "www.yoursite.com"
  557. "#name_channel"
  558. }
  559. #######################################################################
  560. #----------------------------- AntiSpam ------------------------------#
  561. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  562. set black(antispam:bantime) "6d"
  563. #Antispam Words
  564. set black(spamword) {
  565. "*#*"
  566. "*www.*"
  567. "*http://*"
  568. "*https://*"
  569. }
  570. #Except words
  571. set black(spamwordexcept) {
  572. "#chan1"
  573. "www.myexcept.ro"
  574. }
  575. #Default banmask
  576. #1 - *!*@host
  577. #2 - *!user@host
  578. #3 - nick!user@host
  579. #4 - nick!*@*
  580. #5 - *!user@*
  581. set black(antispam:banmask) "1"
  582. #Cycle-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  583. set black(spamcycle) "60m"
  584. #######################################################################
  585. #---------------------------- AntiRepeat -----------------------------#
  586. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  587. set black(antirepeat:bantime) "10m"
  588. #Repeat Setting (number repeats:seconds)
  589. set black(antirepeat:repeats) "3:5"
  590. #Action-Method
  591. #1 - warn
  592. #2 - kick
  593. #3 - ban
  594. #4 - warn -> kick
  595. #5 - warn -> kick -> ban
  596. #6 - kick -> ban
  597. #7 - warn -> ban
  598. set black(antirepeat:banmethod) "7"
  599. #Ban-Mode
  600. set black(antirepeatmode) ""
  601. #Ban-mode Time (Seconds)
  602. set black(antirepeatsecunde) "45"
  603. #Default banmask
  604. #1 - *!*@host
  605. #2 - *!user@host
  606. #3 - nick!user@host
  607. #4 - nick!*@*
  608. #5 - *!user@*
  609. set black(antirepeat:banmask) "1"
  610. #######################################################################
  611. #----------------------------- AntiColor -----------------------------#
  612. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  613. set black(anticolor:bantime) "10m"
  614. #Action-Method
  615. #1 - warn
  616. #2 - kick
  617. #3 - ban
  618. #4 - warn -> kick
  619. #5 - warn -> kick -> ban
  620. #6 - kick -> ban
  621. #7 - warn -> ban
  622. set black(anticolor:banmethod) "7"
  623. #Ban-Mode
  624. set black(anticolormode) "c"
  625. #Ban-mode Time (Seconds)
  626. set black(anticolorsecunde) "45"
  627. #Default banmask
  628. #1 - *!*@host
  629. #2 - *!user@host
  630. #3 - nick!user@host
  631. #4 - nick!*@*
  632. #5 - *!user@*
  633. set black(anticolor:banmask) "1"
  634. #######################################################################
  635. #----------------------------- AntiBold ------------------------------#
  636. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  637. set black(antibold:bantime) "10m"
  638. #Action-Method
  639. #1 - warn
  640. #2 - kick
  641. #3 - ban
  642. #4 - warn -> kick
  643. #5 - warn -> kick -> ban
  644. #6 - kick -> ban
  645. #7 - warn -> ban
  646. set black(antibold:banmethod) "7"
  647. #Default banmask
  648. #1 - *!*@host
  649. #2 - *!user@host
  650. #3 - nick!user@host
  651. #4 - nick!*@*
  652. #5 - *!user@*
  653. set black(antibold:banmask) "1"
  654. #######################################################################
  655. #-------------------------- AntiUnderline ----------------------------#
  656. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  657. set black(antiunderline:bantime) "10m"
  658. #Action-Method
  659. #1 - warn
  660. #2 - kick
  661. #3 - ban
  662. #4 - warn -> kick
  663. #5 - warn -> kick -> ban
  664. #6 - kick -> ban
  665. #7 - warn -> ban
  666. set black(antiunderline:banmethod) "7"
  667. #Default banmask
  668. #1 - *!*@host
  669. #2 - *!user@host
  670. #3 - nick!user@host
  671. #4 - nick!*@*
  672. #5 - *!user@*
  673. set black(antiunderline:banmask) "1"
  674. #######################################################################
  675. #----------------------------- AntiCaps ------------------------------#
  676. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  677. set black(anticaps:bantime) "10m"
  678. #Caps Char Length
  679. set black(anticapscount) "50"
  680. #Action-Method
  681. #1 - warn
  682. #2 - kick
  683. #3 - ban
  684. #4 - warn -> kick
  685. #5 - warn -> kick -> ban
  686. #6 - kick -> ban
  687. #7 - warn -> ban
  688. set black(anticaps:banmethod) "7"
  689. #Default banmask
  690. #1 - *!*@host
  691. #2 - *!user@host
  692. #3 - nick!user@host
  693. #4 - nick!*@*
  694. #5 - *!user@*
  695. set black(anticaps:banmask) "1"
  696. #######################################################################
  697. #--------------------------- BadRealname -----------------------------#
  698. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  699. set black(badrealname:bantime) "2h"
  700. #Words
  701. set black(badfwords) {
  702. "*www.*"
  703. "*#*"
  704. "*http://*"
  705. "*https://*"
  706. }
  707. #Except words
  708. set black(badfexcept) {
  709. "except1"
  710. "except2"
  711. }
  712. #Default banmask
  713. #1 - *!*@host
  714. #2 - *!user@host
  715. #3 - nick!user@host
  716. #4 - nick!*@*
  717. #5 - *!user@*
  718. set black(badrealname:banmask) "1"
  719. #######################################################################
  720. #------------------------------ BadNick ------------------------------#
  721. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  722. set black(badnick:bantime) "1h"
  723. #badNicks
  724. set black(badnickwords) {
  725. "*pula*"
  726. "*pizda*"
  727. "*muie*"
  728. "*fuck*"
  729. "*blowjob*"
  730. }
  731. #Except words
  732. set black(badnickexcept) {
  733. "except1"
  734. "except2"
  735. }
  736. #Default banmask
  737. #1 - *!*@host
  738. #2 - *!user@host
  739. #3 - nick!user@host
  740. #4 - nick!*@*
  741. #5 - *!user@*
  742. set black(badnick:banmask) "4"
  743. #Act-Method ( 1 - message, after <X> sec ban; 2 - ban)
  744. set black(badnbanmethod) "1"
  745. #if act-method set to 1, set here the time to wait before rescan (seconds)
  746. set black(badnbanwait) "30"
  747. #######################################################################
  748. #----------------------------- BadIdent ------------------------------#
  749. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  750. set black(badident:bantime) "1h"
  751. #Words
  752. set black(badidentwords) {
  753. "*pula*"
  754. "*pizda*"
  755. "*muie*"
  756. "*fuck*"
  757. "*blowjob*"
  758. }
  759. #Except words
  760. set black(badidentexcept) {
  761. "except1"
  762. "except2"
  763. }
  764. #Default banmask
  765. #1 - *!*@host
  766. #2 - *!user@host
  767. #3 - nick!user@host
  768. #4 - nick!*@*
  769. #5 - *!user@*
  770. set black(badident:banmask) "5"
  771. #######################################################################
  772. #-------------------------- AntiJoinFlood ----------------------------#
  773. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  774. set black(antijoinflood:bantime) "1h"
  775. #Join-Mode
  776. set black(modes) "mr"
  777. #Join-Mode Time (Seconds)
  778. set black(nomodetime) "45"
  779. #Op ALERT (1 - ON ; 0 - OFF)
  780. set black(fjoinhow) "0"
  781. #Number of joins per user in seconds (joins:seconds)
  782. set black(antijoinflood_user_joins) "3:15"
  783. #Default banmask
  784. #1 - *!*@host
  785. #2 - *!user@host
  786. #3 - nick!user@host
  787. #4 - nick!*@*
  788. #5 - *!user@*
  789. set black(antijoinflood:banmask) "1"
  790. #######################################################################
  791. #-------------------------- AntiChanFlood ----------------------------#
  792. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  793. set black(antichanflood:bantime) "10m"
  794. #Number of repeats in seconds (X:Y)
  795. set black(antichanfloodrepeats) "4:5"
  796. #ChanMode
  797. set black(antichanflood:chanmode) "mr"
  798. #ChanMode Time (seconds)
  799. set black(antichanflood:chanmodetime) "45"
  800. #Action-Method
  801. #1 - warn
  802. #2 - kick
  803. #3 - ban
  804. #4 - warn -> kick
  805. #5 - warn -> kick -> ban
  806. #6 - kick -> ban
  807. #7 - warn -> ban
  808. set black(antichanflood:banmethod) "6"
  809. #Default banmask
  810. #1 - *!*@host
  811. #2 - *!user@host
  812. #3 - nick!user@host
  813. #4 - nick!*@*
  814. #5 - *!user@*
  815. set black(antichanflood:banmask) "1"
  816. #######################################################################
  817. #---------------------------- NickFLood ------------------------------#
  818. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  819. set black(nickflood:bantime) "10m"
  820. #Number of repeats in seconds (X:Y)
  821. set black(nickfloodrepeats) "3:120"
  822. #Action-Method
  823. #1 - warn
  824. #2 - kick
  825. #3 - ban
  826. #4 - warn -> kick
  827. #5 - warn -> kick -> ban
  828. #6 - kick -> ban
  829. #7 - warn -> ban
  830. set black(nickflood:banmethod) "7"
  831. #Ban-Mode
  832. set black(nickfloodmode) ""
  833. #Ban-mode Time (Seconds)
  834. set black(nickfloodsecunde) "45"
  835. #Default banmask
  836. #1 - *!*@host
  837. #2 - *!user@host
  838. #3 - nick!user@host
  839. #4 - nick!*@*
  840. #5 - *!user@*
  841. set black(nickflood:banmask) "3"
  842. #######################################################################
  843. #------------------------ Repetitive chars ---------------------------#
  844. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  845. set black(repetitivechars:bantime) "10m"
  846. #Number of repetitive chars in a line
  847. set black(repetitivechars:num) "10"
  848. #Action-Method
  849. #1 - warn
  850. #2 - kick
  851. #3 - ban
  852. #4 - warn -> kick
  853. #5 - warn -> kick -> ban
  854. #6 - kick -> ban
  855. #7 - warn -> ban
  856. set black(repetitivechars:banmethod) "7"
  857. #Default banmask
  858. #1 - *!*@host
  859. #2 - *!user@host
  860. #3 - nick!user@host
  861. #4 - nick!*@*
  862. #5 - *!user@*
  863. set black(repetitivechars:banmask) "2"
  864. #########################################################################
  865. #------------------------------- NoProxy -------------------------------#
  866. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days))
  867. set black(noproxy:bantime) "1h"
  868. #Excepts hosts from checking
  869. set black(noproxy:excepts) {
  870. "*users.undernet.org"
  871. "undernet.org"
  872. }
  873. #Default banmask
  874. #1 - *!*@host
  875. #2 - *!user@host
  876. #3 - nick!user@host
  877. #4 - nick!*@*
  878. #5 - *!user@*
  879. set black(noproxy:banmask) "1"
  880. ############################### Modules ###############################
  881. #------------------------------- Quote -------------------------------#
  882. #Default time for showing "Quote of the Day" (<x>m (minutes), <x>h (hours), <x>d (days))
  883. set black(quote:msgtime) "3h"
  884. #Who can use quote ? (0 - users with access ; 1 - all users)
  885. set black(quote:usage) "0"
  886. #######################################################################
  887. #------------------------------- VoiceMe -----------------------------#
  888. #Default time for voiceme message (<x>m (minutes), <x>h (hours), <x>d (days))
  889. set black(voiceme:msgtime) "25m"
  890. #######################################################################
  891. #------------------------------- TopWords ----------------------------#
  892. #Default host for user storage
  893. #1 - *!*@host
  894. #2 - *!user@host
  895. #3 - nick!user@host
  896. #4 - nick!*@*
  897. #5 - *!user@*
  898. set black(topwords:mask) "2"
  899. #######################################################################
  900. #------------------------------- limit -------------------------------#
  901. #Default limit
  902. set black(limit:default) "10"
  903. #######################################################################
  904. #---------------------------- VoiceOnMsg -----------------------------#
  905. #Number of lines to pe said to receive VOICE
  906. set black(voiceonmsg:linenum) "7"
  907. #Max chan-idle time (<x>m (minutes), <x>h (hours), <x>d (days)
  908. set black(voiceonmsg:idletime) "35m"
  909. #######################################################################
  910. #------------------------------ BadChan ------------------------------#
  911. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  912. set black(badchan:bantime) "6h"
  913. #Default badchannels
  914. set black(badcchannels) {
  915. "#badchan1"
  916. "#badchan2"
  917. "#badchan3"
  918. }
  919. #Except channels
  920. set black(exceptchannels) {
  921. "#chan2"
  922. "#chan3"
  923. }
  924. #Default hostmask
  925. #1 - *!*@host
  926. #2 - *!user@host
  927. #3 - nick!user@host
  928. #4 - nick!*@*
  929. #5 - *!user@*
  930. set black(badchan:banmask) "1"
  931. #Badchan scantime (<x>m (minutes), <x>h (hours), <x>d (days)
  932. set black(badchan:scantime) "45m"
  933. #Act-Method ( 1 - message, after 30 sec ban; 2 - ban)
  934. set black(badcbanmethod) "1"
  935. #if act-method set to 1, set here the time to wait before rescan (seconds)
  936. set black(badcbanwait) "30"
  937. #BadChan onjoin floodcontrol foreach user (joins:seconds)
  938. set black(badchan:join:seconds) "2:10"
  939. #How much time to mantain the floodcontrol protection for each user ? (minutes)
  940. set black(badchan:floodprot:time) "1"
  941. ########################################################################
  942. #-------------------------------- Anunt -------------------------------#
  943. #Show-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  944. set black(anunttime) "52m"
  945. #MSg Type ( 1 - ACTION ; 0 - PRIVMSG )
  946. set black(anunthow) "0"
  947. ########################################################################
  948. #---------------------------- AutoBroadcast ---------------------------#
  949. #Show-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  950. set black(bttime) "55m"
  951. #MSg Type ( 1 - ACTION ; 0 - PRIVMSG )
  952. set black(bthow) "1"
  953. #######################################################################
  954. #----------------------------- CloneScan -----------------------------#
  955. #Scan Time (minutes), <x>h (hours), <x>d (days)
  956. set black(clonescantime) "45m"
  957. #Max Clones
  958. set black(maxclone) "3"
  959. #Default banmask
  960. #1 - *!*@host
  961. #Ban-Time (minutes), <x>h (hours), <x>d (days)
  962. set black(clonescan:bantime) "180m"
  963. #######################################################################
  964. #-------------------------------- Seen -------------------------------#
  965. #Flood-Protection (searches : seconds)
  966. set black(seenflood) "4:5"
  967. #Expire Time (days)
  968. set black(seen:expire:time) "30"
  969. #Expire time for seenreply (announce users who search them) (days)
  970. set black(seen:expire:seenreply) "7"
  971. ########################################################################
  972. #-------------------------------- Greet -------------------------------#
  973. #Default greet method (NOTICE ; PRIVMSG)
  974. set black(greet:method) "NOTICE"
  975. ########################################################################
  976. #-------------------------------- Leave -------------------------------#
  977. #Default greet method (NOTICE ; PRIVMSG)
  978. set black(leave:method) "PRIVMSG"
  979. #Flood-Protection (joins:seconds)
  980. set black(leaveflood) "4:5"
  981. ########################################################################
  982. #------------------------------ AntiIdle ------------------------------#
  983. #Idle Scan Time (minutes), <x>h (hours), <x>d (days)
  984. set black(idleinterval) "45m"
  985. #Op max idle
  986. set black(idleopmax) "60"
  987. #Voice idle Max
  988. set black(idlevoicemax) "30"
  989. #HalfOP idle Max
  990. set black(idlehalfopmax) "30"
  991. ########################################################################
  992. #--------------------------------- Gag --------------------------------#
  993. #Gag-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  994. set black(gag:bantime) "10m"
  995. #Default hostmask for gag <host>/<nick>
  996. #1 - *!*@host
  997. #2 - *!user@host
  998. #3 - nick!user@host
  999. #4 - nick!*@*
  1000. #5 - *!user@*
  1001. set black(gag:banmask) "2"
  1002. ########################################################################
  1003. #------------------------------- Private ------------------------------#
  1004. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1005. set black(private:bantime) "60m"
  1006. #Default banmask
  1007. #1 - *!*@host
  1008. #2 - *!user@host
  1009. #3 - nick!user@host
  1010. #4 - nick!*@*
  1011. #5 - *!user@*
  1012. set black(private:banmask) "1"
  1013. ########################################################################
  1014. #--------------------------------- Next -------------------------------#
  1015. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1016. set black(next:bantime) "1m"
  1017. #Default banmask
  1018. #1 - *!*@host
  1019. #2 - *!user@host
  1020. #3 - nick!user@host
  1021. #4 - nick!*@*
  1022. #5 - *!user@*
  1023. set black(next:banmask) "2"
  1024. ########################################################################
  1025. #-------------------------------- Notes -------------------------------#
  1026. #Expire time for Notes INBOX (days)
  1027. set black(notes:expiretime) "30"
  1028. ############################## Commands ################################
  1029. #------------------------------- Troll --------------------------------#
  1030. #Default hostmask for troll <nick>
  1031. #1 - *!*@host
  1032. #2 - *!user@host
  1033. #3 - nick!user@host
  1034. #4 - nick!*@*
  1035. #5 - *!user@*
  1036. set black(troll:banmask) "1"
  1037. ########################################################################
  1038. #--------------------------------- dr ---------------------------------#
  1039. #Default hostmask for dr <nick>/<host>
  1040. #1 - *!*@host
  1041. #2 - *!user@host
  1042. #3 - nick!user@host
  1043. #4 - nick!*@*
  1044. #5 - *!user@*
  1045. set black(dr:banmask) "1"
  1046. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1047. set black(dr:bantime) "15d"
  1048. ########################################################################
  1049. #--------------------------------- vr ---------------------------------#
  1050. #Default hostmask for vr <nick>/<host>
  1051. #1 - *!*@host
  1052. #2 - *!user@host
  1053. #3 - nick!user@host
  1054. #4 - nick!*@*
  1055. #5 - *!user@*
  1056. set black(vr:banmask) "1"
  1057. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1058. set black(vr:bantime) "3d"
  1059. ########################################################################
  1060. #--------------------------------- bot --------------------------------#
  1061. #Default hostmask for bot <nick>/<host>
  1062. #1 - *!*@host
  1063. #2 - *!user@host
  1064. #3 - nick!user@host
  1065. #4 - nick!*@*
  1066. #5 - *!user@*
  1067. set black(bot:banmask) "1"
  1068. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1069. set black(bot:bantime) "7d"
  1070. ########################################################################
  1071. #--------------------------------- b ----------------------------------#
  1072. #Default hostmask for b <host> -level <time> [reason]
  1073. #1 - *!*@host
  1074. #2 - *!user@host
  1075. #3 - nick!user@host
  1076. #4 - nick!*@*
  1077. #5 - *!user@*
  1078. set black(b:banmask) "1"
  1079. #Default hostmask for b <host> <time> global [reason]
  1080. #1 - *!*@host
  1081. #2 - *!user@host
  1082. #3 - nick!user@host
  1083. #4 - nick!*@*
  1084. #5 - *!user@*
  1085. set black(b:gl:banmask) "1"
  1086. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1087. set black(b:bantime) "2d"
  1088. ########################################################################
  1089. #--------------------------------- n ----------------------------------#
  1090. #Default banmask
  1091. #1 - *!*@host
  1092. #2 - *!user@host
  1093. #3 - nick!user@host
  1094. #4 - nick!*@*
  1095. #5 - *!user@*
  1096. set black(n:banmask) "4"
  1097. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1098. set black(n:bantime) "2h"
  1099. ########################################################################
  1100. #--------------------------------- id ---------------------------------#
  1101. #Default banmask
  1102. #1 - *!*@host
  1103. #2 - *!user@host
  1104. #3 - nick!user@host
  1105. #4 - nick!*@*
  1106. #5 - *!user@*
  1107. set black(id:banmask) "5"
  1108. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1109. set black(id:bantime) "2h"
  1110. ########################################################################
  1111. #-------------------------------- spam --------------------------------#
  1112. #Default hostmask for spam <nick>/<host>
  1113. #1 - *!*@host
  1114. #2 - *!user@host
  1115. #3 - nick!user@host
  1116. #4 - nick!*@*
  1117. #5 - *!user@*
  1118. set black(spam:banmask) "1"
  1119. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1120. set black(spam:bantime) "7d"
  1121. ########################################################################
  1122. #--------------------------------- bw ---------------------------------#
  1123. #Default hostmask for bw <nick>/<host>
  1124. #1 - *!*@host
  1125. #2 - *!user@host
  1126. #3 - nick!user@host
  1127. #4 - nick!*@*
  1128. #5 - *!user@*
  1129. set black(bw:banmask) "1"
  1130. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1131. set black(bw:bantime) "1d"
  1132. ########################################################################
  1133. #--------------------------------- mb ---------------------------------#
  1134. #Default hostmask for bw <nick>/<host>
  1135. #5 - *!user@*
  1136. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1137. set black(mb:bantime) "2d"
  1138. ########################################################################
  1139. #-------------------------------- black -------------------------------#
  1140. #Default hostmask for black <time> <nick>/<host>
  1141. #1 - *!*@host
  1142. #2 - *!user@host
  1143. #3 - nick!user@host
  1144. #4 - nick!*@*
  1145. #5 - *!user@*
  1146. set black(black:banmask) "1"
  1147. ########################################################################
  1148. #------------------------------- stick --------------------------------#
  1149. #Default hostmask for stick <time> <nick>/<host>
  1150. #1 - *!*@host
  1151. #2 - *!user@host
  1152. #3 - nick!user@host
  1153. #4 - nick!*@*
  1154. #5 - *!user@*
  1155. set black(stick:banmask) "1"
  1156. #Ban-Time (<x>m (minutes), <x>h (hours), <x>d (days)
  1157. set black(stick:bantime) "2d"
  1158. ########################################################################
  1159. #------------------------------ banlist -------------------------------#
  1160. ########################################################################
  1161. #--------------------------------- k ----------------------------------#
  1162. ########################################################################
  1163. #--------------------------------- s ----------------------------------#
  1164. #default suspend time (<x>m (minutes), <x>h (hours), <x>d (days))
  1165. set black(s:default_time) "2d"
  1166. ########################################################################
  1167. #------------------------------ ignore --------------------------------#
  1168. #default ignore time (<x>m (minutes), <x>h (hours), <x>d (days))
  1169. set black(ignore:default_time) "6h"
  1170. ########################################################################
  1171. #------------------------------ report --------------------------------#
  1172. #antiflood setting (number repeats : seconds)
  1173. set black(report:flood) "2:60"
  1174. ########################################################################
  1175. #------------------------------ exempt --------------------------------#
  1176. #default exempt time
  1177. set black(exempt:default_time) "0"
  1178. ############################# The End ##################################
  1179. set black(name) "BlackToolS"
  1180. set black(author) "BLaCkShaDoW"
  1181. set black(vers) "2.5.5"
  1182. set black(site) "wWw.TclScriptS.NeT"
  1183. bind evnt - init-server loginpublic
  1184. bind time - "* * * * *" timer:login:check
  1185. if {[info exists black(backup_update)]} {
  1186. set black(backdir) $black(backup_dir)
  1187. } else {
  1188. set black(backdir) $black(dirname)
  1189. }
  1190. set black(tclname) [file tail [info script]]
  1191. set black(dirtcl) [file dirname [info script]]
  1192. set black(loader_error) [catch {source $black(backdir)/BlackTools/BT.Loader.tcl} black(loader_error_stats)]
  1193. if {$black(loader_error) == "1"} {
  1194. die "\[BT\] Error. Couldn't load the \"BT Loader\". Reason: \"$black(loader_error_stats)\""
  1195. }
  1196. #Add the first channel (HOME)
  1197. proc add:home:chan {chan} {
  1198. global black
  1199. channel add $chan
  1200. }
  1201. if {!($black(homechan) == "") && ![string equal -nocase $black(homechan) "#no_home_chan"]} {
  1202. if {![validchan $black(homechan)]} {
  1203. add:home:chan $black(homechan)
  1204. }
  1205. }
  1206. #Start login
  1207. loginpublic:start
  1208. #Save settings from BlackTools.tcl
  1209. blacktools:settings:autosave
  1210. putlog "\002\[BT\]\002 \002$black(name)\002 (Last update: [ctime $black(current_modif)]) ($black(site)): Initialised.."
  1211. putlog "*** The Future is Here *** One TCL. One Smart Eggdrop ***"
  1212. putlog "\002\[BT\]\002 Language files loaded:\002 [join [string toupper $black(current_lang)] "\002, "]"
  1213. putlog "\002\[BT\]\002 \002$black(name) v$black(vers)\002 coded by \002$black(author)\002: Loaded."
  1214. #code testing requirements
  1215. if {[info exists {tcl_version}]} {
  1216. if {${tcl_version} < 8.5} {
  1217. 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."
  1218. }
  1219. }
  1220. if {$numversion < 1080000} {
  1221. 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."
  1222. }
  1223. #unset the languages
  1224. if {[info exists black(current_lang)]} {
  1225. unset black(current_lang)
  1226. }
  1227. #################
  1228. ###########################################################################
  1229. ## END ##
  1230. ###########################################################################
  1231. ## Copyright (c) 2008-2021 Daniel Voipan (aka BLaCkShaDoW) ##
  1232. ###########################################################################