IRCop connect/exit windows

By spikey on Oct 16, 2004

Just add this snippit to your remotes. If your an IRCop when a user joins the server it will tell you in a seperate @Connecting window and if a user exits the window it will tell you in a seperate @Exiting window.

on *:snotice:*: {
  if (client connecting isin $1-) {
    window @Connecting
    aline @Connecting 12Client connecting at4 $time $+ 12.
    aline @Connecting 12 $+ $1-
    aline @Connecting 4---
  }
  elseif (client exiting isin $1-) {
    window @Exiting
    aline @Exiting 12Client exiting at4 $time $+ 12.
    aline @Exiting 12 $+ $1-
    aline @Exiting 4---
  }
}

Comments

Sign in to comment.
irchainscriptz   -  May 22, 2012

nice but I prefer this one instead all info in a window.

on *:BAN:# {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? BAN4 : ( $+ $chan $+ )( $+ $nick $+ ) BANNED ( $+ $bnick $+ ): $1-
}

on *:KICK:# {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? KICK4 : ( $+ $chan $+ )( $+ $nick $+ ) KICKED ( $+ $knick $+ ): $1-
} 

on *:NICK: {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? NICK CHANGE4 :( $+ $nick $+ ) CHANGED TO ( $+ $newnick $+ ) ( $+ $time $+ )
}

on *:RAWMODE:# {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? RAWMODE4 : ( $+ $chan $+ )( $+ $nick $+ ) $1-
}

on *:MODE:# {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? MODE4 : ( $+ $chan $+ )( $+ $nick $+ ) $1-
}

on *:QUIT: {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? QUIT4 : ( $+ $nick $+ )( $+ $time $+ )
}

on *:notice:*:*: {
  if ($nick == $me) { return }
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? NOTICE4 :( $+ $nick $+ ): $1-
}

on *:snotice:*: {
  if (!$window(@Network-Logs)) window -n @Network-Logs
  echo -t @Network-Logs 4 $server  5? SERVERNOTICE4 : $1-
}

menu @Network-Logs {
  Clear: clear $active
  Close: close -@ $active
}
 Respond  
ephraim   -  May 21, 2012

Is there a way to have that also whois the person?

 Respond  
Shady   -  Feb 24, 2012

This is great, does what its supposed to ... Could someone please tell me how to stop the original notices so that the only connect/disconnect notices I get are the ones that go into the Connecting/Disconnecting windows?

 Respond  
NaeVa   -  Dec 16, 2004

Very nice script. Just what I needed for my server.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.