BlackTools.tcl 44 KB

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