mIRC Home    About    Download    Register    News    Help

Print Thread
IRC Protocol - NetSplits #171725 28/02/07 04:44 AM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
I want to detect netsplits for a mass join script. I have some doubts about netsplits.

When a netsplit happens, users quit with a message depending the Network. The message is setted by the server admin?

Another doubt: Suppose that the netsplits affects only 12 users in the channel (includes you), you will see the 12 quit messages? Or maybe the netsplits affects you before you can see all the messages?

I hope you can understand the questions... My english is very poor smile... Thanks


irc.universochat.net
#escripting
Re: IRC Protocol - NetSplits [Re: Canario] #171737 28/02/07 10:10 AM
Joined: Jan 2003
Posts: 1,063
D
Doqnach Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
the way a netsplit is display depends on the network indeed and it's a setting in the IRCd itself.
with scripts like this you need to check the quit message on data. problem here is you have to detect all forms of the message for all those different networks. some state (server1 server2), some state (*.net *.split) to hide the servers. it's good practice to ignore any quit message that has something like this that start with (Quit: server1 server2) because those are often user spoofed netsplit messages to confuse these kind of scripts...


If it ain't broken, don't fix it!
Re: IRC Protocol - NetSplits [Re: Doqnach] #171756 28/02/07 03:58 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Thank you. Filter Quit: and User Quit: is a good idea.


irc.universochat.net
#escripting