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 

clearbans nodesynch commands doubts

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Sun Oct 04, 2015 8:07 pm    Post subject: clearbans nodesynch commands doubts Reply with quote

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?

Quote:
.chanset #channel -clearbans


or
Quote:

.chanset #channel +clearbans



I want the bot not fight with services bots (ie CHaN ). What is the proper way to configure a channel?

Quote:
.chanset #channel -nodesynch


or

Quote:
.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 Smile
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sun Oct 04, 2015 11:27 pm    Post subject: Reply with quote

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

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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Mon Oct 05, 2015 2:49 am    Post subject: Reply with quote

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:
Quote:
+nodesynch

And lest clean the banes the command would be :
Quote:
-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:
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:
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:

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:

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:
Quote:
.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:
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 Smile
Back to top
View user's profile Send private message
simo
Owner


Joined: 22 Mar 2015
Posts: 941

PostPosted: Wed Oct 07, 2015 10:55 am    Post subject: Reply with quote

i use this myselve and it seems to work fine

Code:
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
Back to top
View user's profile Send private message
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Fri Oct 09, 2015 9:58 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 792
Location: Tennessee, USA

PostPosted: Sat Oct 10, 2015 12:05 pm    Post subject: Reply with quote

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/changes/2000-October/000042.html
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
juanamores
Master


Joined: 15 Mar 2015
Posts: 317

PostPosted: Sun Oct 11, 2015 5:07 am    Post subject: Reply with quote

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/changes/2000-October/000042.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 Smile
Back to top
View user's profile Send private message
Get_A_Fix
Master


Joined: 07 May 2005
Posts: 206
Location: New Zealand

PostPosted: Sun Oct 11, 2015 7:17 am    Post subject: Reply with quote

I would do the command I mentioned in my first post
Code:
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.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases 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