| View previous topic :: View next topic |
| Author |
Message |
Arnold_X-P Master

Joined: 30 Oct 2006 Posts: 221 Location: DALnet - Trinidad - Beni - Bolivia
|
Posted: Sat Mar 02, 2019 5:28 pm Post subject: help in anti proxy |
|
|
please someone to help me move this remote to tcl
It is an excellent anti proxy
| Code: |
on !@*:JOIN:#:{
;checks for anything ending in 4 numbers, typically a proxy using clonesx
;you don't need to check the start, a nick is invalid with a numer at the start
if ($regex($nick,\d{4}$)) {
mode $chan +b $nick
}
} |
thanks _________________
thanks to that they help, that others learn  |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Sat Mar 02, 2019 6:59 pm Post subject: |
|
|
| depending on ircd version / type u could use filter to detect exessive use of digits in nick and anti random module wich is available for unrealircd and inspircd |
|
| Back to top |
|
 |
simo Owner
Joined: 22 Mar 2015 Posts: 941
|
Posted: Sun Mar 03, 2019 12:18 pm Post subject: |
|
|
u could try this
| Code: |
bind join - * join:clonex
proc join:clonex {nick uhost hand chan} {
if {[botisop $chan] && [string length [regsub -all {[^0-9]} $nick ""]] > 3} {
pushmode $chan +b [maskhost *!*$uhost 2]
}
}
|
|
|
| Back to top |
|
 |
|