This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

clearbans nodesynch commands doubts

Support & discussion of released scripts, and announcements of new releases.
Post Reply
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

clearbans nodesynch commands doubts

Post by juanamores »

I wish the bot NOT clean the banes when joining or when another @ put a ban. What is the proper way to configure a channel?
.chanset #channel -clearbans
or
.chanset #channel +clearbans

I want the bot not fight with services bots (ie CHaN ). What is the proper way to configure a channel?
.chanset #channel -nodesynch
or
.chanset #channel +nodesynch
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

When you first compile and make eggdrop, you enter the eggdrop directory and build your bot.
You do this by typing

Code: Select all

cp eggdrop.conf mynewbot.conf
This will copy the eggdrop.conf file into any name you wish, allowing for multiple bot instances to be run from the same directory. It also makes sure that you are using the proper *.conf file that's released with your version.
The answer to both your questions should be listed under your Channel Settings, explaining exactly what clearbans and nodesynch are and how to enable/disable.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Post by juanamores »

Many months working with 2 bots from the same directory without problems. The only problem I have is when there is split on the network, there both bots lose some of its configuration, precisely referring to cleaning banes of other operators and fight with Chan to give s , that 's what I want to avoid.
I estimate that no more fight with bots services the command would be:
+nodesynch
And lest clean the banes the command would be :
-clearbans
But I want to confirm.

Another question I have is referred to any of the bots saved me forever and +nodesynch -clearbans commands.

I think the set file chanfile "Bot.chan" for one of the bots and "Bot2.chan" for the other bot.

BOT 1 eggdrop.conf

Code: Select all

set mod-path "/home/juanamores/eggdrop/modules/"
set help-path "/home/juanamores/eggdrop/help/"
set text-path "/home/juanamores/eggdrop/text/"
set text-path "/home/juanamores/eggdrop/tmp/"
set motd "text /home/juanamores/eggdrop/motd/"
####set ctcp-version "Version 1.0"
set ctcp-mode 0
# Configuraciones fisicas del eggdrop
set username "xxxx"
set nick "xx!xx"
set altnick "xxxxx"
set botnet-nick "Bot1"
set realname "xxxxx"
set admin "xxxx <email: Tu@email>"
set must-be-owner 0
set owner "xxxx"
set keep-nick 1

 
# Archivos de registro
set userfile "Bot.ur"
set pidfile "pid.Bot"
set chanfile "Bot.chan"
 
# Telnet puerto
listen 3333 bots
listen 4444 users

 
# Network y servidores
set network "xxxxx"
set net-type 2
set default-port 6667
set servers {
        irc.xxxx.org:6667:xxxx
        irc.xxxx2.org:6667:xxxx
}
 
 
# Configuraciones del sistema
set console "mkcobxs"
set global-flood-chan 0:0
set global-flood-deop 0:0
set global-flood-kick 0:0
set global-flood-join 0:0
set global-flood-ctcp 0:0
set global-flood-nick 0:0
set global-aop-delay 0:0
set global-idle-kick 0
set global-stopnethack-mode 0
set global-ban-time 0
#flood por pvs
set flood-msg 0:0
set default-flags "f" 
set notify-newusers "$owner"



set use-invites 1 
set dcc-flood-thr 5
set telnet-flood 3:60
set paranoid-telnet-flood 1
set open-telnets 0
set connect-timeout 8
set ident-timeout 5
set protect-telnet 0
set dcc-sanitycheck 0


#Modulos:
#loadmodule dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish
checkmodule blowfish


set global-chanset {
-autoop -autovoice
-bitch +cycle
-dontkickops -dynamicbans
-dynamicexempts +dynamicinvites
-enforcebans -greet
-inactive +nodesynch
-protectfriends -protectops
-revenge -revengebot
-secret -seen
-shared -statuslog
+userbans -userexempts
+userinvites -protecthalfops
+nodesynch -clearbans
-static 
}
 
 
 
 # Agrega los Tcl Scripts
source /home/juanamores/eggdrop/scripts/sss.tcl
source /home/juanamores/eggdrop/scripts/sss1.fix.tcl
source /home/juanamores/eggdrop/scripts/sss2.tcl
source /home/juanamores/eggdrop/scripts/sss3.tcl
source /home/juanamores/eggdrop/scripts/sss4.tcl  
source /home/juanamores/eggdrop/scripts/sss5.tcl
BOT 2 eggdrop2.conf

