BlackTools.tcl 45 KB

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