ircop scanner

By PuNkTuReD on Jan 20, 2009

this will scan a channel for ircops

copy paste to your bots remotes

!ircopscan #channel

on *:text:!ircopscan*:#: { if ($nick isop $chan) { set -u5 %chan2show $chan | set -u5 %chkchan $2 | opercheck %chkchan } }
alias opercheck { 
  if ($nick($1,0) > 1000) { .msg %chan2show IrCop scan halted - too many users } 
  else { .who $1 | set -u5 $+(%,ircopscheck,.,$1) 1 }  
} 
raw 352:*: { 
  if ($($+(%,ircopscheck,.,$2),2)) { 
    if (* isin $7) { set -u5 $+(%,ircops,.,$2) $+($($+(%,ircops,.,$2),2),$chr(44),$6) } 
    .haltdef 
  } 
} 
raw 315:*: { 
  if ($($+(%,ircopscheck,.,$2),2)) { 
    if ($($+(%,ircops,.,$2),2)) { .msg $($+(%,chan2show),2) IrCops on $+($($+(%,chkchan),2),$chr(58)) | .msg $($+(%,chan2show),2) $+($($+(%,ircops,.,$2),2),$chr(46)) } 
    else { .msg $($+(%,chan2show),2) There are no IrCops on $+($($+(%,chkchan),2),$chr(46)) }
    unset $($+(%,ircops,.,$2),1)
    .haltdef 
  } 
}

Comments

Sign in to comment.
PuNkTuReD   -  Aug 26, 2009

yes thats the point O,o
so it does work nicely.

and wtf !auth where the hell did you get that???

 Respond  
jefsthampied   -  May 28, 2009

it not work nicely..even the op has command it !auth

 Respond  
PuNkTuReD   -  Jan 20, 2009

this doesnt scan for normal ops
as scakk said its for network opers

 Respond  
Bluepower10   -  Jan 20, 2009

What I am saying is that it says there is only one op and the name, but there is more but it doesn't say the rest of the names.

 Respond  
Scakk   -  Jan 20, 2009

Certain usermodes or snomasks or channel settings may not allow you to see all the opers on a channel ot network if you yourself are not an oper or in the channel your are checking.

 Respond  
Aucun50   -  Jan 20, 2009

Sure theres not only one?

 Respond  
Bluepower10   -  Jan 20, 2009

It only seems to list one op out of all of them.

 Respond  
Aucun50   -  Jan 20, 2009

Looks good, nice script

 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.