mIRC Home    About    Download    Register    News    Help

Print Thread
#31278 21/06/03 07:40 AM
Joined: Dec 2002
Posts: 51
D
Dingo Offline OP
Babel fish
OP Offline
Babel fish
D
Joined: Dec 2002
Posts: 51
is there any way of detecting when a netsplit rejoins?

I have a limit script, which gets lagged real bad when a large netsplit rejoins, and sets the limit about 20 times.

#31279 21/06/03 08:27 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Only by the number of joins that I know of. And in saying that there's every chance that it's not distinguishable - it depends on the size of the room you are in and how many actually depart when the split occurs.

#31280 21/06/03 12:24 PM
Joined: Dec 2002
Posts: 62
Babel fish
Offline
Babel fish
Joined: Dec 2002
Posts: 62
maybe you can use a timer to set the new limit, say 10 seconds or something so you wouldn't re-set the limit over 20 times.. smile

#31281 21/06/03 01:12 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I nearly forgot: If you are an oper there is usually a server notice to indicate a synch/successful outbound connection so if this applies to you you could do something with that notice.

#31282 22/06/03 06:35 PM
Joined: May 2003
Posts: 161
A
Vogon poet
Offline
Vogon poet
A
Joined: May 2003
Posts: 161
you could do something like
Code:
on *:QUIT:if (. isin $1) set %split. [ $+ [ $nick ] ] 1

and then when someone joins, if the var is set for them, have it just clear the var and not do anything else


Link Copied to Clipboard