Open your mirc remotes (ALT + R Together) click on file then new,
copy and paste the entire code into your remotes, click on file, then save and exit.
Click on " yes " when you get the warning, and it is done..
To Use,
To Scan Current Window/Room:
Simply type /matchban banmaskhere/Extendedbanmaskhere
EG: /matchban !eggdrop@
EG: /matchban ~q:!@chanops
[23:41:03] >> somenick Matches Ban Mask (!eggdrop@)
To Scan Another Window/Room (must be in it to work):
Simply type /matchban banmaskhere/Extendedbanmaskhere
EG: /matchban #windowname !eggdrop@
EG: /matchban #windowname ~q:!@chanops
[23:42:59] >> somenick Matches Ban Mask (~q:!@chanops) On #ophelp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Automatic Ban Matcher (Uses Raw 352 - Handles Ex Bans) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Suggestions / Bug Reports Welcome Memo Me Desolator ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Support Only Given If Addon Is Returned To Me UNTOUCHED ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; Idea & Codes By Desolator ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
menu channel {
-
$chr(171) $+ $chr(187) Find Users Matching Ban Mask $chr(171) $+ $chr(187):{
matchban $$?="Enter #channel + ban mask for another channel, or just the banmask to scan $active :"
}
}
alias matchban {
if ($chr(35) !isin $1) {
if ($chr(35) isin $active) {
if (!$hget(rawcontrols)) { hmake rawcontrols 20 }
if (!$hget(rawcontrols,$active)) {
//hadd rawcontrols $active active
//hadd rawcontrols $active $+ local active
set %banmaskmatch $1
//who $active
}
}
else { echo -a 6,1 $+ $timestamp >> Error! Ban Matching Can Only Be Used In Channel Windows! | halt }
}
else {
if ($me ison $1) {
if (!$hget(rawcontrols)) { hmake rawcontrols 20 }
if (!$hget(rawcontrols,$1)) {
//hadd rawcontrols $1 active
//hadd rawcontrols $1 $+ global active
set %banmaskmatch $2
//who $1
}
}
else { echo -a 6,1 $+ $timestamp >> Error! Ban Matching Can Only Be Used On Channels Your In | halt }
}
}
raw 352:*:{
if ($hget(rawcontrols,$2) == active) {
haltdef
if ($chr(58) !isin %banmaskmatch) {
if (%banmaskmatch iswm $address($6,5)) {
if ($hget(rawcontrols,$2 $+ local) == active) { echo $2 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) | halt }
if ($hget(rawcontrols,$2 $+ global) == active) { echo -a 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) On $2 | halt }
}
}
else {
if ($gettok($gettok(%banmaskmatch, 1, 58), 1, 126) === r) {
if ($gettok(%banmaskmatch, 2, 58) iswm $9) {
if ($hget(rawcontrols,$2 $+ local) == active) { echo $2 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) | halt }
if ($hget(rawcontrols,$2 $+ global) == active) { echo -a 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) On $2 | halt }
}
}
if ($gettok($gettok(%banmaskmatch, 1, 58), 1, 126) === q) {
if ($gettok(%banmaskmatch, 2, 58) iswm $address($6,5)) {
if ($hget(rawcontrols,$2 $+ local) == active) { echo $2 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) | halt }
if ($hget(rawcontrols,$2 $+ global) == active) { echo -a 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) On $2 | halt }
}
}
if ($gettok($gettok(%banmaskmatch, 1, 58), 1, 126) === n) {
if ($gettok(%banmaskmatch, 2, 58) iswm $address($6,5)) {
if ($hget(rawcontrols,$2 $+ local) == active) { echo $2 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) | halt }
if ($hget(rawcontrols,$2 $+ global) == active) { echo -a 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) On $2 | halt }
}
}
if ($gettok($gettok(%banmaskmatch, 1, 58), 1, 126) === v) {
if ($gettok(%banmaskmatch, 2, 58) iswm $address($6,5)) {
if ($hget(rawcontrols,$2 $+ local) == active) { echo $2 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) | halt }
if ($hget(rawcontrols,$2 $+ global) == active) { echo -a 7,1 $+ $timestamp >> $6 Matches Ban Mask ( $+ %banmaskmatch $+ ) On $2 | halt }
}
}
}
}
}
raw 315:*:{
if ($hget(rawcontrols,$2) == active) {
haltdef
//hdel rawcontrols $2
if ($hget(rawcontrols,$2 $+ local)) { //hdel rawcontrols $2 $+ local }
if ($hget(rawcontrols,$2 $+ global)) { //hdel rawcontrols $2 $+ global }
unset %banmaskmatch
}
unset %banmaskmatch
}
ON *:EXIT:{
if ($hget(rawcontrols)) { hfree -w rawcontrols }
}
ON *:LOAD:{
if (Status !isin $active) {
echo -as 12,1 $+ $timestamp >> To Use Simply Type >> /matchban ban/extendedban << In Channel You Want To Check
echo -as 12,1 $+ $timestamp >> To See Matchs From Another Channel Window Your On Type >> /matchban #channel ban/extendedban <<
echo -as 13,1 $+ $timestamp >> Auto Ban Match Checker Loaded & Ready Coded By Desolator/^White_Magic^ (TOC 12:45 GMT 03/07/2005 V0.1)
halt
}
else {
echo -s 12,1 $+ $timestamp >> To Use Simply Type >> /matchban ban/extendedban << In Channel You Want To Check
echo -s 12,1 $+ $timestamp >> To See Matchs From Another Channel Window Your On Type >> /matchban #channel ban/extendedban <<
echo -s 13,1 $+ $timestamp >> Auto Ban Matcher Checker Loaded & Ready Coded By Desolator/^White_Magic^ (TOC 12:45 GMT 03/07/2005 V0.1)
halt
}
}