Code: Select all

set mod-path "/home/juanamores/eggdrop/modules/"
set help-path "/home/juanamores/eggdrop/help/"
set text-path "/home/juanamores/eggdrop/text/"
set text-path "/home/juanamores/eggdrop/tmp/"
set motd "text /home/juanamores/eggdrop/motd/"
####set ctcp-version "Version 1.0"
set ctcp-mode 0
# Configuraciones fisicas del eggdrop
set username "xxxx"
set nick "xx!xx"
set altnick "xxxxx"
set botnet-nick "Bot2"
set realname "xxxxx"
set admin "xxxx <email: Tu@email>"
set must-be-owner 0
set owner "xxxx"
set keep-nick 1

 
# Archivos de registro
set userfile "Bot2.ur"
set pidfile "pid2.Bot"
set chanfile "Bot2.chan"
 
# Telnet puerto
listen 3333 bots
listen 4444 users

 
# Network y servidores
set network "xxxxx"
set net-type 2
set default-port 6667
set servers {
        irc.xxxx.org:6667:xxxx
        irc.xxxx2.org:6667:xxxx
}
 
 
# Configuraciones del sistema
set console "mkcobxs"
set global-flood-chan 0:0
set global-flood-deop 0:0
set global-flood-kick 0:0
set global-flood-join 0:0
set global-flood-ctcp 0:0
set global-flood-nick 0:0
set global-aop-delay 0:0
set global-idle-kick 0
set global-stopnethack-mode 0
set global-ban-time 0
#flood por pvs
set flood-msg 0:0
set default-flags "f" 
set notify-newusers "$owner"



set use-invites 1 
set dcc-flood-thr 5
set telnet-flood 3:60
set paranoid-telnet-flood 1
set open-telnets 0
set connect-timeout 8
set ident-timeout 5
set protect-telnet 0
set dcc-sanitycheck 0


#Modulos:
#loadmodule dns
loadmodule channels
loadmodule server
loadmodule ctcp
loadmodule irc
loadmodule notes
loadmodule console
loadmodule blowfish
checkmodule blowfish


set global-chanset {
-autoop -autovoice
-bitch +cycle
-dontkickops -dynamicbans
-dynamicexempts +dynamicinvites
-enforcebans -greet
-inactive +nodesynch
-protectfriends -protectops
-revenge -revengebot
-secret -seen
-shared -statuslog
+userbans -userexempts
+userinvites -protecthalfops
+nodesynch -clearbans
-static 
}
 
 
 
 # Agrega los Tcl Scripts
source /home/juanamores/eggdrop/scripts/sss.tcl
source /home/juanamores/eggdrop/scripts/sss1.fix.tcl
source /home/juanamores/eggdrop/scripts/sss2.tcl
source /home/juanamores/eggdrop/scripts/sss3.tcl
source /home/juanamores/eggdrop/scripts/sss4.tcl  
source /home/juanamores/eggdrop/scripts/sss5.tcl

Bot.chan BOT 1
#Dynamic Channel File for BOT1 (eggdrop v1.6.21) -- written Mon Oct 5 03:00:00 2015

Code: Select all

channel add #channel1 { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans -dynamicbans +userbans -autoop -autohalfop -bitch -greet -protectops -protecthalfops -protectfriends -dontkickops -statuslog -revenge -revengebot -autovoice -secret -shared -cycle -seen -inactive -dynamicexempts -userexempts +dynamicinvites +userinvites -nodesynch -static }

channel add #channel2 { chanmode +mCRMNtn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }

channel add #channel3{ chanmode +smCRMrNtn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
Bot.chan BOT 2
#Dynamic Channel File for BOT2 (eggdrop v1.6.21) -- written Mon Oct 5 03:00:00 2015

Code: Select all

channel add #channel1 { chanmode +tn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans -dynamicbans +userbans -autoop -autohalfop -bitch -greet -protectops -protecthalfops -protectfriends -dontkickops -statuslog -revenge -revengebot -autovoice -secret -shared -cycle -seen -inactive -dynamicexempts -userexempts +dynamicinvites +userinvites -nodesynch -static }

channel add #channel2 { chanmode +mCRMNtn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }

