BlackTools.tcl 44 KB

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