egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JoinDelay.tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
ORATEGOD
Voice


Joined: 08 Jun 2020
Posts: 6

PostPosted: Mon Jun 08, 2020 5:57 pm    Post subject: JoinDelay.tcl Reply with quote

THIS CODE DOES NOT WORK

Code:
###############   K O M U T L A R  B Ö L Ü M Ü   #############
##                                                          ##
##     Botumuzun sunucu üzerindeki çalıştıran komutlarını   ##
##      kendinize özel yapabilir yada asla değiştirmeden    ##
##             mevcut hali ile kullanabilirsiniz            ##
##                                                          ##
##############################################################
set tor(kanal) "#Sohbet,#Radyo,#Oyun"
set tor(sure) "5"

bind raw * notice tor:connection
proc tor:connection {from keyword arg} {
global tor
if {[string match -nocase "*Client connecting on port*" $arg]} {
set nick [lindex $arg 9]
set port [string range [lindex [split [lindex $arg 8] ":"] 0] 0 end]
set ident [string range [lindex [split [lindex $arg 10] "@"] 0] 1 end]
set ip [string range [lindex [split [lindex $arg 10] "@"] 1] 0 end-1]
if {![regexp {[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}} $ip]} {
set ip [dnslookup $ip dienes]
}
set connect [::http::geturl http://rbls.org/$ip]
set files [::http::data $connect]
if {[string match -nocase "*listed in*other blacklists*" $files]} {
putquick "GLINE *@$ip 12h Tor Koruması v3.0 Coded By CLubber"
::http::cleanup $files
}
if {[string match -nocase "*not listed in any blacklists*" $files]} {
utimer $tor(sure)[list putquick "sajoin $nick $tor(kanal)"]
::http::cleanup $files
}
}
}

proc dienes {ip host status} {
if {!$status} {return}
return $ip
}

putlog "Delay Join TCL v2.0 - Written By CLubber"



* With this TCL, you can easily secure your server by scanning users connecting to your server.

* Delay Join and Proxy Protection are combined. In short, when the user connects to your server, it checks whether there is a tor / proxy from the online website without buying bot channels.

* It removes the user it perceives as Proxy / Tor and attracts the users it finds clean to the channels you designate as tor (channel).

* Send a message to the users he finds clean and at the end of the time you specify, “5 - 10 sec.” pulls into channels.

* Since the user is scanned without getting into the channels, there is no mess / pollution across the channel.
Back to top
View user's profile Send private message AIM Address
simo
Master


Joined: 22 Mar 2015
Posts: 483

PostPosted: Mon Jun 08, 2020 8:24 pm    Post subject: Reply with quote

I would use ircd dnsbl module for this or hopm in combination with autojoin option in the ircd i may be able to help you with this if you are facing difficulties pm me if that's the case
_________________
Coming together is a beginning, staying together is progress, working together is succes.
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 559
Location: France

PostPosted: Tue Jun 09, 2020 12:48 am    Post subject: Reply with quote

This code may work, if your eggdrop is ircop and has the +e (eye) snomask... But as simo said, dnsbl or hopm are dedicated to this job, use them.
_________________
https://www.eggdrop.fr - French speaking IRC network
Back to top
View user's profile Send private message Visit poster's website
ORATEGOD
Voice


Joined: 08 Jun 2020
Posts: 6

PostPosted: Tue Jun 09, 2020 6:47 pm    Post subject: Reply with quote

Greetings ... the eggdrops has ircop level with the following modes

Code:
   snomask "+cFfkejvGnNqsSoJCU";
   flags "OoawkKbBnCGAreDRhgcLZtGNzvWHeq^";
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber