| View previous topic :: View next topic |
| Author |
Message |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 32
|
Posted: Mon Jun 08, 2020 5:57 pm Post subject: JoinDelay.tcl |
|
|
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 |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Mon Jun 08, 2020 8:24 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
Posted: Tue Jun 09, 2020 12:48 am Post subject: |
|
|
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 IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
| Back to top |
|
 |
ORATEGOD Voice
Joined: 08 Jun 2020 Posts: 32
|
Posted: Tue Jun 09, 2020 6:47 pm Post subject: |
|
|
Greetings ... the eggdrops has ircop level with the following modes
| Code: | snomask "+cFfkejvGnNqsSoJCU";
flags "OoawkKbBnCGAreDRhgcLZtGNzvWHeq^"; |
|
|
| Back to top |
|
 |
|