BlackTools.tcl 44 KB

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