channel add #channel3{ chanmode +smCRMrNtn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op {} need-invite {} need-key {} need-unban {} need-limit {} flood-chan 0:0 flood-ctcp 0:0 flood-join 0:0 flood-kick 0:0 flood-deop 0:0 flood-nick 0:0 aop-delay 0:0 ban-type 3 ban-time 0 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -static }
As you can see do not set the +nodesynch and puts -nodesynch it in relation to clearbans even he recorded nor + nor - .

I've used. .+chan to add channels then .save .chansave or to save the file, but not those commands are recorded properly.

While there is no split everything works correctly, since I have taken the caution to use:
.chanset #channel +nodesynch
.chanset #channel -clearbans
But when the split is in the network, misconfigured bots .

In set global-chanset { channels they are set globally, but does not take this configuration when I add (see above).

It is necessary to create them one by one with the command??:

Code: Select all

channel add #channel {
+nodesynch
-clearbans
}
I await your kind response.
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
Online
s
simo
Revered One
Posts: 1071
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

i use this myselve and it seems to work fine

Code: Select all

set global-flood-chan 0:0
set global-flood-deop 0:0
set global-flood-kick 0:0
set global-flood-join 0:0
set global-flood-ctcp 0:0
set global-flood-nick 0:0
set global-aop-delay 0:0
set global-idle-kick 0
set global-chanmode "nt"
set global-stopnethack-mode 0
set global-revenge-mode 0
set global-ban-time 0
set global-exempt-time 0
set global-invite-time 0
 
    set global-chanset {
        -autoop           -autovoice
        -bitch            -cycle
        +dontkickops      -dynamicbans
        -dynamicexempts   -dynamicinvites
        -enforcebans      -greet
        -inactive         +nodesynch
        -protectfriends   -protectops
        -revenge          -revengebot
        -secret           +seen
        +shared           -statuslog
        +userbans         +userexempts
        +userinvites      -protecthalfops
        -autohalfop
    }

 
channel add #channel {
    chanmode "+tn"
        idle-kick 0
       ban-time 0  
      invite-time 0 
      exempt-time 0 
     revenge-mode 0
       flood-chan :0
        flood-join 0:0
        flood-ctcp 0:0
        flood-deop 0:0
        flood-kick 0:0
    }
    channel set #channel +nodesynch -autoop -autovoice -bitch -cycle -dontkickops -dynamicbans -dynamicexempts -dynamicinvites -enforcebans -greet -inactive -protectfriends -protectops -revenge -revengebot -secret +seen -shared -statuslog +userbans +userexempts +userinvites
 
Last edited by simo on Sun Jan 30, 2022 11:24 pm, edited 1 time in total.
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Post by juanamores »

simo wrote:i use this myselve and it seems to work fine
simo I'll do that, but I can't see anything in your configuration referring to CLEARBANS command.
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

juanamores wrote:simo I'll do that, but I can't see anything in your configuration referring to CLEARBANS command.
That would be because CLEARBANS has not been a valid channel set option for a very long time:) http://lists.eggheads.org/pipermail/cha ... 00042.html
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
j
juanamores
Master
Posts: 317
Joined: Sun Mar 15, 2015 9:59 am

Post by juanamores »

SpiKe^^ wrote:
juanamores wrote:simo I'll do that, but I can't see anything in your configuration referring to CLEARBANS command.
That would be because CLEARBANS has not been a valid channel set option for a very long time:) http://lists.eggheads.org/pipermail/cha ... 00042.html
How I prevent the bot remove any bans set by other users?
If you do not understand my ideas is because I can not think in English, I help me with Google Translate. I only speak Spanish. Bear with me. Thanks :)
User avatar
Get_A_Fix
Master
Posts: 206
Joined: Sat May 07, 2005 6:11 pm
Location: New Zealand

Post by Get_A_Fix »

I would do the command I mentioned in my first post

Code: Select all

cp eggdrop.conf abot.conf
This will make sure your config file matches your bots built-in capabilities.
Using short.conf or generated config file's is not a wise idea, using and editing the complete file shows and explains all the commands, and anything else you would need is included in tcl-commands.doc.
We explore.. and you call us criminals. We seek after knowledge.. and you call us criminals. We exist without skin color, without nationality, without religious bias.. and you call us criminals.
Post Reply