Tsueg Friday, April 24th, 2009 at 7:53:21pm MDT Font: Small - Normal - Large ; =========================================================================== ; Serenity-IRC Netsplit Detector (Written by Tsueg) ; --------------------------------------------------------------------------- ; -- Basic check for netsplits on the Serenity network ; -- Output warning to active channel on 1:quit: { if (!$3) { if ($regex($1, /(serenity-irc.net)$/is) && $regex($2, /(serenity-irc.net)$/is)) { .echo 12 -at Warning! Netsplit: $1 <-- --> $2 .splay -w $chr(34) $+ $scriptdir $+ netsplit.wav $+ $chr(34) .timerNetSplit 1 5 _lSNSConnectInfo } } } ; -- End of on Quit for the Serenity Netsplit Detector ; --------------------------------------------------------------------------- ; -- Display Connection information to re-join the split Alias -l _lSNSConnectInfo { /run http://www.dontneedyourtude.net/~bebe/routingmap.png /echo -s --------------------------------------------------------------- /echo -s LOCAL CONNECT: Connects the wanted server to the Server you are currently Opered on /echo -s LOCAL CONNECT: /connect (wanted) /echo -s --------------------------------------------------------------- /echo -s REMOTE CONNECT: Connects two servers together when you are not on either server /echo -s REMOTE CONNECT /connect (lost) 7827 (wanted) /echo -s --------------------------------------------------------------- /echo -s Servers List: /echo -s MrPotato.NL.EU.Serenity-IRC.Net /echo -s Anvil.NJ.US.Serenity-IRC.Net /echo -s Aurora.CA.US.Serenity-IRC.Net /echo -s Bebop-n-Boogie.IL.US.Serenity-IRC.Net /echo -s Nightshade.CA.US.Serenity-IRC.Net /echo -s --------------------------------------------------------------- /echo -s Existing Server Map: /map } ; -- End of Local Serenity Netsplit Connection Info