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.

Possible to have sentinel set +MR

Support & discussion of released scripts, and announcements of new releases.
G
Gothic-Angel
Op
Posts: 109
Joined: Mon Sep 23, 2002 9:46 pm

Possible to have sentinel set +MR

Post by Gothic-Angel »

Would it be possible for me to add the changes in, to have sentinel set +MR then remove it along with mi?

If its going to be extremly complex then just say "To Complex" lol
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

Ok, time to put closure to this one. Thanks to a controlled find/replace job, we now have DALnet versions of sentinel which simply change +m/+i to +M/+R. This is a stopgap release for DALnet users only, and doesn't reflect the way this functionality is implemented in the next version of sentinel.

I've assigned you Official Tester of one of the below as punishment for making the request. Failure to perform your duty will result in deletion of your forum account.

sentinel.tcl v2.70-DALnet (standalone)
http://www.egghelp.org/files/mytcl/sent ... net.tcl.gz

sentinel.tcl v4.09.0-DALnet (netbots.tcl component)
http://www.egghelp.org/files/mytcl/netb ... net.tcl.gz

Other DALnet users are welcome to download and try them, and provide any bug reports.
E
EEggy
Op
Posts: 122
Joined: Thu Sep 26, 2002 11:46 pm

Post by EEggy »

hi, since this post is open, i thought its better to ask here, since undernet is also allowing to use +r, just registered user will be able to join the channel, so its better than +i, is it hard to change +i to +r??in sentinel? or its gonna effect on the script? or just replace +i to +r?

thanks
regrads
EEggy
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

It is not hard per se for me to do it, but it would be an irritation to add an Undernet version to the mix, creating a total of six different current sentinel releases. For you to do it, it's a little bit more than replacing "+i" with "+r", you need to check all instances the letter "i" and examine their context.

One thing I should add is that these "lighter" modes allowing registered users in create a hole. Registered floodnets are not unknown on DALnet (never underestimate the free time kiddies have), and when sentinel locks the channel it expects to deal with a few residual flooders at most, not a situation where the whole floodnet can still do its worst. So it's the old trade-off between convenience and security -- you trade away a little security (no protection against registered floodnets) and gain some convenience (allowing registered users to join/speak during the lock). This will be noted in the documentation of the next release.
G
Gothic-Angel
Op
Posts: 109
Joined: Mon Sep 23, 2002 9:46 pm

Post by Gothic-Angel »

Ill let you know how it goes, Ill drop it on all the bots I control (13) and let you know if they have any issue's they vary from Windrops to Eggdrops. So Ill keep you up to date.


Btw Thanks a lol
G
Gothic-Angel
Op
Posts: 109
Joined: Mon Sep 23, 2002 9:46 pm

Post by Gothic-Angel »

Well, I tried the lc command it sets +MR uc removes mi and MR stays.

Thats gonna need some tweaking.

As for a flood it sets MR works nicely removes MR nicely.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

I've corrected the problem with the uc commands and updated the files at the links above. You can tell whether you have the newer version by the header (the date will be 10 November instead of 7 November).
G
Gothic-Angel
Op
Posts: 109
Joined: Mon Sep 23, 2002 9:46 pm

Post by Gothic-Angel »

Unlocking works great now, removes +MR. I keep the channel limited with your chan limiting tcl. So my bots can't ever really get massivly flooded. Only 10 at a time.

All is working great.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Maybe the possibility of creating a new setting, that would allow the user to choose the flags being set.

I havn't looked at the code,s o I don't know how hard it is, but there must be a way, to maintain one copy, and have the user maintin responsibility.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

That is the intention with the next version. This is a stopgap release to shut the DALnet users up, with the quickest and most reliable implementation chosen.
S
Speak-ezy

+M doesn't reset if R is locked...

Post by Speak-ezy »

Excellent tool!

I tried the "updated" DAL version. Found when +R is locked by founder +M won't reset. Appears it sees chanserv unlock the +R and stops... selectable flags would be nice... :D
G
Garp
Voice
Posts: 29
Joined: Mon Sep 15, 2003 7:58 pm

Undernet mode r version

Post by Garp »

Thanks to search- and replace: I added two variables.

Code: Select all

# Dalnet uses different modes for locking a channel, undernet has more r (restricted). 
# Here you can change the default settings
set sl_achanmode "m"
# Valid settings: m (default), M for dalnet.
set sl_bchanmode "i"
# Valid settings: i (default), r for restricted access (Undernet), R for dalnet.
This Beta (please do not distribute it) is tested and all changed procs are marked with ### CHANGE

The Beta is here: http://pixelsndots.com/dl/sentinel_r_beta.tcl.gz

Good idea?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

I also, just opened the file, and replaced the settings
on all where I could match "+mi" to "+mR" where I found,
"-mi" to "-mR", and same for if "mi" modes, if there were
any there.

Then I did an individual character replace for "+i" to "+R"
and "-i" to "-R" and that did it.

You have to replace the modes on quite alot of places, but
if you do all 100% sucessfully, the unclocking of +mR, to
-mR would be done by the script.

I think it would be a good idea in the next version of sentinel
not to use predefined modelock variables, and let the users
set the mode variables themselves, which would be easy, as
some networks don't have some network modes, which others
do.

Like some people on DALnet use +c (no colors) it is good for
avalanche/tsunami floods. Some might like +i, or +m, +M,
+R and so on, depending upon their channel.

Some floodbots have registered nicks, so +M is rendered useless
and so is +R, therefore I replaced "+mi" by "+mR" and not by "+MR".
Although only I mode setting would be enough I think, which
is "+m", as it is the most effective, registered nicks even can't
speak in a channel with +m and as flood bots when they join in
they wont be voiced so quickly so +m will work. "+i" is also considered
effective but it would block out users on big channels, so I guess
"+m" is the most effective one.

Sentinel sets mode lock in two variables, thats why we have
to define both, maybe with a little adjustment we can put simply
one as well.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
CoMMy
Halfop
Posts: 99
Joined: Thu Jul 24, 2003 1:03 am
Location: Cyprus

Post by CoMMy »

I beleive slennox should add a variable where you choose the network of your bot and according to that specific modes are made!!

Would be simpler than creating scripts for every network! :wink:
(c) CoMMy (c)
Resistance is Futile!!
We Are The Borg!!
d
dollar
Op
Posts: 178
Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands

Post by dollar »

CoMMy wrote:I beleive slennox should add a variable where you choose the network of your bot and according to that specific modes are made!!

Would be simpler than creating scripts for every network! :wink:
To check which network you have set would require a script too... :P
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
Post Reply