BlackTools.tcl 43 KB

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