netsplit detector
Platform: mIRC
Published Jun 11, 2009
Updated Jun 11, 2009
description: netsplit detector.
action: msg all channel that u were on.. announcing the split server.
this simple snippet work based on user`s quit messages. when it see quit message with the network name on 1st and 2nd text of the quit message this snippets will triggered. the user must be on the same channel that you were on so the snippets can "see" the quit message.
i add some colour text on the announcer msg. but it will auto strip into regular text depends on the channel mode.. since there is mode +c ( no colour) on some network.
on *:quit:{
if ($network isin $1) && ($network isin $2) {
var %c $chan(0)
while (%c) {
var %m 14,1 °15 S14erver 15S14plit 15D14etected 15B14etween: $1 15A14nd $2 14°
msg $chan(%c) $iif(c isincs $chan(%c).mode, $strip(%m) , %m )
dec %c
}
}
}