BlackTools.tcl 44 KB

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