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.

Netsplit Tcl

Old posts that have not been replied to for several years.
Locked
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Netsplit Tcl

Post by WeiJie »

Anyone know where can I download a TCL script that set moderated mode to a channel when the server occured netsplit? Thanks~ :mrgreen:
k
kem
Voice
Posts: 6
Joined: Sat May 22, 2004 11:25 am

Re: Netsplit Tcl

Post by kem »

User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Re: Netsplit Tcl

Post by WeiJie »

The website above seems unable to go in... Is there other site? :D :roll: :wink:
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The website above seems unable to go in... Is there other site?
Worked for me OK! :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Alchera wrote:
The website above seems unable to go in... Is there other site?
Worked for me OK! :)
It's worked for me now but I think few days back the website was currently down for me. :P I got this TCL, but doesn't seems to work (set moderated to channel) when netsplit. Anyone still got any suggestions? :roll:
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Anyone have a particular TCL that's allow the bot to say out the current netsplit servers on the main as well as setting timer on the channel +m (moderated) incase of the other users's netsplit detector flooding?

Thanks! :mrgreen:
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Try a new skill ... Click! :-?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Actually, you can make one yourself. Not a big deal though! :roll:

[1] Bind on quit
[2] Check if the quit message contains the netsplit info/message
[3] Set the channel moderated if a user has quitted due to a netsplit

*Exceptions*

[1] Many users might quit due to a netsplit so we wouldn't want to modelock the channel after every user quits due to a netsplit. (This can cause a modelock flood!)
[2] First check if the modelock is not set on the chan by getchanmode, if it is set, then do not set any modelock. If it is not set then go ahead and modelock the channel. :wink:


Binding on quit messages can be easy
For example on DALnet we have:

* Quits awyeah (awyeah@awyeah.org) (Quit: mesra.kl.my.dal.net ninja.hub.us.dal.net)

Se we can say something like binding on quit and
if ([string match "*.dal.net*" [lindex $text 1]]) and same for list index 2.
This string matching procedure can be changed for every network as they might have different netsplit info/quit messages. :mrgreen:

OR

An easier way:

[1] Bind on splt.
[2] Mode lock the channel.
[3] Check for the exceptions as well when modelocking the channel.

In this we wouldn't need to string match the quit message as the bind will be triggered on splt anyway. ;)
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

awyeah wrote:Actually, you can make one yourself. Not a big deal though! :roll:

[1] Bind on quit
[2] Check if the quit message contains the netsplit info/message
[3] Set the channel moderated if a user has quitted due to a netsplit

*Exceptions*

[1] Many users might quit due to a netsplit so we wouldn't want to modelock the channel after every user quits due to a netsplit. (This can cause a modelock flood!)
[2] First check if the modelock is not set on the chan by getchanmode, if it is set, then do not set any modelock. If it is not set then go ahead and modelock the channel. :wink:


Binding on quit messages can be easy
For example on DALnet we have:

* Quits awyeah (awyeah@awyeah.org) (Quit: mesra.kl.my.dal.net ninja.hub.us.dal.net)

Se we can say something like binding on quit and
if ([string match "*.dal.net*" [lindex $text 1]]) and same for list index 2.
This string matching procedure can be changed for every network as they might have different netsplit info/quit messages. :mrgreen:

OR

An easier way:

[1] Bind on splt.
[2] Mode lock the channel.
[3] Check for the exceptions as well when modelocking the channel.

In this we wouldn't need to string match the quit message as the bind will be triggered on splt anyway. ;)
Thats bad idea, because people can easily fake it.Net Split detect scripts for IRCNet are based on info channel (&servers) because there splits can't be faked and they can get time (how long server was splited).
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Thats why in my second opinion.
I chose to use, bind splt, rather than bind quit.

However if still users are manage to fake it, then on IRCnet nothing can be done I guess with the eggdrop, however we try. :mrgreen:

A bot is a bot, however AI it is, it can't detect a fake netsplit quit message if it is identical to the real one, heh. :wink:

The bot has a splt bind, so we might as well utilize it! :P
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

Thanks for all your suggestion... But the problem is that I don't know anything about TCL coding stuffs... Noob here... =P
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
User avatar
WeiJie
Halfop
Posts: 73
Joined: Thu May 20, 2004 9:30 pm
Location: Singapore

Post by WeiJie »

I couldn't find any that suits my type... :P :roll: :(
Alchera wrote:Try a new skill ... Click! :-?
WeiJie
Admin of IntelFusion
Http://dj-online.org
#Sparks@Boatquay @ mIRC Galaxynet
Locked