tglogo.png
1 LIKES

Snippet


ircWX Ghost Kicker

In Category General ircWx Posted by err0r On 12/22/17

Used to kick ghost nicks on ircwx
#ghostnick on
on *:JOIN:#: {
  if ($regex($nick($chan,$me).pnick,^('|.|@))) && ($regex($nick,[0-9]+\Z)) { 
    if ($ial($+(*,$address($nick,1),*),2).nick) { 
      inc -eu60 %ghost. [ $+ [ # ] $+ [ . ] $+ [ $address($nick,1) ] ]
      if (%ghost. [ $+ [ # ] $+ [ . ] $+ [ $address($nick,1) ] ] >= 3) {
        access # ADD DENY $address($nick,1) 15 : Ghost Flooding
        kick # $nick Ghosting Flooding - Banned 15 minutes.
      }
      else {
        kick # $nick Ghosting 
      }
    }
  }
}
#ghostnick end


Comments 3

danger - Friday, 30 October, 2020
cool
err0r - Thursday, 15 October, 2020
Updated
danger - Friday, 9 October, 2020
you should use $ial($+(*,$address($nick,1),*),0).nick for nick count and change 0 to number for match instead of looping everyone in room

Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand