Simple IRCop Scanner

By LIQUID_NiTrO on Feb 21, 2007

A simple and straightforward snippet that will scan for IRCops and echo the nickname and address of any that it finds to the active window. The scanning will be automatically performed when you join a channel and on anyone who subsequently joins a channel you are on, as well as whenever you receive a new private message. It may also be performed with the /scan TARGET command, where TARGET is a nickname or channel.


If I get enough feedback I will make it more configurable and featureful.

Note: Rapidly joining large channels may cause RecvQ floods.

alias Scan {
  if ( $1 iswm #* ) echo $colour(info) -a * Scanning $1 for IRCops...
  who $1
  .enable #wreply
}
on me:*:JOIN:#: {
  who $chan
  set -u2 %in 1
  .enable #wreply
}
on *:JOIN:#: {
  if ( $nick != $me ) who $nick
  set -u2 %in 1
  .enable #wreply
}
on *:OPEN:?: {
  who $nick
  .enable #wreply
}
#wreply off
raw 352:*: {
  if ( * isin $7 ) && ( $comchan($6,0) == $iif(%in,1,0) ) echo $colour(info) -a * $6 $+([,$3,@,$4,]) is an IRCop
  haltdef
}
raw 315:*: {
  .disable #wreply
  haltdef
}
#wreply end

Comments

Sign in to comment.
Joshuaxiong1   -  Nov 10, 2008

Error, /who limit of 100 exceeded. Please narrow your search down and try again

 Respond  
xplo   -  Aug 02, 2008

True, the above post is right. i tried and i got a reply

  • Too many lines in the output, restrict your query

2/10

 Respond  
Joshuaxiong1   -  Aug 02, 2008

It doesn\'t work when there\'s too much users or channels.

 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.