View previous topic :: View next topic |
Author |
Message |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Mon Jul 12, 2021 8:44 am Post subject: |
|
|
You took my script before I edit a small bug.
Find:
Code: | if {[llength $::mhrp(nicks)] >= $target} { |
Replace with:
Code: | if {[llength $::mhrp(nicks)] >= $max} { |
_________________ 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 |
|
 |
Gulio Halfop
Joined: 01 Nov 2020 Posts: 73
|
Posted: Mon Jul 12, 2021 8:44 am Post subject: hi |
|
|
i change this
Code: |
if {[llength $::mhrp(nicks)] >= $target} {
|
in
Code: |
if {[llength $::mhrp(nicks)] >= $max} {
|
and is work great now is send msg !gline on after matxch 10 nick connection
the result is what i expected right
Code: |
[15:42:31] * ChanServ sets mode: +qo X X
[15:42:39] <@InfoServ> USERS: Bevvy!bevvy@192.111.139.165 (32F07FFA.6BCFB625.C64C234B.IP) (Bevvy) connected to the network
[15:42:39] <@InfoServ> USERS: Veriee!veriee@72.221.164.34 (715394D6.28271C50.C0D4321D.IP) (Veriee) connected to the network
[15:42:39] <@InfoServ> USERS: Diahann!diahann@70.166.167.36 (69A377EE.4D4B93C6.9A1EF8E8.IP) (Diahann) connected to the network
[15:42:40] <@InfoServ> USERS: Lorraine!lorraine@174.75.211.222 (13CFE653.EE5CFFC7.B83C2445.IP) (Lorraine) connected to the network
[15:42:40] <@InfoServ> USERS: Dulsea!dulsea@184.181.217.204 (3CB0D412.B908AD8E.61D77C1C.IP) (Dulsea) connected to the network
[15:42:40] <@InfoServ> USERS: Libbie!libbie@98.188.47.150 (BE059E5C.6EC7BCE1.4EDF4AE9.IP) (Libbie) connected to the network
[15:42:40] <@InfoServ> USERS: Sheeree!sheeree@ninox.hoo.st (Test-CB0AC1FF.hoo.st) (Sheeree) [142.44.136.197] connected to the network
[15:42:40] <@InfoServ> USERS: Marsha!marsha@72.221.196.145 (5A95481C.1159A157.C0D4321D.IP) (Marsha) connected to the network
[15:42:41] <@InfoServ> USERS: Dee!dee@192.111.137.35 (E020523E.ACDA578F.C64C234B.IP) (Dee) connected to the network
[15:42:41] <@InfoServ> USERS: Marinna!marinna@ip72-212-63-101.ph.ph.cox.net (Test-DCB94153.ph.ph.cox.net) (Marinna) [72.212.63.101] connected to the network
[15:42:41] <~X> !gline on
|
CrazyCat thnx a lot for ur help and ur time i apreciate it |
|
Back to top |
|
 |
Gulio Halfop
Joined: 01 Nov 2020 Posts: 73
|
Posted: Mon Jul 12, 2021 8:50 am Post subject: hi |
|
|
CrazyCat 1 question i have
Is possible to add exemp user who are connected from webirc or *.irccloud.com and *.mibbit.com and secure connection to not send msg in channel if i have netsplit or service down ?
as protected user on connect
Code: |
if match nicks from "isweb" || "secure" || "*.irccloud.com" || "*.mibbit.com" |
i send this request on Request threat
CrazyCat thx a lot for ur time and ur patience to help me |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Mon Jul 12, 2021 9:58 am Post subject: |
|
|
It's possible to add exclusions if the info is in the connection string (as in hostmask) with a list of hosts and a simple check.
It's also possible to disable the process if services are down, but:
- it will slow the process or make it random: you'll have to check if the services are up when the bot connects, and check (dis)connections of servers to know if your services are alway up
- disabling a security when services are down is weird: it means that loosing a security (services) will make you loose all your securities ? imho, you'd better enforce the security given with your eggdrop when services are down.
Last point: can't you ask the complete features when starting a thread ? It's simplest to develop a complete script than create a small part and add functionnalities.
Actually, the script I gave answers to your initial ask, so the job is done. _________________ 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 |
|
 |
Gulio Halfop
Joined: 01 Nov 2020 Posts: 73
|
Posted: Mon Jul 12, 2021 10:02 am Post subject: Hello |
|
|
Yes thx a lot for ur time and patience to help i make new request for this add exemp on Request threats |
|
Back to top |
|
 |
|