Username:
Password:
  Home About Us Articles Rules Script Library FAQ Help
Not logged in (register
AKICK Protection for mIRC v6.14

Last Modified: Dec 28 10:34am (r4)

paste script in topmost script ( else it will spam quite alot when fetching your akick mask )

requirements - you need to be able to access the akick command in chanserv, eg you need sop (a100+)

syntax1 - manualy removal of akick on you in a channel
/akrem <channel>

syntax2 - wait until someone akick-enforce you
alias -l retal return $false
alias akrem {
  if (!%ak.rem) set -u2 %ak.rem $1
  cs akick $1 view
}
on ^*:notice:*:?: {
  if (($nick == chanserv) && (%ak.rem != $null)) {
    var %re1 /^Autokick list for (.*):/si
    var %re2 /^(\d+) (.*) \(by (.*) on (.*);/si
    if ($regex($1-,%re1)) set -u2 %ak.rem $regml(1)
    else if ($regex($1-,%re2)) {
      var %ak.c $regml(1)
      var %ak.mask $regml(2)
      if (%ak.mask iswm $address($me,5)) {
        echo -tmga 12 AKick match found:4 %ak.mask $+ 12, deleting your hostmask from the akick list. . .
        cs akick %ak.rem del %ak.c
        cs unban %ak.rem
        cs invite %ak.rem
      }
      set -u2 %ak.rem %ak.rem
    }
    haltdef
  }
}
on *:kick:#: {
  var %re3 /AKICK by (.*) \(/si
  if (($regex($1-,%re3)) && ($knick == $me)) akrem $chan
}

Comments
godanar
Jun 30 2:38pm
sounds kinda newbish i kno but how do u do that whole scripting thng..i dont get it?
wats ^ with the word in the box for?



dont flame me..im just askin a question
cerberus
Nov 02 5:59am
i think utonet.org strip slashes before showing the script. so the regexes are not working, you need to add backslashes in two regexes in order to get this script working....

*slaps arc with a rubber duck*:P
mbab
Jul 13 9:23am
omg non working script:P
 
All content Copyright © 2004 - 2008 UtoNet IRC Network
UtoNet is sponsored and hosted by Datinix Systems