소스 검색

Delete BT.antilongtext.tcl

Florian 8 년 전
부모
커밋
30960a41a8
1개의 변경된 파일0개의 추가작업 그리고 37개의 파일을 삭제
  1. 0 37
      BlackTools2.5.2/Protections/BT.antilongtext.tcl

+ 0 - 37
BlackTools2.5.2/Protections/BT.antilongtext.tcl

@@ -1,37 +0,0 @@
-#########################################################################
-##          BlackTools - The Ultimate Channel Control Script           ##
-##                    One TCL. One smart Eggdrop                       ##
-#########################################################################
-########################   ANTILONGTEXT TCL   ###########################
-#########################################################################
-##						                          					   ##
-##   BlackTools  : http://blacktools.tclscripts.net	                   ##
-##   Bugs report : http://www.tclscripts.net/	                       ##
-##   GitHub page : https://github.com/tclscripts/BlackToolS-TCL-script ##
-##   Online Help : irc://irc.undernet.org/tcl-help 	                   ##
-##                 #TCL-HELP / UnderNet                                ##
-##                 You can ask in english or romanian                  ##
-##					                              					   ##
-#########################################################################
-
-proc antilongtext:protect {nick host hand chan arg} {
-global black botnick
-if {![validchan $chan]} { return }
-	set handle [nick2hand $nick]
-if {[matchattr $handle $black(exceptflags) $chan]} { return }
-if {![botisop $chan] && ![setting:get $chan xonly]} { return }
-	set bl_protect [blacktools:protect $nick $chan]
-if {$bl_protect == "1"} { return }
-if {[isbotnick $nick]} { return } 
-	set getlongchar [setting:get $chan antilongtextmax]
-if {$getlongchar == ""} { set getlongchar "$black(longchar)" }
-if {[string length $arg] >= $getlongchar} {
-	blacktools:banner:1  $nick "ANTILONGTEXT" $chan $host [get:banmethod "antilongtext" $chan] [link:chan:get $chan]
-	return 1	
-	}
-}
-
-##############
-#########################################################################
-##   END                                                               ##
-#########################################################################