Skip to content
TG007 community snippet #80

ircWX Ghost Kicker

Used to kick ghost nicks on ircwx

By err0r Added Dec 21, 2017 Updated Oct 15, 2020
General ircWx All snippets
mIRC script 16 lines
About this snippet

Overview

Used to kick ghost nicks on ircwx
Source code

mIRC script

16 lines · 527 characters
#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
Community

Comments

Want to join the discussion? Sign in to TG007.
dangerFriday, 30 October, 2020
cool
err0rThursday, 15 October, 2020
Updated
dangerThursday, 8 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