Teens Script — File Browser

TeensScriptv4.0 / TeensScriptv4.0 / remotes / netsplit.mrc

netsplit.mrc — 1.19 KB — Download this file

on ^!*:QUIT: {
  if (((. isin $1) && (. isin $2) && ($3 == $null))) {
    var %netsplitServer1 = $deltok($1,2-3,46), %netsplitServer2 = $deltok($2,2-3,46)
    if (%netsplit- [ $+ [ $1 $+ @ [ $+ [ $2 ] ] ] ] == $null) {
      inc %netsplitCount
      set -u30 %netsplit- [ $+ [ $1 $+ @ [ $+ [ $2 ] ] ] ] 1
      if (%netsplitWarning) amsg 10,1[14,1N15,1et0,1Sp15,1li14,1t 14,1D15,1et0,1ec15,1te14,1d10,1]11,1¤:4,1[12,1 $+ %netsplitServer1 $+ 4,1]11,1¤:4,1[12,1 $+ %netsplitServer2 $+ 4,1]11,1¤:  8,1[-14,1Teeñ4,1ns 9,1§c®0,1ïþt8,1 v4.0-]
    }
    if (%netsplitQuit) {
      haltdef
      var %indx = 1
      while ($comchan($nick,%indx)) {
        echo $colour(quit) $ifmatch *** $nick has left IRC (NetSplit ( $+ %netsplitServer1 <- %netsplitServer2 ( $+ $iif(%netsplitCount,%netsplitCount,1) $+ ))  8,1[-14,1Teeñ4,1ns 9,1§c®0,1ïþt8,1 v4.0-]
        inc %indx
      }
    }
    if ($query($nick)) {
      echo $colour(quit) $ifmatch *** $nick has left IRC (NetSplit ( $+ %netsplitServer1 <- %netsplitServer2 ( $+ $iif(%netsplitCount,%netsplitCount,1) $+ ))  8,1[-14,1Teeñ4,1ns 9,1§c®0,1ïþt8,1 v4.0-]
      close -m $nick
    }
  }
}